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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb768a7464f9f34c86d995fb3a81c2aec0b47834
4
- data.tar.gz: 31d3bbf56c48dd2e071d6d97d5864cbcc0e4940a
3
+ metadata.gz: 2d40e6d8fc233f1fa22bdb0e253ee9be22f9c3a1
4
+ data.tar.gz: 19f817d2445ef061f8ff6620e2e3f3512eb77526
5
5
  SHA512:
6
- metadata.gz: d902ebeb826bed5a8df6de5ed85a45427406b6fc9cca7684fbb1463e3c4d5b596e8179ac3de5ed567fc319b4353f73a6c08c53cdd21ae90872de51f17c82bb7e
7
- data.tar.gz: 4ecca4b8c18460ecbfe6535e4ebc30e648b2435d2444e5fc3f5e1cbdb9147f054df2f354b9f568861e545ab2fb2a97de64a3a5c643cf3d1b4ae01117a81bbb66
6
+ metadata.gz: f775ec2a1d31951d7f93c6376e55fe06a47b4f8434d53d668290f0cdf082b7e4a09958521c95875eadb65d8c2548b11d52cba53660431de283531812275f26ca
7
+ data.tar.gz: 59dadd4e96ac3067c0110ccbd3b4b4ba4c65482119652d3e7d1db23b8ddb1cd956826b81d438a28cc25b48f5eb935ad692887f572e155386ab64d86a0838e68f
@@ -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
- - RVM=rbx-nightly-d21 RUBYLIB=lib
9
- script: bundle exec mspec spec
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=
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module Date
3
- VERSION = "2.0.5"
3
+ VERSION = "2.0.6"
4
4
  end
5
5
  end
@@ -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.5
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-06 00:00:00.000000000 Z
11
+ date: 2013-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler