motion-prime 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDJkNjczMjI4MjA3OTZjZjM5ZGNkOTliZjhiMDMzNGYzM2Q2ODFlNQ==
5
- data.tar.gz: !binary |-
6
- M2ZjNWU2ZTNiZDlmN2NlNzE1M2QxN2RkOTdhMmFiYTYwZTljOWU3Mg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- Y2Y1M2RlNWU3YWRmZjRjNjRkOTBkNDc5NzY4OGY1ODViYzc3YjkxOGI1MzAw
10
- OTgzZGFkN2FhZGUzZGQ5OTAzYTA2MDlkMTExOGRiNjI4OTdkNmY1NzViN2Fi
11
- NGE5OWJjZGE1MjY0YzZlNDllZTU4Yjc5Mjg3NTg3MmQ5ODRhYjU=
12
- data.tar.gz: !binary |-
13
- MTU4Zjc1NjgyYzczZDRmNzE0MThhYTI2ZWZmNDdjNzYwNGE2NTNmNzE3Yzc2
14
- ZWE5NWViNWZkMjkwZjQxOTFjMWI5YjY5MjFjYjdiY2Q1MzJhODJmMjM0NDdk
15
- YWQ1NDQ4MDQzM2RlOTdhOTI0YTRhNTY5MmQ0NTg1YTZmOTcxZTk=
2
+ SHA1:
3
+ metadata.gz: cf57e2b87cb9d1c7912cde4c4214abc26989e8cb
4
+ data.tar.gz: b2b2918d58563b1d69cee7d61441506f64e946f8
5
+ SHA512:
6
+ metadata.gz: 06032b2cfc04f709afba17c4d44cf5a71358e66d82f4034fb80abd0c4411f1656e4e4c68dd35c2417d00086af37fed9183dc3fdac0b5bb2c0c3434579a0ee4c8
7
+ data.tar.gz: 2e0a943eb5290ac7cc763e5f1489af9fca9200ead20aa7f9e379c61844ede1b74daa41a42c8b973b5bdd58d99d30a62410d59aa51dd58f3e88da8a6387c951c6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ === 1.0.2
2
+ * Fix regression for UIButton builder
3
+
1
4
  === 1.0.1
2
5
  * bug fixes
3
6
  * support iOS 8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- motion-prime (1.0.1)
4
+ motion-prime (1.0.2)
5
5
  activesupport
6
6
  afmotion (~> 2.1.0)
7
7
  bubble-wrap (~> 1.6.0)
@@ -65,7 +65,7 @@ GEM
65
65
  open4 (1.3.3)
66
66
  rake (10.3.1)
67
67
  rm-digest (0.0.2)
68
- sugarcube (1.6.2)
68
+ sugarcube (1.6.3)
69
69
  thor (0.19.1)
70
70
  xcodeproj (0.16.1)
71
71
  activesupport (~> 3.0)
data/ROADMAP.md CHANGED
@@ -1,12 +1,13 @@
1
1
  === 1.1.0
2
- * grid item width should be calculated based on uicollectionview with
3
- * ability to change access token param name
2
+ * grid item width should be calculated based on uicollectionview with.
3
+ * ability to change access token param name.
4
4
  * bug: if mp label do not have text and was set as hidden, it should unhide after setting text.
5
5
  * bug: size_to_fit works incorrect with relative width.
6
- * bug: bind_keyboard_close breaks bind_guesture
6
+ * bug: bind_keyboard_close breaks bind_guesture.
7
7
  * bug: dealloc of Prime::Section will not be called for cell created in collection_data using #map.
8
8
  * bug: images does not render after reload table if using draw_with_layer (prerender not enabled).
9
- * add dsl for push notifications
9
+ * bug: incorrect height (cropped) for draw label with lineSpacing in cases when there is just one line.
10
+ * add dsl for push notifications.
10
11
  * add some extensions/middleware system, at least for networking.
11
12
  * create "display_network_error" extension.
12
13
  * add different templates. some templates should be more like final app.
@@ -20,6 +21,6 @@
20
21
  === 1.3.0
21
22
  * add cell preload for reverse scrolling table.
22
23
  * add computed_options.get(), this will allow to make sure that options is computed.
23
- * add testing framework
24
- * add DSL for ViewStyles#setValue conditions
24
+ * add testing framework.
25
+ * add DSL for ViewStyles#setValue conditions.
25
26
  * add embed/regular has many types. embedded by default.
data/files/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gem 'motion-cocoapods', '~> 1.4.1'
4
- gem 'motion-prime', '1.0.1'
4
+ gem 'motion-prime', '1.0.2'
5
5
 
6
6
  # add reside menu for sidebar support
7
7
  # gem 'prime_reside_menu', '~> 0.1.4'
@@ -1,3 +1,3 @@
1
1
  module MotionPrime
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -54,7 +54,7 @@ module MotionPrime
54
54
  style = options.delete(:style) || :large.uiactivityindicatorstyle
55
55
  klass.alloc.initWithActivityIndicatorStyle style
56
56
  },
57
- 'UIButton' => Proc.new{|klass, options|
57
+ 'MPButton' => Proc.new{|klass, options|
58
58
  is_custom_button = options[:background_image] || options[:title_color]
59
59
  default_button_type = is_custom_button ? :custom : :rounded
60
60
  button_type = (options.delete(:button_type) || default_button_type).uibuttontype
@@ -84,7 +84,7 @@ module MotionPrime
84
84
  klass.alloc.initWithTransitionStyle(UIPageViewControllerTransitionStylePageCurl,
85
85
  navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal, options:nil)
86
86
  },
87
- 'UITableView' => Proc.new{|klass, options|
87
+ 'MPTableView' => Proc.new{|klass, options|
88
88
  style = options.delete(:style) || UITableViewStylePlain
89
89
  view = klass.alloc.initWithFrame CGRectZero, style: style
90
90
  view.tableFooterView = UIView.new
@@ -172,7 +172,7 @@ module MotionPrime
172
172
  end
173
173
  end
174
174
 
175
- %w[MPLabel MPTextField MPTextView MPButton].each do |default_view|
175
+ %w[MPLabel MPTextField MPTextView].each do |default_view|
176
176
  register default_view do |klass, options|
177
177
  klass.alloc.initWithFrame CGRectZero
178
178
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-prime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iskander Haziev
@@ -9,202 +9,202 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-06 00:00:00.000000000 Z
12
+ date: 2014-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ! '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: motion-stump
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ! '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ! '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: motion-redgreen
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ! '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: cocoapods
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ! '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ! '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: motion-cocoapods
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ! '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ! '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: motion-require
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ! '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ! '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: motion-support
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: 0.2.6
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: 0.2.6
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: bubble-wrap
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ~>
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
118
  version: 1.6.0
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ~>
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
125
  version: 1.6.0
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: sugarcube
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: 1.6.0
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ~>
137
+ - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: 1.6.0
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: afmotion
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - ~>
144
+ - - "~>"
145
145
  - !ruby/object:Gem::Version
146
146
  version: 2.1.0
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - ~>
151
+ - - "~>"
152
152
  - !ruby/object:Gem::Version
153
153
  version: 2.1.0
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: methadone
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ! '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ! '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: rm-digest
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ! '>='
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ! '>='
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: thor
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ! '>='
186
+ - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ! '>='
193
+ - - ">="
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: activesupport
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ! '>='
200
+ - - ">="
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ! '>='
207
+ - - ">="
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  description: RubyMotion apps development framework
@@ -215,9 +215,9 @@ executables:
215
215
  extensions: []
216
216
  extra_rdoc_files: []
217
217
  files:
218
- - .gitignore
219
- - .travis.yml
220
- - .yardopts
218
+ - ".gitignore"
219
+ - ".travis.yml"
220
+ - ".yardopts"
221
221
  - CHANGELOG.md
222
222
  - Gemfile
223
223
  - Gemfile.lock
@@ -431,17 +431,17 @@ require_paths:
431
431
  - lib
432
432
  required_ruby_version: !ruby/object:Gem::Requirement
433
433
  requirements:
434
- - - ! '>='
434
+ - - ">="
435
435
  - !ruby/object:Gem::Version
436
436
  version: '0'
437
437
  required_rubygems_version: !ruby/object:Gem::Requirement
438
438
  requirements:
439
- - - ! '>='
439
+ - - ">="
440
440
  - !ruby/object:Gem::Version
441
441
  version: '0'
442
442
  requirements: []
443
443
  rubyforge_project:
444
- rubygems_version: 2.0.5
444
+ rubygems_version: 2.2.2
445
445
  signing_key:
446
446
  specification_version: 4
447
447
  summary: RubyMotion apps development framework