eqn 1.6.0 → 1.6.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: 4c54bb4df4dbcf3350edbaa0c13994c8372cea5c
4
- data.tar.gz: bde508e34f9491145d4c5b7968602a8dd220d5a2
3
+ metadata.gz: a04c182e84dafb070744df14445241b94a232e0a
4
+ data.tar.gz: 124f04f06e496e94e589a766f18cef67c5f2ed13
5
5
  SHA512:
6
- metadata.gz: d3f356c8c7eb30b335c972085eaf70e23b30b2611cb46d0857dfad95b4fca6f3a9e8426f9fab50c22b546ca0533335a0421fb0ad358c0e44f3ff2f355367bbf5
7
- data.tar.gz: 466d2723c70a6933469d1a3bbfa91affeb64e487edff0aa11525503af7b8c163359ca806b2b5584a4dc6be9c3f355c38fb49c04bdc7b13e3cc5699ae1c290a13
6
+ metadata.gz: be2664a0662c2237af3b3ab6d23446d5cf267345edc122270ee5553474ea82589f7430b38c0afbfb12f8c031d9e170fab2b28ebcd70774f40a72a5586825b3aa
7
+ data.tar.gz: 50ae4a06be0cc9d955207521bd8f09c8ef58c61461ffda847e901e6c85d9d41535c937ed0da03d01d15539272b829fd11d0b839322423faa3e7bb0cfacf953d0
@@ -24,11 +24,11 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency 'treetop', '>= 1.2.0'
26
26
 
27
- spec.add_development_dependency 'appraisal', '~> 2.1.0'
28
- spec.add_development_dependency 'bundler', '~> 1.8'
29
- spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4.7'
30
- spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'appraisal', '~> 2.2.0'
28
+ spec.add_development_dependency 'bundler', '>= 1.9'
29
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
30
+ spec.add_development_dependency 'rake', '~> 11.0'
31
31
  spec.add_development_dependency 'rubocop', '~> 0.42'
32
- spec.add_development_dependency 'rspec', '~> 3.2.0'
33
- spec.add_development_dependency 'simplecov', '~> 0.10.0'
32
+ spec.add_development_dependency 'rspec', '~> 3.5.0'
33
+ spec.add_development_dependency 'simplecov', '~> 0.14'
34
34
  end
@@ -25,7 +25,7 @@ module Eqn
25
25
  end
26
26
  end
27
27
 
28
- def respond_to_missing?(method)
28
+ def respond_to_missing?(method, _p2 = false)
29
29
  %i[calculate calc valid?].include?(method) || method.to_s.match(/^[A-Za-z]+=$/) || (var = method.to_s.match(/^[A-Za-z]+$/).to_s.intern) && @vars.key?(var)
30
30
  end
31
31
 
@@ -1,11 +1,9 @@
1
1
  module Eqn
2
2
  if defined? Rails
3
- # :nocov:
4
3
  class Engine < ::Rails::Engine
5
4
  initializer 'eqn' do
6
5
  config.autoload_paths += Dir["#{config.root}/lib/**/"]
7
6
  end
8
7
  end
9
- # :nocov:
10
8
  end
11
9
  end
@@ -1,3 +1,3 @@
1
1
  module Eqn
2
- VERSION = '1.6.0'.freeze
2
+ VERSION = '1.6.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eqn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Schneider
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: treetop
@@ -30,56 +30,56 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.0
33
+ version: 2.2.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.1.0
40
+ version: 2.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.8'
47
+ version: '1.9'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.8'
54
+ version: '1.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: codeclimate-test-reporter
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.4.7
61
+ version: '1.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.4.7
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '11.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '11.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,28 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 3.2.0
103
+ version: 3.5.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 3.2.0
110
+ version: 3.5.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.10.0
117
+ version: '0.14'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.10.0
124
+ version: '0.14'
125
125
  description: A gem to evaluate numerical equations. Includes support for variables
126
126
  and functions.
127
127
  email: