pipe-ruby 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aecb3bc0a365cf5620fc131aefc6a66c0eda8943
4
- data.tar.gz: 934bb442c5fa9212d3ae49ea83aed0a98b1e9b91
3
+ metadata.gz: 1a145f9639825143a1da34eba1c5445d795cef91
4
+ data.tar.gz: f39bf8a5a57a07d07a9fa629c610635c0da72f7b
5
5
  SHA512:
6
- metadata.gz: 62b208dfa76ff39c8a88a3912888079029670406a401473cc1a354ef9b14c68273ed0e3f307da1729b09ede5e1c98a7d88951e2bb2424d8da658a16725ab58de
7
- data.tar.gz: c3d9f27acc430b85f06e2fe43ae1844458a87ca73e39a76182e05bcbdad3d18799fb3e83438968ecdfe349f97167553583fe5f5d44e0801d81ee1e0467b4efb6
6
+ metadata.gz: c9843754ada38925ac8503bac0ea3ac246a7b5a77c16a9a7bd20131a636dc6d979a3cf349e90fd9f7bee9d1e3b8606fd2739a3218dd71643f58d9bd9570a9ba0
7
+ data.tar.gz: c32f267b6717d7d90f5a8737a7046a029599e2d5e95e673fa3e22dac4b62c81be4089271ad602f678259a9a4e86fc42d229806720c2a5e63259692c8218aeeae
data/README.md CHANGED
@@ -8,7 +8,7 @@ instance methods, `pipe` and `pipe_each`.
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'pipe-ruby'
11
+ gem "pipe-ruby", :require => "pipe"
12
12
  ```
13
13
 
14
14
  After bundling, include the `Pipe` module in your class(es)
data/lib/pipe/reducer.rb CHANGED
@@ -52,7 +52,7 @@ module Pipe
52
52
  data = { method: method, subject: subject }
53
53
 
54
54
  begin
55
- config.error_handlers.each { |handler| handler.call(e, data) }
55
+ config.error_handlers.each { |handler| handler.call(error, data) }
56
56
  rescue => e
57
57
  Error.process(
58
58
  :data => data,
@@ -0,0 +1,3 @@
1
+ module Pipe
2
+ VERSION = "0.1.1"
3
+ end
data/pipe-ruby.gemspec CHANGED
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'pipe/ruby/version'
4
+ require 'pipe/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "pipe-ruby"
8
- spec.version = Pipe::Ruby::VERSION
8
+ spec.version = Pipe::VERSION
9
9
  spec.authors = ["Dan Matthews"]
10
10
  spec.email = ["oss@teamsnap.com"]
11
11
  spec.summary = %q{Ruby implementation of the UNIX pipe}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipe-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Matthews
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -57,7 +57,7 @@ files:
57
57
  - lib/pipe/ext/string.rb
58
58
  - lib/pipe/iterator.rb
59
59
  - lib/pipe/reducer.rb
60
- - lib/pipe/ruby/version.rb
60
+ - lib/pipe/version.rb
61
61
  - pipe-ruby.gemspec
62
62
  homepage: ''
63
63
  licenses:
@@ -1,5 +0,0 @@
1
- module Pipe
2
- module Ruby
3
- VERSION = "0.1.0"
4
- end
5
- end