pattern-matching 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/spec_helper.rb CHANGED
@@ -1,17 +1,18 @@
1
- require 'pattern_matching'
2
-
3
- # import all the support files
4
- Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) }
5
-
6
- RSpec.configure do |config|
7
-
8
- config.before(:suite) do
9
- end
10
-
11
- config.before(:each) do
12
- end
13
-
14
- config.after(:each) do
15
- end
16
-
17
- end
1
+ require 'pattern_matching'
2
+ require 'behavior'
3
+
4
+ # import all the support files
5
+ Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) }
6
+
7
+ RSpec.configure do |config|
8
+
9
+ config.before(:suite) do
10
+ end
11
+
12
+ config.before(:each) do
13
+ end
14
+
15
+ config.after(:each) do
16
+ end
17
+
18
+ end
metadata CHANGED
@@ -1,33 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pattern-matching
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerry D'Antonio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-22 00:00:00.000000000 Z
11
+ date: 2013-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: ! ' A gem for adding Erlang-style function/method overloading through
28
- pattern matching to Ruby classes.
29
-
30
- '
27
+ description: |2
28
+ A gem for adding Erlang-style function/method overloading through pattern matching to Ruby classes.
31
29
  email: jerry.dantonio@gmail.com
32
30
  executables: []
33
31
  extensions: []
@@ -37,7 +35,10 @@ extra_rdoc_files:
37
35
  files:
38
36
  - README.md
39
37
  - LICENSE
38
+ - lib/behavior.rb
39
+ - lib/behaviour.rb
40
40
  - lib/pattern_matching.rb
41
+ - spec/behavior_spec.rb
41
42
  - spec/integration_spec.rb
42
43
  - spec/pattern_matching_spec.rb
43
44
  - spec/spec_helper.rb
@@ -51,12 +52,12 @@ require_paths:
51
52
  - lib
52
53
  required_ruby_version: !ruby/object:Gem::Requirement
53
54
  requirements:
54
- - - ! '>='
55
+ - - '>='
55
56
  - !ruby/object:Gem::Version
56
57
  version: 1.9.2
57
58
  required_rubygems_version: !ruby/object:Gem::Requirement
58
59
  requirements:
59
- - - ! '>='
60
+ - - '>='
60
61
  - !ruby/object:Gem::Version
61
62
  version: '0'
62
63
  requirements: []
@@ -67,6 +68,8 @@ specification_version: 4
67
68
  summary: Erlang-style function/method overloading through pattern matching for Ruby
68
69
  classes.
69
70
  test_files:
71
+ - spec/behavior_spec.rb
70
72
  - spec/integration_spec.rb
71
73
  - spec/pattern_matching_spec.rb
72
74
  - spec/spec_helper.rb
75
+ has_rdoc: