mutations 0.5.12 → 0.6.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/{.travis → .travis.yml} +3 -0
- data/CHANGELOG.md +10 -2
- data/Gemfile +5 -2
- data/README.md +1 -0
- data/TODO +1 -3
- data/lib/mutations.rb +14 -1
- data/lib/mutations/additional_filter.rb +13 -0
- data/lib/mutations/array_filter.rb +12 -30
- data/lib/mutations/boolean_filter.rb +3 -3
- data/lib/mutations/command.rb +5 -4
- data/lib/mutations/date_filter.rb +52 -0
- data/lib/mutations/duck_filter.rb +4 -4
- data/lib/mutations/errors.rb +24 -20
- data/lib/mutations/exception.rb +1 -1
- data/lib/mutations/file_filter.rb +7 -7
- data/lib/mutations/float_filter.rb +5 -5
- data/lib/mutations/hash_filter.rb +12 -29
- data/lib/mutations/integer_filter.rb +5 -5
- data/lib/mutations/model_filter.rb +13 -8
- data/lib/mutations/outcome.rb +1 -1
- data/lib/mutations/string_filter.rb +10 -10
- data/lib/mutations/version.rb +2 -2
- data/mutations.gemspec +0 -2
- data/spec/additional_filter_spec.rb +76 -0
- data/spec/array_filter_spec.rb +25 -17
- data/spec/boolean_filter_spec.rb +5 -5
- data/spec/command_spec.rb +30 -30
- data/spec/date_filter_spec.rb +146 -0
- data/spec/default_spec.rb +10 -10
- data/spec/duck_filter_spec.rb +6 -6
- data/spec/errors_spec.rb +8 -9
- data/spec/file_filter_spec.rb +26 -22
- data/spec/float_filter_spec.rb +8 -8
- data/spec/hash_filter_spec.rb +31 -23
- data/spec/inheritance_spec.rb +9 -9
- data/spec/integer_filter_spec.rb +9 -9
- data/spec/model_filter_spec.rb +26 -6
- data/spec/mutations_spec.rb +1 -1
- data/spec/simple_command.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- data/spec/string_filter_spec.rb +17 -17
- metadata +8 -4
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mutations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -67,7 +67,7 @@ extensions: []
|
|
|
67
67
|
extra_rdoc_files: []
|
|
68
68
|
files:
|
|
69
69
|
- .gitignore
|
|
70
|
-
- .travis
|
|
70
|
+
- .travis.yml
|
|
71
71
|
- CHANGELOG.md
|
|
72
72
|
- Gemfile
|
|
73
73
|
- Gemfile.lock
|
|
@@ -76,9 +76,11 @@ files:
|
|
|
76
76
|
- Rakefile
|
|
77
77
|
- TODO
|
|
78
78
|
- lib/mutations.rb
|
|
79
|
+
- lib/mutations/additional_filter.rb
|
|
79
80
|
- lib/mutations/array_filter.rb
|
|
80
81
|
- lib/mutations/boolean_filter.rb
|
|
81
82
|
- lib/mutations/command.rb
|
|
83
|
+
- lib/mutations/date_filter.rb
|
|
82
84
|
- lib/mutations/duck_filter.rb
|
|
83
85
|
- lib/mutations/errors.rb
|
|
84
86
|
- lib/mutations/exception.rb
|
|
@@ -92,9 +94,11 @@ files:
|
|
|
92
94
|
- lib/mutations/string_filter.rb
|
|
93
95
|
- lib/mutations/version.rb
|
|
94
96
|
- mutations.gemspec
|
|
97
|
+
- spec/additional_filter_spec.rb
|
|
95
98
|
- spec/array_filter_spec.rb
|
|
96
99
|
- spec/boolean_filter_spec.rb
|
|
97
100
|
- spec/command_spec.rb
|
|
101
|
+
- spec/date_filter_spec.rb
|
|
98
102
|
- spec/default_spec.rb
|
|
99
103
|
- spec/duck_filter_spec.rb
|
|
100
104
|
- spec/errors_spec.rb
|
|
@@ -119,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
119
123
|
requirements:
|
|
120
124
|
- - ! '>='
|
|
121
125
|
- !ruby/object:Gem::Version
|
|
122
|
-
version:
|
|
126
|
+
version: '0'
|
|
123
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
128
|
none: false
|
|
125
129
|
requirements:
|