sugarcube 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/all/sugarcube/log.rb +42 -47
- data/lib/all/sugarcube/look_in.rb +7 -12
- data/lib/all/sugarcube-repl/repl.rb +19 -14
- data/lib/android/sugarcube/log.rb +2 -7
- data/lib/android/sugarcube-repl/kernel.rb +20 -0
- data/lib/android/sugarcube-repl/repl.rb +8 -7
- data/lib/android/sugarcube-ui/android.view_group.rb +15 -0
- data/lib/cocoa/{sugarcube-cocoakit → sugarcube-ui}/calayer.rb +0 -0
- data/lib/cocoa/{sugarcube-cocoakit → sugarcube-ui}/frameable.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/frameable.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/nsattributedstring.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/nsstring.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/symbol.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uibutton.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uifont.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uiimage.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uilabel.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uipickerview.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uiview.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uiviewcontroller.rb +0 -0
- data/lib/ios/{sugarcube-uikit → sugarcube-ui}/uiwebview.rb +0 -0
- data/lib/osx/{sugarcube-appkit → sugarcube-ui}/frameable.rb +0 -0
- data/lib/osx/{sugarcube-appkit → sugarcube-ui}/nsfont.rb +0 -0
- data/lib/osx/{sugarcube-appkit → sugarcube-ui}/nsstring.rb +0 -0
- data/lib/osx/{sugarcube-appkit → sugarcube-ui}/nsview.rb +0 -0
- data/lib/osx/{sugarcube-appkit → sugarcube-ui}/symbol.rb +0 -0
- data/lib/sugarcube-all.rb +9 -5
- data/lib/sugarcube-appkit.rb +2 -12
- data/lib/sugarcube-corelocation.rb +0 -5
- data/lib/sugarcube-ui.rb +10 -0
- data/lib/sugarcube-uikit.rb +2 -12
- data/lib/sugarcube.rb +10 -7
- data/lib/version.rb +1 -1
- metadata +27 -26
- data/lib/sugarcube-uicolor.rb +0 -1
- data/lib/sugarcube-uiimage.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68747fa75c52e42414e7c2e28c5de5ca77373ed6
|
4
|
+
data.tar.gz: 02929645474fcb8e1e3422338f4d1dd7c528d6a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69d952eef9daa9121014004c70ffb77d4723709e8b8cfb85eb6f106fd81000b6fc3e3c243cb4e10270fc1604a07d089a0217c7fadc3214a4c23c2cbd8da932ab
|
7
|
+
data.tar.gz: 8580d434cf999780497468f68d7f206fa28aff31a8b50ea0c2b31dfbb058033fd5efd0757eaa5a64c6fa7cfec3934bf000dccaa4c637f085cb625a5132339a86
|
data/lib/all/sugarcube/log.rb
CHANGED
@@ -1,57 +1,52 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
def SugarCube.log(message=nil)
|
2
|
+
@log ||= []
|
3
3
|
|
4
|
-
|
5
|
-
@log
|
6
|
-
|
7
|
-
if message.nil?
|
8
|
-
return @log
|
9
|
-
end
|
10
|
-
|
11
|
-
if suppress?
|
12
|
-
log << message
|
13
|
-
elsif log?
|
14
|
-
SugarCube.stderr(message)
|
15
|
-
end
|
4
|
+
if message.nil?
|
5
|
+
return @log
|
6
|
+
end
|
16
7
|
|
17
|
-
|
8
|
+
if suppress?
|
9
|
+
log << message
|
10
|
+
elsif log?
|
11
|
+
SugarCube.stderr(message)
|
18
12
|
end
|
19
13
|
|
20
|
-
|
21
|
-
|
14
|
+
self
|
15
|
+
end
|
22
16
|
|
23
|
-
|
24
|
-
|
25
|
-
output << "\n"
|
26
|
-
output << message
|
27
|
-
end
|
28
|
-
SugarCube.stderr(output)
|
29
|
-
@log = nil
|
30
|
-
end
|
17
|
+
def SugarCube.flush_log(notification=nil)
|
18
|
+
return unless @log && ! @log.empty?
|
31
19
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
20
|
+
output = "SugarCube recorded the following warnings:"
|
21
|
+
@log.uniq.each do |message|
|
22
|
+
output << "\n"
|
23
|
+
output << message
|
24
|
+
end
|
25
|
+
SugarCube.stderr(output)
|
26
|
+
@log = nil
|
27
|
+
end
|
28
|
+
|
29
|
+
def SugarCube.log?(value=nil)
|
30
|
+
if value.nil?
|
31
|
+
if @logging.nil?
|
32
|
+
@logging = (RUBYMOTION_ENV == 'development')
|
33
|
+
end
|
34
|
+
@logging
|
35
|
+
else
|
36
|
+
@logging = value
|
37
|
+
unless @logging
|
38
|
+
@log = nil
|
43
39
|
end
|
44
40
|
end
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
41
|
+
end
|
42
|
+
|
43
|
+
def SugarCube.suppress?(value=nil)
|
44
|
+
if value.nil?
|
45
|
+
@suppress
|
46
|
+
else
|
47
|
+
@suppress = value
|
48
|
+
unless @suppress
|
49
|
+
@log = nil
|
54
50
|
end
|
55
51
|
end
|
56
|
-
|
57
|
-
end
|
52
|
+
end
|
@@ -1,16 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
translated = here__deprecated[where]
|
8
|
-
SugarCube.log("The symbol #{where.inspect} has been deprecated in favor of #{translated.inspect}")
|
9
|
-
return here[translated]
|
10
|
-
end
|
11
|
-
raise SugarCubeNotFoundException.new(where.inspect)
|
1
|
+
def SugarCube.look_in(where, here, here__deprecated={})
|
2
|
+
return here[where] if here.has_key? where
|
3
|
+
if here__deprecated[where]
|
4
|
+
translated = here__deprecated[where]
|
5
|
+
SugarCube.log("The symbol #{where.inspect} has been deprecated in favor of #{translated.inspect}")
|
6
|
+
return here[translated]
|
12
7
|
end
|
13
|
-
|
8
|
+
raise SugarCubeNotFoundException.new(where.inspect)
|
14
9
|
end
|
15
10
|
|
16
11
|
class SugarCubeNotFoundException < Exception
|
@@ -100,53 +100,56 @@ module SugarCube
|
|
100
100
|
end
|
101
101
|
|
102
102
|
def draw_tree(item, tab=nil, is_last=true, items_index=0)
|
103
|
+
line = ''
|
103
104
|
space = ' '
|
104
105
|
if items_index < 10
|
105
|
-
|
106
|
+
line << ' '
|
106
107
|
elsif items_index < 100
|
107
|
-
|
108
|
+
line << ' '
|
108
109
|
elsif items_index > 999 # good god, man!
|
109
110
|
space = ''
|
110
111
|
end
|
111
|
-
|
112
|
+
line << items_index.to_s + ":" + space
|
112
113
|
|
113
114
|
if tab
|
114
|
-
|
115
|
+
line << tab
|
115
116
|
if @collapsed_items && @collapsed_items.include?(item)
|
116
|
-
|
117
|
+
line << '<<< '
|
117
118
|
else
|
118
119
|
if is_last
|
119
|
-
|
120
|
+
line << '`-- '
|
120
121
|
tab += ' '
|
121
122
|
else
|
122
|
-
|
123
|
+
line << '+-- '
|
123
124
|
tab += '| '
|
124
125
|
end
|
125
126
|
end
|
126
127
|
else
|
127
|
-
|
128
|
+
line << '. '
|
128
129
|
tab = ''
|
129
130
|
end
|
130
131
|
|
131
132
|
if self == item || @adjust_item == item
|
132
|
-
|
133
|
+
line << "\033[1m"
|
133
134
|
end
|
134
|
-
|
135
|
+
line << draw_tree_item(item)
|
135
136
|
if self == item || @adjust_item == item
|
136
|
-
|
137
|
+
line << "\033[0m"
|
137
138
|
end
|
138
|
-
puts
|
139
|
+
puts line
|
139
140
|
|
140
141
|
items = call_item_selector(item)
|
141
142
|
|
142
143
|
unless @collapsed_items && @collapsed_items.include?(item)
|
143
|
-
|
144
|
+
index = 0
|
145
|
+
items.each do |subitem|
|
144
146
|
items_index += 1
|
145
147
|
if self.respond_to? :draw_tree
|
146
148
|
items_index = draw_tree(subitem, tab, index == items.length - 1, items_index)
|
147
149
|
else
|
148
150
|
items_index = draw_tree(subitem, tab, index == items.length - 1, items_index)
|
149
151
|
end
|
152
|
+
index += 1
|
150
153
|
end
|
151
154
|
end
|
152
155
|
|
@@ -159,8 +162,10 @@ module SugarCube
|
|
159
162
|
ret = [item]
|
160
163
|
return ret if @collapsed_items && @collapsed_items.include?(item)
|
161
164
|
|
162
|
-
|
165
|
+
index = 0
|
166
|
+
items.each do |subitem, index|
|
163
167
|
ret.concat build_tree(subitem)
|
168
|
+
index += 1
|
164
169
|
end
|
165
170
|
ret
|
166
171
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kernel
|
2
|
+
|
3
|
+
def adjust(*args)
|
4
|
+
if self.nil?
|
5
|
+
super
|
6
|
+
else
|
7
|
+
SugarCube::Repl.adjust(*args)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
alias a adjust
|
11
|
+
|
12
|
+
def tree(*args, &sel_blk)
|
13
|
+
if self.nil?
|
14
|
+
super
|
15
|
+
else
|
16
|
+
SugarCube::Repl.tree(*args, &sel_blk)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -6,24 +6,25 @@ module SugarCube
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def adjust_init(item)
|
9
|
-
if item.is_a?(Android::View)
|
9
|
+
if item.is_a?(Android::View::View)
|
10
10
|
@restore = {}
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
def register_default_tree_selectors
|
15
|
-
register_tree_selector(Android::
|
15
|
+
register_tree_selector(Android::ViewGroup) do |view|
|
16
16
|
views = []
|
17
|
-
item.getChildCount.times do |index|
|
18
|
-
|
19
|
-
end
|
17
|
+
# item.getChildCount.times do |index|
|
18
|
+
# views << item.getChildAt(index)
|
19
|
+
# end
|
20
20
|
views
|
21
21
|
end
|
22
|
-
register_tree_selector(Android::View) { |view| [view] }
|
22
|
+
register_tree_selector(Android::View::View) { |view| [view] }
|
23
23
|
end
|
24
24
|
|
25
25
|
def draw_tree_item(item)
|
26
|
-
item.to_s
|
26
|
+
# item.to_s
|
27
|
+
'todo'
|
27
28
|
end
|
28
29
|
|
29
30
|
def get_tree_item(item)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/sugarcube-all.rb
CHANGED
@@ -5,20 +5,21 @@ exclude = [
|
|
5
5
|
'sugarcube-common.rb',
|
6
6
|
'sugarcube-classic.rb',
|
7
7
|
'sugarcube-legacy.rb',
|
8
|
-
'sugarcube-
|
9
|
-
'sugarcube-
|
8
|
+
'sugarcube-appkit.rb', # renamed in 3.0.0 to 'sugarcube-ui'
|
9
|
+
'sugarcube-uikit.rb', # renamed in 3.0.0 to 'sugarcube-ui'
|
10
10
|
]
|
11
11
|
|
12
12
|
if SugarCube.ios?
|
13
13
|
exclude += [
|
14
|
-
'sugarcube-appkit.rb',
|
15
14
|
]
|
16
15
|
elsif SugarCube.osx?
|
17
16
|
exclude += [
|
18
17
|
'sugarcube-568.rb',
|
19
18
|
'sugarcube-gestures.rb',
|
20
19
|
'sugarcube-modal.rb',
|
21
|
-
|
20
|
+
]
|
21
|
+
elsif SugarCube.android?
|
22
|
+
exclude += [
|
22
23
|
]
|
23
24
|
end
|
24
25
|
|
@@ -26,6 +27,9 @@ dirname = File.dirname(__FILE__)
|
|
26
27
|
Dir.glob(File.join(dirname, '*.rb')).each do |file|
|
27
28
|
filename = File.basename(file)
|
28
29
|
unless exclude.include? filename
|
29
|
-
|
30
|
+
begin
|
31
|
+
require file
|
32
|
+
rescue SugarCube::PlatformException => e
|
33
|
+
end
|
30
34
|
end
|
31
35
|
end
|
data/lib/sugarcube-appkit.rb
CHANGED
@@ -1,12 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
end
|
4
|
-
|
5
|
-
|
6
|
-
require 'sugarcube'
|
7
|
-
SugarCube.osx_only!('appkit')
|
8
|
-
|
9
|
-
Motion::Project::App.pre_setup do |app|
|
10
|
-
SugarCube.add_app_files(app, 'sugarcube-cocoakit')
|
11
|
-
SugarCube.add_app_files(app, 'sugarcube-appkit')
|
12
|
-
end
|
1
|
+
puts "`sugarcube-appkit' has been renamed to (platform agnostic) `sugarcube-ui'"
|
2
|
+
require 'sugarcube-ui'
|
data/lib/sugarcube-ui.rb
ADDED
data/lib/sugarcube-uikit.rb
CHANGED
@@ -1,12 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
end
|
4
|
-
|
5
|
-
|
6
|
-
require 'sugarcube'
|
7
|
-
SugarCube.ios_only!('uikit')
|
8
|
-
|
9
|
-
Motion::Project::App.pre_setup do |app|
|
10
|
-
SugarCube.add_app_files(app, 'sugarcube-cocoakit')
|
11
|
-
SugarCube.add_app_files(app, 'sugarcube-uikit')
|
12
|
-
end
|
1
|
+
puts "`sugarcube-uikit' has been renamed to (platform agnostic) `sugarcube-ui'"
|
2
|
+
require 'sugarcube-ui'
|
data/lib/sugarcube.rb
CHANGED
@@ -6,27 +6,30 @@ end
|
|
6
6
|
module SugarCube
|
7
7
|
module_function
|
8
8
|
|
9
|
+
class PlatformException < Exception
|
10
|
+
end
|
11
|
+
|
9
12
|
def ios_only!(package)
|
10
13
|
unless ios?
|
11
|
-
raise "The '\033[0;1msugarcube-#{package}\033[0m' package is only available on iOS."
|
14
|
+
raise PlatformException.new("The '\033[0;1msugarcube-#{package}\033[0m' package is only available on iOS.")
|
12
15
|
end
|
13
16
|
end
|
14
17
|
|
15
18
|
def osx_only!(package)
|
16
19
|
unless osx?
|
17
|
-
raise "The '\033[0;1msugarcube-#{package}\033[0m' package is only available on OS X."
|
20
|
+
raise PlatformException.new("The '\033[0;1msugarcube-#{package}\033[0m' package is only available on OS X.")
|
18
21
|
end
|
19
22
|
end
|
20
23
|
|
21
24
|
def cocoa_only!(package)
|
22
25
|
unless cocoa?
|
23
|
-
raise "The '\033[0;1msugarcube-#{package}\033[0m' package is only available on OS X or iOS."
|
26
|
+
raise PlatformException.new("The '\033[0;1msugarcube-#{package}\033[0m' package is only available on OS X or iOS.")
|
24
27
|
end
|
25
28
|
end
|
26
29
|
|
27
30
|
def android_only!(package)
|
28
31
|
unless android?
|
29
|
-
raise "The '\033[0;1msugarcube-#{package}\033[0m' package is only available on Android."
|
32
|
+
raise PlatformException.new("The '\033[0;1msugarcube-#{package}\033[0m' package is only available on Android.")
|
30
33
|
end
|
31
34
|
end
|
32
35
|
|
@@ -62,13 +65,13 @@ module SugarCube
|
|
62
65
|
# scans app.files until it finds app/ (the default)
|
63
66
|
# if found, it inserts just before those files, otherwise it will insert to
|
64
67
|
# the end of the list
|
65
|
-
platforms = [
|
68
|
+
platforms = [SugarCube.platform] # ios, osx, or android specific files
|
66
69
|
if SugarCube.cocoa?
|
67
70
|
platforms << 'cocoa'
|
68
71
|
end
|
69
|
-
platforms <<
|
72
|
+
platforms << 'all'
|
70
73
|
|
71
|
-
platforms.each do |platform|
|
74
|
+
platforms.reverse.each do |platform|
|
72
75
|
Dir.glob(File.join(File.dirname(__FILE__), platform, package_name, '**/*.rb')).each do |file|
|
73
76
|
app.files << file
|
74
77
|
end
|
data/lib/version.rb
CHANGED
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.0.
|
4
|
+
version: 3.0.1
|
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-12-
|
14
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
15
15
|
dependencies: []
|
16
16
|
description: |
|
17
17
|
== Description
|
@@ -40,7 +40,9 @@ files:
|
|
40
40
|
- lib/all/sugarcube-repl/repl.rb
|
41
41
|
- lib/all/sugarcube-unholy/ivar.rb
|
42
42
|
- lib/android/sugarcube/log.rb
|
43
|
+
- lib/android/sugarcube-repl/kernel.rb
|
43
44
|
- lib/android/sugarcube-repl/repl.rb
|
45
|
+
- lib/android/sugarcube-ui/android.view_group.rb
|
44
46
|
- lib/cocoa/sugarcube/log.rb
|
45
47
|
- lib/cocoa/sugarcube-animations/caanimation.rb
|
46
48
|
- lib/cocoa/sugarcube-animations/calayer.rb
|
@@ -48,8 +50,6 @@ files:
|
|
48
50
|
- lib/cocoa/sugarcube-anonymous/anonymous_array.rb
|
49
51
|
- lib/cocoa/sugarcube-attributedstring/nsattributedstring.rb
|
50
52
|
- lib/cocoa/sugarcube-awesome/awesome_exts.rb
|
51
|
-
- lib/cocoa/sugarcube-cocoakit/calayer.rb
|
52
|
-
- lib/cocoa/sugarcube-cocoakit/frameable.rb
|
53
53
|
- lib/cocoa/sugarcube-corelocation/core_location.rb
|
54
54
|
- lib/cocoa/sugarcube-files/nsarray.rb
|
55
55
|
- lib/cocoa/sugarcube-files/nsdata.rb
|
@@ -92,6 +92,8 @@ files:
|
|
92
92
|
- lib/cocoa/sugarcube-to_s/nsnotification.rb
|
93
93
|
- lib/cocoa/sugarcube-to_s/nsset.rb
|
94
94
|
- lib/cocoa/sugarcube-to_s/nsurl.rb
|
95
|
+
- lib/cocoa/sugarcube-ui/calayer.rb
|
96
|
+
- lib/cocoa/sugarcube-ui/frameable.rb
|
95
97
|
- lib/ios/sugarcube-568/uiimage.rb
|
96
98
|
- lib/ios/sugarcube-animations/animation_chain.rb
|
97
99
|
- lib/ios/sugarcube-animations/uiview.rb
|
@@ -139,24 +141,19 @@ files:
|
|
139
141
|
- lib/ios/sugarcube-to_s/uitouch.rb
|
140
142
|
- lib/ios/sugarcube-to_s/uiview.rb
|
141
143
|
- lib/ios/sugarcube-to_s/uiviewcontroller.rb
|
142
|
-
- lib/ios/sugarcube-
|
143
|
-
- lib/ios/sugarcube-
|
144
|
-
- lib/ios/sugarcube-
|
145
|
-
- lib/ios/sugarcube-
|
146
|
-
- lib/ios/sugarcube-
|
147
|
-
- lib/ios/sugarcube-
|
148
|
-
- lib/ios/sugarcube-
|
149
|
-
- lib/ios/sugarcube-
|
150
|
-
- lib/ios/sugarcube-
|
151
|
-
- lib/ios/sugarcube-
|
152
|
-
- lib/ios/sugarcube-
|
153
|
-
- lib/ios/sugarcube-
|
144
|
+
- lib/ios/sugarcube-ui/frameable.rb
|
145
|
+
- lib/ios/sugarcube-ui/nsattributedstring.rb
|
146
|
+
- lib/ios/sugarcube-ui/nsstring.rb
|
147
|
+
- lib/ios/sugarcube-ui/symbol.rb
|
148
|
+
- lib/ios/sugarcube-ui/uibutton.rb
|
149
|
+
- lib/ios/sugarcube-ui/uifont.rb
|
150
|
+
- lib/ios/sugarcube-ui/uiimage.rb
|
151
|
+
- lib/ios/sugarcube-ui/uilabel.rb
|
152
|
+
- lib/ios/sugarcube-ui/uipickerview.rb
|
153
|
+
- lib/ios/sugarcube-ui/uiview.rb
|
154
|
+
- lib/ios/sugarcube-ui/uiviewcontroller.rb
|
155
|
+
- lib/ios/sugarcube-ui/uiwebview.rb
|
154
156
|
- lib/osx/sugarcube-animations/nsview.rb
|
155
|
-
- lib/osx/sugarcube-appkit/frameable.rb
|
156
|
-
- lib/osx/sugarcube-appkit/nsfont.rb
|
157
|
-
- lib/osx/sugarcube-appkit/nsstring.rb
|
158
|
-
- lib/osx/sugarcube-appkit/nsview.rb
|
159
|
-
- lib/osx/sugarcube-appkit/symbol.rb
|
160
157
|
- lib/osx/sugarcube-attributedstring/nsattributedstring.rb
|
161
158
|
- lib/osx/sugarcube-color/fixnum.rb
|
162
159
|
- lib/osx/sugarcube-color/nsarray.rb
|
@@ -172,6 +169,11 @@ files:
|
|
172
169
|
- lib/osx/sugarcube-spritekit/constants.rb
|
173
170
|
- lib/osx/sugarcube-to_s/nscolor.rb
|
174
171
|
- lib/osx/sugarcube-to_s/nsview.rb
|
172
|
+
- lib/osx/sugarcube-ui/frameable.rb
|
173
|
+
- lib/osx/sugarcube-ui/nsfont.rb
|
174
|
+
- lib/osx/sugarcube-ui/nsstring.rb
|
175
|
+
- lib/osx/sugarcube-ui/nsview.rb
|
176
|
+
- lib/osx/sugarcube-ui/symbol.rb
|
175
177
|
- lib/sugarcube-568.rb
|
176
178
|
- lib/sugarcube-all.rb
|
177
179
|
- lib/sugarcube-animations.rb
|
@@ -207,8 +209,7 @@ files:
|
|
207
209
|
- lib/sugarcube-spritekit.rb
|
208
210
|
- lib/sugarcube-timer.rb
|
209
211
|
- lib/sugarcube-to_s.rb
|
210
|
-
- lib/sugarcube-
|
211
|
-
- lib/sugarcube-uiimage.rb
|
212
|
+
- lib/sugarcube-ui.rb
|
212
213
|
- lib/sugarcube-uikit.rb
|
213
214
|
- lib/sugarcube-unholy.rb
|
214
215
|
- lib/sugarcube.rb
|
@@ -297,17 +298,17 @@ require_paths:
|
|
297
298
|
- lib
|
298
299
|
required_ruby_version: !ruby/object:Gem::Requirement
|
299
300
|
requirements:
|
300
|
-
- -
|
301
|
+
- - '>='
|
301
302
|
- !ruby/object:Gem::Version
|
302
303
|
version: '0'
|
303
304
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
304
305
|
requirements:
|
305
|
-
- -
|
306
|
+
- - '>='
|
306
307
|
- !ruby/object:Gem::Version
|
307
308
|
version: '0'
|
308
309
|
requirements: []
|
309
310
|
rubyforge_project:
|
310
|
-
rubygems_version: 2.0.
|
311
|
+
rubygems_version: 2.0.3
|
311
312
|
signing_key:
|
312
313
|
specification_version: 4
|
313
314
|
summary: Extensions for Ruby to make Rubymotion development more enjoyable, and hopefully
|
data/lib/sugarcube-uicolor.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
raise "I changed the 'sugarcube-\033[0;1muicolor\033[0m' package to 'sugarcube-\033[0;1mcolor\033[0m'."
|
data/lib/sugarcube-uiimage.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
raise "I changed the 'sugarcube-\033[0;1muiimage\033[0m' package to 'sugarcube-\033[0;1mimage\033[0m'."
|