flexyear 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/lib/flexyear/version.rb +1 -1
- data/lib/flexyear.rb +1 -1
- data/spec/flexyear_spec.rb +6 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be16123e3ada3bc97daf20dfa0878e0ec64fb3d5
|
4
|
+
data.tar.gz: cdd73aa8f992531f09d9f329a76af8ec850bde19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cebdc541a73b357bf70257e1c6127d88f1cc3c18253f70d5ca066df10485f0e4bb6f59806c337dc58044b910ca87b33a78724d854dc6873ac691fa52de1ff88
|
7
|
+
data.tar.gz: 0b96b4c50820649422dabf3f465d46ca4515ff937f4e99289413c6c761b869152a9d30ccb14d847a023306e18599c3cd99a415972c1d9d07d8b91dc05bd15818
|
data/.travis.yml
ADDED
data/lib/flexyear/version.rb
CHANGED
data/lib/flexyear.rb
CHANGED
data/spec/flexyear_spec.rb
CHANGED
@@ -38,6 +38,12 @@ describe FlexYear do
|
|
38
38
|
its(:year_high) { should eq(1979) }
|
39
39
|
end
|
40
40
|
|
41
|
+
context "given 1979 (with a space)" do
|
42
|
+
subject { flexyear_class.new("1979 ") }
|
43
|
+
its(:year_low) { should eq(1979) }
|
44
|
+
its(:year_high) { should eq(1979) }
|
45
|
+
end
|
46
|
+
|
41
47
|
context 'given 197*' do
|
42
48
|
subject { flexyear_class.new('197*') }
|
43
49
|
its(:year_low) { should eq(1970) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexyear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Melnick & Yan Pritzker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- ".gitignore"
|
78
78
|
- ".ruby-gemset"
|
79
79
|
- ".ruby-version"
|
80
|
+
- ".travis.yml"
|
80
81
|
- CHANGELOG
|
81
82
|
- Gemfile
|
82
83
|
- LICENSE.txt
|