keisan 0.2.0 → 0.2.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: cdf00ba25b7bc64cde85408ef0f56ad56bece933
4
- data.tar.gz: ebccd470d71300d5968b2efaf38cd7dccd39b675
3
+ metadata.gz: 853e03daadbd41d992a803a03c49183858f8190c
4
+ data.tar.gz: '098542c4dbe94d7b95ae4b7e56c7a5d29116a3f5'
5
5
  SHA512:
6
- metadata.gz: 64889b4e5947a90b46ad1a404b8ee4401cc0ac34d7ef18ca26f150f44208dd61a130cc5c2fed6dcba3c5ffa9ce4ff36b26721e5c64516feb146d15afe8ebaf93
7
- data.tar.gz: 114a84f7120b53c028d7f0fa5226aa01e034e593c911713bd5a394feef3ff436b52045c753a1c1dd796652f2cf9680b7c1d8a4dc6fa44fe5c53e2caedcd1775a
6
+ metadata.gz: 55efb1ed9bf111ac270cc6d91810f9ecfed944b6b6fa630fc63908f826f26ae806b17eb9908c48266c41e3bbedfb67c1a21ca1315cbc04441523f007c846f93e
7
+ data.tar.gz: 5a6f72a02901a01ee2705bc3d12a8cc661cde9961375007bec235a40a78f402ca93b6a8417b26c04c826efb67137936b5da90c6a336d160398130f7ffa11e984
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 2.2.6
5
+ - 2.3.3
4
6
  - 2.4.0
5
7
  - 2.4.1
6
8
  before_install: gem install bundler -v 1.14.6
data/keisan.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  end
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.required_ruby_version = '>= 2.4.0'
22
+ spec.required_ruby_version = ">= 2.0.0"
23
23
 
24
24
  spec.add_dependency "activesupport", ">= 4.2.2"
25
25
 
@@ -1,7 +1,7 @@
1
1
  module Keisan
2
2
  module Tokens
3
3
  class Group < Token
4
- REGEX = /(\((?:[^\[\]\(\)]*\g<0>*)*\)|\[(?:[^\[\]\(\)]*\g<0>*)*\])/
4
+ REGEX = /(\((?:[^\[\]\(\)]*\g<1>*)*\)|\[(?:[^\[\]\(\)]*\g<1>*)*\])/
5
5
 
6
6
  attr_reader :sub_tokens
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Keisan
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keisan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Locke
@@ -223,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
223
  requirements:
224
224
  - - ">="
225
225
  - !ruby/object:Gem::Version
226
- version: 2.4.0
226
+ version: 2.0.0
227
227
  required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  requirements:
229
229
  - - ">="
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  version: '0'
232
232
  requirements: []
233
233
  rubyforge_project:
234
- rubygems_version: 2.6.11
234
+ rubygems_version: 2.6.10
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: An equation parser and evaluator