sugarcube 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d9eed068aefa36110d9d6c3ed2bc8112130cbf5
4
- data.tar.gz: 5db0b4efefcc5461ee1c3acf98f7b6b9a414b4ad
3
+ metadata.gz: 6e76184529e38be1dcbbc47be49bcf043f57dec8
4
+ data.tar.gz: 600450d1cb5c231211eb6d2c212e7129d1f796fb
5
5
  SHA512:
6
- metadata.gz: cd9bee65e81c76b809712b67d0c6f5611375333a14cdd38ea1dab06b3fbe4bed2a03fbeef3f4caa20d249b98b85b1376c98484dd3b740722fb3fcfec35adaea5
7
- data.tar.gz: dbe5117f12f8fdd0f907dfce17558b00112c36be5957ee1bf4c37b1d88028faacee6a2237735f2f70233f5a86d667e30b0603806243d56acfcf8984776084b72
6
+ metadata.gz: 44e2d8c95356fcc30bc5f34025144d8fe3354d6dc997065e2bc2c101873ad81140b4db92bd38dc67ae4b3a252023223ebfbe7ad055cc61ed46bbbc45333ce398
7
+ data.tar.gz: 58c854296a658b07d0092a844b150224da33777c192e9313e8ea0e778e2237d103b0d38ae977e5157adb81561cfe19f84a121039142e687c3826d340b3579ca9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sugarcube (1.6.2)
4
+ sugarcube (1.6.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module SugarCube
2
- Version = '1.6.2'
2
+ Version = '1.6.3'
3
3
  end
@@ -0,0 +1,7 @@
1
+ class Fixnum
2
+
3
+ def nstimezone
4
+ NSTimeZone.timeZoneForSecondsFromGMT(self)
5
+ end
6
+
7
+ end
@@ -1,4 +1,4 @@
1
- class Numeric
1
+ class NSNumber
2
2
 
3
3
  def nsdate
4
4
  NSDate.dateWithTimeIntervalSince1970(self)
@@ -21,12 +21,3 @@ class Numeric
21
21
  end
22
22
 
23
23
  end
24
-
25
-
26
- class Fixnum
27
-
28
- def nstimezone
29
- NSTimeZone.timeZoneForSecondsFromGMT(self)
30
- end
31
-
32
- end
@@ -1,4 +1,4 @@
1
- class Numeric
1
+ class NSNumber
2
2
 
3
3
  ##|
4
4
  ##| MISC
@@ -1,4 +1,4 @@
1
- class Numeric
1
+ class NSNumber
2
2
 
3
3
  def milliseconds
4
4
  self / 1000.0
@@ -1,4 +1,4 @@
1
- module MotionRepl
1
+ module Kernel
2
2
 
3
3
  def adjust(*args)
4
4
  SugarCube::Adjust.adjust(*args)
@@ -1,4 +1,4 @@
1
- class Numeric
1
+ class NSNumber
2
2
 
3
3
  def later(user_info=nil, &fire)
4
4
  NSTimer.scheduledTimerWithTimeInterval(self, target: fire, selector: 'call:', userInfo: user_info, repeats: false)
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: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-05-27 00:00:00.000000000 Z
14
+ date: 2014-06-06 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: |
17
17
  == Description
@@ -128,16 +128,17 @@ files:
128
128
  - lib/sugarcube-nsdata/uiimage.rb
129
129
  - lib/sugarcube-nsdate.rb
130
130
  - lib/sugarcube-nsdate/date_parser.rb
131
+ - lib/sugarcube-nsdate/fixnum.rb
131
132
  - lib/sugarcube-nsdate/nsdate.rb
132
133
  - lib/sugarcube-nsdate/nsdate_delta.rb
134
+ - lib/sugarcube-nsdate/nsnumber.rb
133
135
  - lib/sugarcube-nsdate/nsstring.rb
134
- - lib/sugarcube-nsdate/numeric.rb
135
136
  - lib/sugarcube-nsuserdefaults.rb
136
137
  - lib/sugarcube-nsuserdefaults/nsuserdefaults.rb
137
138
  - lib/sugarcube-numbers.rb
138
139
  - lib/sugarcube-numbers/fixnum.rb
140
+ - lib/sugarcube-numbers/nsnumber.rb
139
141
  - lib/sugarcube-numbers/nsstring.rb
140
- - lib/sugarcube-numbers/numeric.rb
141
142
  - lib/sugarcube-numbers/time.rb
142
143
  - lib/sugarcube-osx/adjust.rb
143
144
  - lib/sugarcube-pipes.rb
@@ -269,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
270
  version: '0'
270
271
  requirements: []
271
272
  rubyforge_project:
272
- rubygems_version: 2.0.14
273
+ rubygems_version: 2.0.3
273
274
  signing_key:
274
275
  specification_version: 4
275
276
  summary: Extensions for Ruby to make Rubymotion development more enjoyable, and hopefully