sugarcube 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoa/sugarcube-nsdate/nsdate.rb +1 -0
- data/lib/version.rb +1 -1
- data/spec/ios/nsdate_spec.rb +9 -0
- 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: 820bca2bcc5d1521cd23b73499093658353ae1e5
|
4
|
+
data.tar.gz: 9d166c0da9c080488c7cc327cc38a273fdb4afb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03c4d27e1eb89a61e41a776450a5927319405d52595900526d37ad57a3a8d1afab836c1e09f4809b60fd2cdf6b3888ebec7bc30ba84c16ba0fd951d4df759d74
|
7
|
+
data.tar.gz: 42e80c5af7959ef62af788b435dd80eb89f9a6f4bc9ee12fbea7ac8a4f4d6e1d16a24a85ed9b23316777c2b4823ce54ad8735ef9430be59b2326bbcc849aa46d
|
data/lib/version.rb
CHANGED
data/spec/ios/nsdate_spec.rb
CHANGED
@@ -123,6 +123,15 @@ describe "NSDate" do
|
|
123
123
|
date.string_with_format(:iso8601, timezone:"UTC".nstimezone).should == '2013-01-02 12:15:30.000'
|
124
124
|
end
|
125
125
|
|
126
|
+
it "should have an NSDate#string_with_format method (:universal)" do
|
127
|
+
@date.string_with_format(:universal).should == '2013-01-02T12:15:30'
|
128
|
+
end
|
129
|
+
|
130
|
+
it "should have an NSDate#string_with_format method (:universal) and timezone" do
|
131
|
+
date = @date + @date.utc_offset
|
132
|
+
date.string_with_format(:universal, timezone:"UTC".nstimezone).should == '2013-01-02T12:15:30'
|
133
|
+
end
|
134
|
+
|
126
135
|
it "should have an NSDate#string_with_format method (:ymd)" do
|
127
136
|
@date.string_with_format(:ymd).should == '2013-01-02'
|
128
137
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sugarcube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin T.A. Gray
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
16
16
|
dependencies: []
|
17
17
|
description: |
|
18
18
|
== Description
|