rubysl-date 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -7
- data/lib/rubysl/date/version.rb +1 -1
- data/spec/datetime/strptime_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d40e6d8fc233f1fa22bdb0e253ee9be22f9c3a1
|
4
|
+
data.tar.gz: 19f817d2445ef061f8ff6620e2e3f3512eb77526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f775ec2a1d31951d7f93c6376e55fe06a47b4f8434d53d668290f0cdf082b7e4a09958521c95875eadb65d8c2548b11d52cba53660431de283531812275f26ca
|
7
|
+
data.tar.gz: 59dadd4e96ac3067c0110ccbd3b4b4ba4c65482119652d3e7d1db23b8ddb1cd956826b81d438a28cc25b48f5eb935ad692887f572e155386ab64d86a0838e68f
|
data/.travis.yml
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
language: ruby
|
2
|
-
before_install:
|
3
|
-
- rvm use $RVM --install --binary --fuzzy
|
4
|
-
- gem update --system
|
5
|
-
- gem --version
|
6
|
-
- gem install rubysl-bundler
|
7
2
|
env:
|
8
|
-
-
|
9
|
-
|
3
|
+
- RUBYLIB=lib
|
4
|
+
- RUBYLIB=
|
5
|
+
script: mspec spec
|
6
|
+
rvm:
|
7
|
+
- 2.0.0
|
8
|
+
- rbx-2.1.1
|
9
|
+
matrix:
|
10
|
+
exclude:
|
11
|
+
- rvm: 2.0.0
|
12
|
+
env: RUBYLIB=lib
|
13
|
+
- rvm: rbx-2.1.1
|
14
|
+
env: RUBYLIB=
|
data/lib/rubysl/date/version.rb
CHANGED
@@ -17,7 +17,8 @@ describe "DateTime#strptime" do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
it "parses seconds and timezone correctly" do
|
20
|
-
DateTime.strptime("0 +0100", "%s %z").should == DateTime.civil(1970, 1, 1, 1, 0, 0, '+1')
|
20
|
+
DateTime.strptime("0 +0100", "%s %z").to_s.should == DateTime.civil(1970, 1, 1, 1, 0, 0, '+1').to_s
|
21
|
+
DateTime.strptime("0 +0100", "%s %z").strftime("%s %z").should == "0 +0100"
|
21
22
|
end
|
22
23
|
|
23
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysl-date
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|