motion-awesome 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Zjk3MzNkODNkMWIyMTY4ODkwMDk4YWE5NzViM2JkZTViODYxZWEyNw==
4
+ ZTFlZjc2Yjk3MWE3NGI0YmJmMmQ5ODViZTRkODg3MmUyNzVkOTdjYw==
5
5
  data.tar.gz: !binary |-
6
- OWQxMGM0Mjk1NWViOWRmZTE5ODZlZWU2ZjBlZWY3YmE2MmI4YzVhOA==
6
+ ZDQ4OTE5YWU1NGJjNTQzY2VkYjE3NDNkZDM3ZTg0OWZlMDVmMDE2Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDYyZjA3ZWRhYTMyZDA4MWFjZGU5NDk1Zjc0MmM5MDY5YTJhOTJjYzg2NmVk
10
- MWY2NzI2ZDc0OGE5MDhjODRjNjhlODVhNmE5YmI2YzBlMGExNTI4ZDZmZjNm
11
- MTc1NDg2N2UyNWRlOTQwYTNjZjI1NjA1M2E4YjJkMDFlMzZkYTI=
9
+ YmRlNDMwMTIwNmVhZTRhMzQ5MDA4YmMwZmIxYzE1ZjA3MmMzYWI0NTk2ZjAx
10
+ YTNmYjZmNGI1ZDQyNDIxY2FhN2RiYmZiNTYzYjY0OGFlNjY4NDk1ZjA3MzUz
11
+ YmRmMjA3ODQxMWNhNDA3YTA2NWEyMzg2ZTkyOTI1MDI4NGZlZTg=
12
12
  data.tar.gz: !binary |-
13
- ZDk0YTQ2NTFlYmU2ZTE2MjA3ODQzNDNlZjNjZDMwMGVhMjhlMDk0OGE3ZDVh
14
- MTg2ODFmMjAyMWVlZTdjNmM2N2Q2ZDEzYzliMWRjNWU0ODIwODUxNzZkMGUy
15
- N2IyZmE2Y2U3Nzc4OWQ5ODE4ZDM0YzBlNjI5ZTdhMTRmZDkyNGI=
13
+ MGRhNGFhODUyNzNhYWFlMjJlYmU4NjllNjNkODdiNTBhODQ5ZjRmNWYxOTVj
14
+ MzcxNWQ5YjU1NmM1YzJiNzdkOTM1ZDBkMTA0NjJlNDRkZmM5MzE0NjBmNTQy
15
+ NTg5OWEyNmJlOTA5NzkyNWQ2Y2Y4YTY1NTIxM2E5YmM5NTc1OTE=
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
1
  build
2
2
  env.sh
3
3
  *.psd
4
+ aa.rb
5
+ aa.txt
data/Gemfile.lock CHANGED
@@ -5,48 +5,56 @@ GEM
5
5
  i18n (= 0.6.1)
6
6
  multi_json (~> 1.0)
7
7
  addressable (2.3.4)
8
- bubble-wrap (1.1.5)
9
- cocoapods (0.16.4)
10
- activesupport (~> 3.2.6)
8
+ bubble-wrap (1.3.0)
9
+ claide (0.3.2)
10
+ cocoapods (0.20.0)
11
+ activesupport (~> 3.2.13)
12
+ claide (~> 0.3.0)
13
+ cocoapods-core (= 0.20.0)
14
+ cocoapods-downloader (~> 0.1.1)
11
15
  colored (~> 1.2)
12
16
  escape (~> 0.0.4)
13
17
  faraday (~> 0.8.1)
14
- json (~> 1.7.3)
18
+ json (~> 1.8.0)
15
19
  octokit (~> 1.7)
16
20
  open4 (~> 1.3.0)
17
21
  rake (~> 10.0.0)
18
- xcodeproj (~> 0.5.0)
22
+ xcodeproj (~> 0.6.0)
23
+ cocoapods-core (0.20.0)
24
+ activesupport (~> 3.2.13)
25
+ rake (~> 10.0.0)
26
+ cocoapods-downloader (0.1.1)
19
27
  colored (1.2)
20
28
  css_parser (1.3.4)
21
29
  addressable
22
30
  escape (0.0.4)
23
- faraday (0.8.6)
31
+ faraday (0.8.7)
24
32
  multipart-post (~> 1.1)
25
33
  faraday_middleware (0.9.0)
26
34
  faraday (>= 0.7.4, < 0.9)
27
- hashie (1.2.0)
35
+ hashie (2.0.5)
28
36
  i18n (0.6.1)
29
- json (1.7.7)
30
- motion-cocoapods (1.2.2)
31
- cocoapods (>= 0.14.0)
37
+ json (1.8.0)
38
+ motion-cocoapods (1.3.2)
39
+ cocoapods (>= 0.17.0)
32
40
  motion-map (0.0.3)
33
41
  motion-stump (0.2.1)
34
- multi_json (1.7.2)
42
+ multi_json (1.7.3)
35
43
  multipart-post (1.2.0)
36
44
  netrc (0.7.7)
37
- octokit (1.23.0)
45
+ octokit (1.24.0)
38
46
  addressable (~> 2.2)
39
47
  faraday (~> 0.8)
40
48
  faraday_middleware (~> 0.9)
41
- hashie (~> 1.2)
49
+ hashie (~> 2.0)
42
50
  multi_json (~> 1.3)
43
51
  netrc (~> 0.7.7)
44
52
  open4 (1.3.0)
45
53
  plist (3.1.0)
46
- rake (10.0.3)
47
- sugarcube (0.20.9)
48
- xcodeproj (0.5.2)
49
- activesupport (~> 3.2.6)
54
+ rake (10.0.4)
55
+ sugarcube (0.20.21)
56
+ xcodeproj (0.6.0)
57
+ activesupport (~> 3.2.13)
50
58
  colored (~> 1.2)
51
59
 
52
60
  PLATFORMS
data/README.md CHANGED
@@ -25,6 +25,12 @@ gem install motion-awesome
25
25
 
26
26
  - motion-map [https://github.com/derailed/motion-map]
27
27
 
28
+ ## Issues? Try this!
29
+
30
+ If you are adding motion-awesome to an existing project, you may run into a common issue with
31
+ RubyMotion where the added font file is not copied from the resources.
32
+ To fix this simply run a `rake clean` and then try again.
33
+
28
34
  ## Usage
29
35
 
30
36
  ### Creating awesome labels
@@ -44,11 +50,9 @@ end
44
50
  ### Creating awesome buttons
45
51
 
46
52
  ```ruby
47
- class WannaBeCoolController < XXXController
48
- include MotionAwesome
49
-
53
+ class WannaBeCoolController < XXXController
50
54
  def viewDidLoad
51
- button( :legal, size: 40, text:%q{Hit me!} ) do |button|
55
+ MotionAwesome.button( :legal, size: 40, text:%q{Hit me!} ) do |button|
52
56
  button.titleLabel.textColor = 0xFB3223.uicolor
53
57
  button.titleLabel.font = UIFont.fontWithName( 'GillSans', size:30 )
54
58
  button.addTarget( self,
@@ -125,4 +129,7 @@ MotionAwesome is released under the [MIT](http://opensource.org/licenses/MIT) li
125
129
  + 0.0.3:
126
130
  + Mo' spring cleaning
127
131
  + 0.0.4:
128
- + Additional clean up
132
+ + Additional clean up
133
+ + 0.0.5:
134
+ + Upgrade to RM 2.0
135
+ + Upgrade to FontAwesome 3.1.1 - 302 icons. Yeah!
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  $:.unshift('/Library/RubyMotion/lib')
2
- require 'motion/project'
2
+ require 'motion/project/template/ios'
3
3
  require './lib/motion-awesome'
4
4
  require 'sugarcube-gestures'
5
5
 
Binary file
@@ -14,6 +14,8 @@
14
14
  <string>0xf038</string>
15
15
  <key>icon-ambulance</key>
16
16
  <string>0xf0f9</string>
17
+ <key>icon-anchor</key>
18
+ <string>0xf13d</string>
17
19
  <key>icon-angle-down</key>
18
20
  <string>0xf107</string>
19
21
  <key>icon-angle-left</key>
@@ -64,8 +66,12 @@
64
66
  <string>0xf0f7</string>
65
67
  <key>icon-bullhorn</key>
66
68
  <string>0xf0a1</string>
69
+ <key>icon-bullseye</key>
70
+ <string>0xf140</string>
67
71
  <key>icon-calendar</key>
68
72
  <string>0xf073</string>
73
+ <key>icon-calendar-empty</key>
74
+ <string>0xf133</string>
69
75
  <key>icon-camera</key>
70
76
  <string>0xf030</string>
71
77
  <key>icon-camera-retro</key>
@@ -84,12 +90,24 @@
84
90
  <string>0xf046</string>
85
91
  <key>icon-check-empty</key>
86
92
  <string>0xf096</string>
93
+ <key>icon-check-minus</key>
94
+ <string>0xf147</string>
95
+ <key>icon-check-sign</key>
96
+ <string>0xf14a</string>
87
97
  <key>icon-chevron-down</key>
88
98
  <string>0xf078</string>
89
99
  <key>icon-chevron-left</key>
90
100
  <string>0xf053</string>
91
101
  <key>icon-chevron-right</key>
92
102
  <string>0xf054</string>
103
+ <key>icon-chevron-sign-down</key>
104
+ <string>0xf13a</string>
105
+ <key>icon-chevron-sign-left</key>
106
+ <string>0xf137</string>
107
+ <key>icon-chevron-sign-right</key>
108
+ <string>0xf138</string>
109
+ <key>icon-chevron-sign-up</key>
110
+ <string>0xf139</string>
93
111
  <key>icon-chevron-up</key>
94
112
  <string>0xf077</string>
95
113
  <key>icon-circle</key>
@@ -110,12 +128,18 @@
110
128
  <string>0xf0ed</string>
111
129
  <key>icon-cloud-upload</key>
112
130
  <string>0xf0ee</string>
131
+ <key>icon-code</key>
132
+ <string>0xf121</string>
133
+ <key>icon-code-fork</key>
134
+ <string>0xf126</string>
113
135
  <key>icon-coffee</key>
114
136
  <string>0xf0f4</string>
115
137
  <key>icon-cog</key>
116
138
  <string>0xf013</string>
117
139
  <key>icon-cogs</key>
118
140
  <string>0xf085</string>
141
+ <key>icon-collapse-alt</key>
142
+ <string>0xf117</string>
119
143
  <key>icon-columns</key>
120
144
  <string>0xf0db</string>
121
145
  <key>icon-comment</key>
@@ -130,6 +154,10 @@
130
154
  <string>0xf0c5</string>
131
155
  <key>icon-credit-card</key>
132
156
  <string>0xf09d</string>
157
+ <key>icon-crop</key>
158
+ <string>0xf125</string>
159
+ <key>icon-css3</key>
160
+ <string>0xf13c</string>
133
161
  <key>icon-cut</key>
134
162
  <string>0xf0c4</string>
135
163
  <key>icon-dashboard</key>
@@ -150,18 +178,32 @@
150
178
  <string>0xf019</string>
151
179
  <key>icon-edit</key>
152
180
  <string>0xf044</string>
181
+ <key>icon-edit-sign</key>
182
+ <string>0xf14b</string>
153
183
  <key>icon-eject</key>
154
184
  <string>0xf052</string>
185
+ <key>icon-ellipsis-horizontal</key>
186
+ <string>0xf141</string>
187
+ <key>icon-ellipsis-vertical</key>
188
+ <string>0xf142</string>
155
189
  <key>icon-envelope</key>
156
190
  <string>0xf003</string>
157
191
  <key>icon-envelope-alt</key>
158
192
  <string>0xf0e0</string>
193
+ <key>icon-eraser</key>
194
+ <string>0xf12d</string>
159
195
  <key>icon-exchange</key>
160
196
  <string>0xf0ec</string>
197
+ <key>icon-exclamation</key>
198
+ <string>0xf12a</string>
161
199
  <key>icon-exclamation-sign</key>
162
200
  <string>0xf06a</string>
201
+ <key>icon-expand-alt</key>
202
+ <string>0xf116</string>
163
203
  <key>icon-external-link</key>
164
204
  <string>0xf08e</string>
205
+ <key>icon-external-link-sign</key>
206
+ <string>0xf14c</string>
165
207
  <key>icon-eye-close</key>
166
208
  <string>0xf070</string>
167
209
  <key>icon-eye-open</key>
@@ -188,8 +230,18 @@
188
230
  <string>0xf0b0</string>
189
231
  <key>icon-fire</key>
190
232
  <string>0xf06d</string>
233
+ <key>icon-fire-extinguisher</key>
234
+ <string>0xf134</string>
191
235
  <key>icon-flag</key>
192
236
  <string>0xf024</string>
237
+ <key>icon-flag-alt</key>
238
+ <string>0xf11d</string>
239
+ <key>icon-flag-checkered</key>
240
+ <string>0xf11e</string>
241
+ <key>icon-flip-horizontal</key>
242
+ <string>0x</string>
243
+ <key>icon-flip-vertical</key>
244
+ <string>0x</string>
193
245
  <key>icon-folder-close</key>
194
246
  <string>0xf07b</string>
195
247
  <key>icon-folder-close-alt</key>
@@ -204,14 +256,16 @@
204
256
  <string>0xf0f5</string>
205
257
  <key>icon-forward</key>
206
258
  <string>0xf04e</string>
259
+ <key>icon-frown</key>
260
+ <string>0xf119</string>
207
261
  <key>icon-fullscreen</key>
208
262
  <string>0xf0b2</string>
263
+ <key>icon-gamepad</key>
264
+ <string>0xf11b</string>
209
265
  <key>icon-gift</key>
210
266
  <string>0xf06b</string>
211
267
  <key>icon-github</key>
212
268
  <string>0xf09b</string>
213
- <key>icon-github-alt</key>
214
- <string>0xf113</string>
215
269
  <key>icon-github-sign</key>
216
270
  <string>0xf092</string>
217
271
  <key>icon-glass</key>
@@ -246,18 +300,24 @@
246
300
  <string>0xf015</string>
247
301
  <key>icon-hospital</key>
248
302
  <string>0xf0f8</string>
303
+ <key>icon-html5</key>
304
+ <string>0xf13b</string>
249
305
  <key>icon-inbox</key>
250
306
  <string>0xf01c</string>
251
307
  <key>icon-indent-left</key>
252
308
  <string>0xf03b</string>
253
309
  <key>icon-indent-right</key>
254
310
  <string>0xf03c</string>
311
+ <key>icon-info</key>
312
+ <string>0xf129</string>
255
313
  <key>icon-info-sign</key>
256
314
  <string>0xf05a</string>
257
315
  <key>icon-italic</key>
258
316
  <string>0xf033</string>
259
317
  <key>icon-key</key>
260
318
  <string>0xf084</string>
319
+ <key>icon-keyboard</key>
320
+ <string>0xf11c</string>
261
321
  <key>icon-laptop</key>
262
322
  <string>0xf109</string>
263
323
  <key>icon-leaf</key>
@@ -266,6 +326,10 @@
266
326
  <string>0xf0e3</string>
267
327
  <key>icon-lemon</key>
268
328
  <string>0xf094</string>
329
+ <key>icon-level-down</key>
330
+ <string>0xf149</string>
331
+ <key>icon-level-up</key>
332
+ <string>0xf148</string>
269
333
  <key>icon-lightbulb</key>
270
334
  <string>0xf0eb</string>
271
335
  <key>icon-link</key>
@@ -282,20 +346,38 @@
282
346
  <string>0xf0cb</string>
283
347
  <key>icon-list-ul</key>
284
348
  <string>0xf0ca</string>
349
+ <key>icon-location-arrow</key>
350
+ <string>0xf124</string>
285
351
  <key>icon-lock</key>
286
352
  <string>0xf023</string>
287
353
  <key>icon-magic</key>
288
354
  <string>0xf0d0</string>
289
355
  <key>icon-magnet</key>
290
356
  <string>0xf076</string>
357
+ <key>icon-mail-forward</key>
358
+ <string>0xf064</string>
359
+ <key>icon-mail-reply</key>
360
+ <string>0xf112</string>
361
+ <key>icon-mail-reply-all</key>
362
+ <string>0xf122</string>
291
363
  <key>icon-map-marker</key>
292
364
  <string>0xf041</string>
365
+ <key>icon-maxcdn</key>
366
+ <string>0xf136</string>
293
367
  <key>icon-medkit</key>
294
368
  <string>0xf0fa</string>
369
+ <key>icon-meh</key>
370
+ <string>0xf11a</string>
371
+ <key>icon-microphone</key>
372
+ <string>0xf130</string>
373
+ <key>icon-microphone-off</key>
374
+ <string>0xf131</string>
295
375
  <key>icon-minus</key>
296
376
  <string>0xf068</string>
297
377
  <key>icon-minus-sign</key>
298
378
  <string>0xf056</string>
379
+ <key>icon-minus-sign-alt</key>
380
+ <string>0xf146</string>
299
381
  <key>icon-mobile-phone</key>
300
382
  <string>0xf10b</string>
301
383
  <key>icon-money</key>
@@ -336,6 +418,8 @@
336
418
  <string>0xf04b</string>
337
419
  <key>icon-play-circle</key>
338
420
  <string>0xf01d</string>
421
+ <key>icon-play-sign</key>
422
+ <string>0xf144</string>
339
423
  <key>icon-plus</key>
340
424
  <string>0xf067</string>
341
425
  <key>icon-plus-sign</key>
@@ -346,8 +430,12 @@
346
430
  <string>0xf02f</string>
347
431
  <key>icon-pushpin</key>
348
432
  <string>0xf08d</string>
433
+ <key>icon-puzzle-piece</key>
434
+ <string>0xf12e</string>
349
435
  <key>icon-qrcode</key>
350
436
  <string>0xf029</string>
437
+ <key>icon-question</key>
438
+ <string>0xf128</string>
351
439
  <key>icon-question-sign</key>
352
440
  <string>0xf059</string>
353
441
  <key>icon-quote-left</key>
@@ -370,6 +458,8 @@
370
458
  <string>0xf01e</string>
371
459
  <key>icon-reply</key>
372
460
  <string>0xf112</string>
461
+ <key>icon-reply-all</key>
462
+ <string>0xf122</string>
373
463
  <key>icon-resize-full</key>
374
464
  <string>0xf065</string>
375
465
  <key>icon-resize-horizontal</key>
@@ -382,8 +472,22 @@
382
472
  <string>0xf079</string>
383
473
  <key>icon-road</key>
384
474
  <string>0xf018</string>
475
+ <key>icon-rocket</key>
476
+ <string>0xf135</string>
477
+ <key>icon-rotate-180</key>
478
+ <string>0x</string>
479
+ <key>icon-rotate-270</key>
480
+ <string>0x</string>
481
+ <key>icon-rotate-90</key>
482
+ <string>0x</string>
483
+ <key>icon-rotate-left</key>
484
+ <string>0xf0e2</string>
485
+ <key>icon-rotate-right</key>
486
+ <string>0xf01e</string>
385
487
  <key>icon-rss</key>
386
488
  <string>0xf09e</string>
489
+ <key>icon-rss-sign</key>
490
+ <string>0xf143</string>
387
491
  <key>icon-save</key>
388
492
  <string>0xf0c7</string>
389
493
  <key>icon-screenshot</key>
@@ -394,6 +498,10 @@
394
498
  <string>0xf045</string>
395
499
  <key>icon-share-alt</key>
396
500
  <string>0xf064</string>
501
+ <key>icon-share-sign</key>
502
+ <string>0xf14d</string>
503
+ <key>icon-shield</key>
504
+ <string>0xf132</string>
397
505
  <key>icon-shopping-cart</key>
398
506
  <string>0xf07a</string>
399
507
  <key>icon-sign-blank</key>
@@ -406,6 +514,8 @@
406
514
  <string>0xf08b</string>
407
515
  <key>icon-sitemap</key>
408
516
  <string>0xf0e8</string>
517
+ <key>icon-smile</key>
518
+ <string>0xf118</string>
409
519
  <key>icon-sort</key>
410
520
  <string>0xf0dc</string>
411
521
  <key>icon-sort-down</key>
@@ -420,6 +530,10 @@
420
530
  <string>0xf006</string>
421
531
  <key>icon-star-half</key>
422
532
  <string>0xf089</string>
533
+ <key>icon-star-half-empty</key>
534
+ <string>0xf123</string>
535
+ <key>icon-star-half-full</key>
536
+ <string>0xf123</string>
423
537
  <key>icon-step-backward</key>
424
538
  <string>0xf048</string>
425
539
  <key>icon-step-forward</key>
@@ -430,8 +544,12 @@
430
544
  <string>0xf04d</string>
431
545
  <key>icon-strikethrough</key>
432
546
  <string>0xf0cc</string>
547
+ <key>icon-subscript</key>
548
+ <string>0xf12c</string>
433
549
  <key>icon-suitcase</key>
434
550
  <string>0xf0f2</string>
551
+ <key>icon-superscript</key>
552
+ <string>0xf12b</string>
435
553
  <key>icon-table</key>
436
554
  <string>0xf0ce</string>
437
555
  <key>icon-tablet</key>
@@ -442,6 +560,8 @@
442
560
  <string>0xf02c</string>
443
561
  <key>icon-tasks</key>
444
562
  <string>0xf0ae</string>
563
+ <key>icon-terminal</key>
564
+ <string>0xf120</string>
445
565
  <key>icon-text-height</key>
446
566
  <string>0xf034</string>
447
567
  <key>icon-text-width</key>
@@ -456,6 +576,8 @@
456
576
  <string>0xf088</string>
457
577
  <key>icon-thumbs-up</key>
458
578
  <string>0xf087</string>
579
+ <key>icon-ticket</key>
580
+ <string>0xf145</string>
459
581
  <key>icon-time</key>
460
582
  <string>0xf017</string>
461
583
  <key>icon-tint</key>
@@ -476,8 +598,12 @@
476
598
  <string>0xf0cd</string>
477
599
  <key>icon-undo</key>
478
600
  <string>0xf0e2</string>
601
+ <key>icon-unlink</key>
602
+ <string>0xf127</string>
479
603
  <key>icon-unlock</key>
480
604
  <string>0xf09c</string>
605
+ <key>icon-unlock-alt</key>
606
+ <string>0xf13e</string>
481
607
  <key>icon-upload</key>
482
608
  <string>0xf01b</string>
483
609
  <key>icon-upload-alt</key>
@@ -501,4 +627,4 @@
501
627
  <key>icon-zoom-out</key>
502
628
  <string>0xf010</string>
503
629
  </dict>
504
- </plist>
630
+ </plist>
@@ -1,3 +1,3 @@
1
1
  module MotionAwesome
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-awesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernand Galiana
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-20 00:00:00.000000000 Z
11
+ date: 2013-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  prerelease: false