pattern-proc 0.0.2 → 0.0.3

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: e8e9ee7b0dbe361a86779de1d684ea1e71725bd0
4
- data.tar.gz: a2e8971dddc2308a411acaa7e179ada06ee8eb79
3
+ metadata.gz: 5d5feb7784773d21a7a6cfd9004f771d8626d9c5
4
+ data.tar.gz: 9378aa295eb70fed4f8f3421bd8adfc22a611e0d
5
5
  SHA512:
6
- metadata.gz: 29eb3503bb13f8a299e078d0242c73d64fdcbba44a600183f48b2806712932beef2cfb71401dd53d87bd40281a9accef9deac07b010141ad157506c7195e4fec
7
- data.tar.gz: f021f156d9c9f5e6aab70e30902a28487b1ebb5c99bf0dbbd8424be473bf6bbd468ae85d993bfaaf5011681879f5db9860bdf103682b7699386b30637195f120
6
+ metadata.gz: 2eb70413d2a4614ff8f9daa48071600d82a139f03fad5652b522280ed727451bb08bb2932ebe65bb1eea4d866eaf14458e4668cd56b338fa41b2427c8d997678
7
+ data.tar.gz: 311757068e3e8eaf2bd414e244bf55101f548118f2403f2085d1b1178e4260b727694f130aaccee6bdba11ede13e2805a282ea60bc1f8bab67a2a992023963db
data/lib/pattern_proc.rb CHANGED
@@ -131,7 +131,7 @@ class Object
131
131
  def partials(method)
132
132
  @__partials ||= {}
133
133
  unless @__partials[method]
134
- proc_obj = ComposableProc.new
134
+ proc_obj = PatternProc.new
135
135
  metaclass = class << self; self; end
136
136
  metaclass.class_eval do
137
137
  define_method(method) do |*args|
data/pattern-proc.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pattern-proc'
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
  s.date = '2014-07-01'
5
5
  s.summary = 'Pattern Proc'
6
6
  s.description = 'define a Proc with pattern matching "re-declaration" ala Haskell'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pattern-proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Pleasant-Ryan