Functional try-catch
try call app
try call app
Get callsites from the V8 stack trace API
`Start a promise chain
Try to guess if your terminal supports unicode
Tries to execute a function and discards any error that occurs
Detect Node.JS (as opposite to browser environment). ESM modification
Conditional load modules.
Helper functions around Function call/apply/bind, for use in `call-bind`
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
PostCSS plugin that enables SASS-like for loop syntax in your CSS
Robustly `.call.bind()` a function
Generate massive amounts of fake contextual data
Super-fast alternative to Babel for when you can target modern JS runtimes
Compile trailing function commas to ES5
A browser based code editor
Detect Node.JS (as opposite to browser environment) (reliable)
Helper function to optimise call expression
A browserify transform that allows optional dependencies in try..catch blocks
Module to wrap try-catch for better performance and cleaner API.
A utility that allows retrying a function with an exponential delay between attempts.
A 373-byte Spec-Compliant Runtime-Only Implementation of the ECMAScript Try Operator Proposal Result class
chdir in chainer fashion + read file
Count the number and location of calls to Object#try
using try that takes an array of chainable try calls
The try-until library supports repeatedly calling code that may fail or respond with values other than expected. Matchers, realized as lambdas, can be used to specify expected result.
Gem, which helps realize grep through organized Interactors. For example, if sent interactor as ARG contains calling of other interactors, it will try to find entries in them. More in specs
This is a test gem to try publishing gems. Inorder to use this gem, first create an instance of Hiya. Then call the method hiya() on the newly created instance. For Example h = Hiya.new h.hiya => will display 'Hiya All!'
rspec-with-args attempts to cut out having to explicitly write the subject of your example group when trying to call methods or add arguments to methods. It works by reading the conventional description syntax to determine what the subject is. Then allowing you to explicitly state what variables will be passed in as arguments. Currently it supports initialization, class methods, and instance methods.
This is a hacked-together version of the gem 'bootstrap-sass', with the generators from 'twitter-bootstrap-rails', has also replaced the Glyphicons icons with [Font Awesome](http://fortawesome.github.com/Font-Awesome/), since svg icons are resizable and colorable and such. There are also some custom scss helpers in a folder called 'custom_partials', which are just a byproduct of trying not to hate css. The nature of those scss helpers are very similar in look and feel to the bourbon gem by thoughtbot, which seems more complete than my own (to be honest) but when I had started accumulating helpers, I was not aware of the gem. Feel free to muck around with this as you please.
*Webby* is a fantastic little website management system. It would be called a *content management system* if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will. Webby works by combining the contents of a *page* with a *layout* to produce HTML. The layout contains everything common to all the pages - HTML headers, navigation menu, footer, etc. - and the page contains just the information for that page. You can use your favorite markup language to write your pages; Webby supports quite a few. Install Webby and try it out!
advanced_subject attempts to cut out having to explicitly write the subject of your example group when trying to call methods or add arguments to methods. It works by reading the conventional description syntax to determine what the method you are calling is and later you state what you are passing to it. Given you have a file advanced_subject_spec.rb. ```ruby describe Hash do when_initialized_with [:a, :b] do it { should eq({a: :b}) } describe '#fetch' do when_passed :a do it { should eq(:b) } end end end end ``` When you run `rspec -f d advanced_subject_spec.rb` it will output: ``` Hash when initialized with [:a, :b] should eq {:a => :b} #fetch when passed :a should eq :b ```
The purpose of this gem is to prevent directly running the inherited methods you choose to block at either the class or instance level, and instead do one of two things: run an alternative block which may or may not invoke the original method, or simply raise an error message. The error message can be customized. The original method can still be called under a different name. The entire object or class can return "unproxied" versions of themselves to preserve the original functionality. This was originally created to help enforce the use of interactors over directly calling ActiveRecord methods like create, save, and update. As with any metaprogramming, this gives you plenty of rope to hang yourself if you try to get too "clever". Treat this library like salt; use sparingly, because over time its cumulative effect will kill you :)
What is send? ============= It’s a tiny wee ruby gem that is a fork of [Object#try](http://ozmm.org/posts/try.html) and [Object#try from Rails](http://api.rubyonrails.org/classes/Object.html#M000027). It will *never* throw a NoMethodError (no matter the receiver), and returns nil if called on a nil-class or if the method in the receiver does not exist. Note on Patches/Pull Requests ----------------------------- 1. [Fork me!](http://github.com/Burgestrand/send-/fork) 2. Write tests for your new feature or bug fix (important, I don’t want to break your stuff in a future update by accident!) 3. Hack away on the code; make your tests pass. 4. Commit! Don’t touch Rakefile, version or git history in any of the commits you want me to pick. 5. ??? 6. Send me a pull request!
*Webby* is a fantastic little website management system. It would be called a *content management system* if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will. Webby works by combining the contents of a *page* with a *layout* to produce HTML. The layout contains everything common to all the pages - HTML headers, navigation menu, footer, etc. - and the page contains just the information for that page. You can use your favorite markup language to write your pages; Webby supports quite a few. Install Webby and try it out!
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.