under-os 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +25 -2
  4. data/README.md +1 -1
  5. data/Rakefile +2 -4
  6. data/lib/under-os.rb +3 -8
  7. data/under-os.gemspec +6 -2
  8. metadata +47 -191
  9. data/lib/assets/fontawesome-webfont.ttf +0 -0
  10. data/lib/assets/under-os.css +0 -115
  11. data/lib/under_os.rb +0 -41
  12. data/lib/under_os/app.rb +0 -33
  13. data/lib/under_os/color.rb +0 -184
  14. data/lib/under_os/config.rb +0 -33
  15. data/lib/under_os/core/array.rb +0 -5
  16. data/lib/under_os/core/hash.rb +0 -10
  17. data/lib/under_os/core/json.rb +0 -19
  18. data/lib/under_os/core/kernel.rb +0 -16
  19. data/lib/under_os/core/numeric.rb +0 -23
  20. data/lib/under_os/core/object.rb +0 -9
  21. data/lib/under_os/core/string.rb +0 -80
  22. data/lib/under_os/delegate.rb +0 -10
  23. data/lib/under_os/events.rb +0 -85
  24. data/lib/under_os/file.rb +0 -110
  25. data/lib/under_os/history.rb +0 -53
  26. data/lib/under_os/http.rb +0 -31
  27. data/lib/under_os/http/cookies.rb +0 -30
  28. data/lib/under_os/http/receiver.rb +0 -44
  29. data/lib/under_os/http/request.rb +0 -106
  30. data/lib/under_os/http/response.rb +0 -28
  31. data/lib/under_os/http/session.rb +0 -49
  32. data/lib/under_os/page.rb +0 -169
  33. data/lib/under_os/page/builder.rb +0 -96
  34. data/lib/under_os/page/layout.rb +0 -43
  35. data/lib/under_os/page/matcher.rb +0 -128
  36. data/lib/under_os/page/stylesheet.rb +0 -67
  37. data/lib/under_os/parser.rb +0 -24
  38. data/lib/under_os/parser/css.rb +0 -37
  39. data/lib/under_os/parser/html.rb +0 -97
  40. data/lib/under_os/point.rb +0 -47
  41. data/lib/under_os/screen.rb +0 -9
  42. data/lib/under_os/timer.rb +0 -65
  43. data/lib/under_os/ui.rb +0 -3
  44. data/lib/under_os/ui/alert.rb +0 -52
  45. data/lib/under_os/ui/button.rb +0 -42
  46. data/lib/under_os/ui/collection.rb +0 -65
  47. data/lib/under_os/ui/collection/cell.rb +0 -21
  48. data/lib/under_os/ui/collection/delegate.rb +0 -70
  49. data/lib/under_os/ui/collection/item.rb +0 -32
  50. data/lib/under_os/ui/collection/layout.rb +0 -43
  51. data/lib/under_os/ui/collection/styles.rb +0 -15
  52. data/lib/under_os/ui/div.rb +0 -3
  53. data/lib/under_os/ui/form.rb +0 -60
  54. data/lib/under_os/ui/icon.rb +0 -61
  55. data/lib/under_os/ui/icon/awesome.rb +0 -376
  56. data/lib/under_os/ui/icon/engine.rb +0 -10
  57. data/lib/under_os/ui/image.rb +0 -31
  58. data/lib/under_os/ui/input.rb +0 -140
  59. data/lib/under_os/ui/label.rb +0 -21
  60. data/lib/under_os/ui/locker.rb +0 -42
  61. data/lib/under_os/ui/navbar.rb +0 -123
  62. data/lib/under_os/ui/progress.rb +0 -17
  63. data/lib/under_os/ui/scroll.rb +0 -41
  64. data/lib/under_os/ui/select.rb +0 -95
  65. data/lib/under_os/ui/sidebar.rb +0 -45
  66. data/lib/under_os/ui/slider.rb +0 -37
  67. data/lib/under_os/ui/spinner.rb +0 -23
  68. data/lib/under_os/ui/style.rb +0 -21
  69. data/lib/under_os/ui/style/fonts.rb +0 -54
  70. data/lib/under_os/ui/style/margins.rb +0 -164
  71. data/lib/under_os/ui/style/outlining.rb +0 -170
  72. data/lib/under_os/ui/style/positioning.rb +0 -169
  73. data/lib/under_os/ui/switch.rb +0 -26
  74. data/lib/under_os/ui/textarea.rb +0 -19
  75. data/lib/under_os/ui/utils/animation.rb +0 -99
  76. data/lib/under_os/ui/utils/commons.rb +0 -70
  77. data/lib/under_os/ui/utils/dimensions.rb +0 -37
  78. data/lib/under_os/ui/utils/events.rb +0 -170
  79. data/lib/under_os/ui/utils/manipulation.rb +0 -44
  80. data/lib/under_os/ui/utils/position.rb +0 -21
  81. data/lib/under_os/ui/utils/size.rb +0 -21
  82. data/lib/under_os/ui/utils/styles.rb +0 -89
  83. data/lib/under_os/ui/utils/traversing.rb +0 -44
  84. data/lib/under_os/ui/utils/wrap.rb +0 -77
  85. data/lib/under_os/ui/view.rb +0 -31
  86. data/resources/test.png +0 -0
  87. data/spec/assets/app.css +0 -13
  88. data/spec/assets/test.css +0 -7
  89. data/spec/assets/test.html +0 -3
  90. data/spec/assets/test_page.rb +0 -2
  91. data/spec/lib/core/hash_spec.rb +0 -19
  92. data/spec/lib/core/json_spec.rb +0 -32
  93. data/spec/lib/core/numeric_spec.rb +0 -37
  94. data/spec/lib/core/string_spec.rb +0 -121
  95. data/spec/lib/under_os/color_spec.rb +0 -133
  96. data/spec/lib/under_os/events_spec.rb +0 -71
  97. data/spec/lib/under_os/file_spec.rb +0 -98
  98. data/spec/lib/under_os/http/cookies_spec.rb +0 -13
  99. data/spec/lib/under_os/http/request_spec.rb +0 -44
  100. data/spec/lib/under_os/http_spec.rb +0 -20
  101. data/spec/lib/under_os/page/builder_spec.rb +0 -128
  102. data/spec/lib/under_os/page/layout_spec.rb +0 -18
  103. data/spec/lib/under_os/page/matcher_spec.rb +0 -260
  104. data/spec/lib/under_os/page/stylesheet_spec.rb +0 -83
  105. data/spec/lib/under_os/page_spec.rb +0 -5
  106. data/spec/lib/under_os/parser/css_spec.rb +0 -77
  107. data/spec/lib/under_os/parser/html_spec.rb +0 -152
  108. data/spec/lib/under_os/parser_spec.rb +0 -16
  109. data/spec/lib/under_os/point_spec.rb +0 -54
  110. data/spec/lib/under_os/screen_spec.rb +0 -11
  111. data/spec/lib/under_os/timer_spec.rb +0 -93
  112. data/spec/lib/under_os/ui/button_spec.rb +0 -50
  113. data/spec/lib/under_os/ui/collection_spec.rb +0 -19
  114. data/spec/lib/under_os/ui/div_spec.rb +0 -24
  115. data/spec/lib/under_os/ui/form_spec.rb +0 -156
  116. data/spec/lib/under_os/ui/icon_spec.rb +0 -57
  117. data/spec/lib/under_os/ui/image_spec.rb +0 -39
  118. data/spec/lib/under_os/ui/input_spec.rb +0 -109
  119. data/spec/lib/under_os/ui/label_spec.rb +0 -22
  120. data/spec/lib/under_os/ui/locker_spec.rb +0 -31
  121. data/spec/lib/under_os/ui/progress_spec.rb +0 -31
  122. data/spec/lib/under_os/ui/scroll_spec.rb +0 -40
  123. data/spec/lib/under_os/ui/select_spec.rb +0 -135
  124. data/spec/lib/under_os/ui/sidebar_spec.rb +0 -35
  125. data/spec/lib/under_os/ui/slider_spec.rb +0 -69
  126. data/spec/lib/under_os/ui/spinner_spec.rb +0 -57
  127. data/spec/lib/under_os/ui/style/fonts_spec.rb +0 -73
  128. data/spec/lib/under_os/ui/style/margins_spec.rb +0 -106
  129. data/spec/lib/under_os/ui/style/outlining_spec.rb +0 -101
  130. data/spec/lib/under_os/ui/style/positioning_spec.rb +0 -69
  131. data/spec/lib/under_os/ui/style_spec.rb +0 -19
  132. data/spec/lib/under_os/ui/switch_spec.rb +0 -60
  133. data/spec/lib/under_os/ui/textarea_spec.rb +0 -34
  134. data/spec/lib/under_os/ui/utils/commons_spec.rb +0 -81
  135. data/spec/lib/under_os/ui/utils/events_spec.rb +0 -87
  136. data/spec/lib/under_os/ui/utils/manipulation_spec.rb +0 -130
  137. data/spec/lib/under_os/ui/utils/styles_spec.rb +0 -140
  138. data/spec/lib/under_os/ui/utils/traversing_spec.rb +0 -124
  139. data/spec/lib/under_os/ui/utils/wrap_spec.rb +0 -69
  140. data/spec/lib/under_os/ui/view_spec.rb +0 -39
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c85e8e24c0882f5dd2129ab806fc38c6af5086b9
4
- data.tar.gz: 943c82a084c7b39be0c67d9931f6b956e90b5e7b
3
+ metadata.gz: 047f9bdc87facaca44723981612bf2f4b128bf78
4
+ data.tar.gz: d512244df85b7991e14eec89969f4e49ceca01b9
5
5
  SHA512:
6
- metadata.gz: b49c68493a565fe87549b70cfb19f33d861ad8d7a164b918a3875485c4b965a11eddf636a26800b72384d7a881acf14ecd24f313445317bf1369d68a434a5ef8
7
- data.tar.gz: b3b2067131c19751aed7c5e3478b60bae458aaedd59d8bde0cf84e1ab7fde5c5094113566b942e520aa3d01fe203f19b4a3f904459bc7aa9936377bd7f187dba
6
+ metadata.gz: b261607822c0a9db4d045ea36157648ce8aeda0847ec3009fb540d8acad9124ccc88482c053f3420f6f19959b1578fb66a68c074c5ea9eebc3e8ca9e982d2de9
7
+ data.tar.gz: 1acad7166a9854bbf398e30d58b5fa8f298789ecc796bbfab5e5012be96363a46369d94fd373725f68ff099a46924f6328cf520e18153dc5b79f5d7e3ae661ef
data/Gemfile CHANGED
@@ -1,3 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'under-os-core', path: './gems/under-os-core'
4
+ gem 'under-os-http', path: './gems/under-os-http'
5
+ gem 'under-os-ui', path: './gems/under-os-ui'
6
+
3
7
  gemspec
@@ -1,13 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- under-os (1.2.1)
4
+ under-os (1.4.0)
5
+ under-os-core (= 1.4.0)
6
+ under-os-http (= 1.4.0)
7
+ under-os-ui (= 1.4.0)
8
+
9
+ PATH
10
+ remote: ./gems/under-os-core
11
+ specs:
12
+ under-os-core (1.4.0)
13
+
14
+ PATH
15
+ remote: ./gems/under-os-http
16
+ specs:
17
+ under-os-http (1.4.0)
18
+ under-os-core (= 1.4.0)
19
+
20
+ PATH
21
+ remote: ./gems/under-os-ui
22
+ specs:
23
+ under-os-ui (1.4.0)
24
+ under-os-core (= 1.4.0)
5
25
 
6
26
  GEM
7
27
  remote: https://rubygems.org/
8
28
  specs:
9
29
  motion-facon (0.5.0.1)
10
- rake (10.1.1)
30
+ rake (10.2.2)
11
31
 
12
32
  PLATFORMS
13
33
  ruby
@@ -16,3 +36,6 @@ DEPENDENCIES
16
36
  motion-facon
17
37
  rake
18
38
  under-os!
39
+ under-os-core!
40
+ under-os-http!
41
+ under-os-ui!
data/README.md CHANGED
@@ -33,7 +33,7 @@ cd test && rake
33
33
  ```
34
34
 
35
35
 
36
- # Copyright & License
36
+ ## Copyright & License
37
37
 
38
38
  All code in this library is released under the terms of the MIT license
39
39
 
data/Rakefile CHANGED
@@ -4,13 +4,12 @@ require 'motion/project/template/ios'
4
4
  require 'bundler'
5
5
  Bundler.require
6
6
 
7
- require 'under-os'
8
7
  require 'motion-facon' if ARGV[0] == 'spec'
9
8
 
10
9
  Motion::Project::App.setup do |app|
11
10
  app.name = 'uos-demo'
12
11
  app.identifier = 'com.under-os.demo'
13
- app.specs_dir = './spec/lib'
12
+ app.specs_dir = './gems/*/spec'
14
13
  app.version = UnderOs::VERSION
15
14
 
16
15
  app.codesign_certificate = ENV['RUBYMOTION_CERTIFICATE']
@@ -19,7 +18,6 @@ Motion::Project::App.setup do |app|
19
18
  if ARGV[0] == 'spec'
20
19
  app.name = 'uos-spec'
21
20
  app.identifier = 'com.under-os.spec'
22
- app.files << 'spec/assets/test_page.rb'
23
- app.resources_dirs.unshift "./spec/assets/"
21
+ app.resources_dirs.unshift "./gems/under-os-ui/spec/assets/"
24
22
  end
25
23
  end
@@ -1,8 +1,3 @@
1
- require File.dirname(__FILE__) + "/under_os.rb"
2
-
3
- UnderOs.extend __FILE__ do |app|
4
- app.resources_dirs << "app/styles/" if File.exists?("app/styles")
5
- app.resources_dirs << "app/layouts/" if File.exists?("app/layouts")
6
-
7
- app.fonts << "fontawesome-webfont.ttf"
8
- end
1
+ require "under-os-core"
2
+ require "under-os-http"
3
+ require "under-os-ui"
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/under_os', __FILE__)
2
+ require File.dirname(__FILE__) + '/gems/under-os-core/lib/under_os'
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = "under-os"
@@ -12,10 +12,14 @@ Gem::Specification.new do |gem|
12
12
  gem.summary = "A web-broser like wrapper over iOS using RubyMotion"
13
13
  gem.license = 'MIT'
14
14
 
15
- gem.files = `git ls-files`.split($/)
15
+ gem.files = `git ls-files`.split($/).reject{|f| f.slice(0,5) == 'gems/'}
16
16
  gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
 
19
+ gem.add_dependency 'under-os-core', UnderOs::VERSION
20
+ gem.add_dependency 'under-os-http', UnderOs::VERSION
21
+ gem.add_dependency 'under-os-ui', UnderOs::VERSION
22
+
19
23
  gem.add_development_dependency 'rake'
20
24
  gem.add_development_dependency 'motion-facon'
21
25
 
metadata CHANGED
@@ -1,15 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: under-os
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Nemshilov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-24 00:00:00.000000000 Z
11
+ date: 2014-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: under-os-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.4.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.4.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: under-os-http
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.4.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.4.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: under-os-ui
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.4.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.4.0
13
55
  - !ruby/object:Gem::Dependency
14
56
  name: rake
15
57
  requirement: !ruby/object:Gem::Requirement
@@ -82,140 +124,8 @@ files:
82
124
  - app/styles/scrolls.css
83
125
  - app/styles/sidebars.css
84
126
  - ext/extconf.rb
85
- - lib/assets/fontawesome-webfont.ttf
86
- - lib/assets/under-os.css
87
127
  - lib/under-os.rb
88
- - lib/under_os.rb
89
- - lib/under_os/app.rb
90
- - lib/under_os/color.rb
91
- - lib/under_os/config.rb
92
- - lib/under_os/core/array.rb
93
- - lib/under_os/core/hash.rb
94
- - lib/under_os/core/json.rb
95
- - lib/under_os/core/kernel.rb
96
- - lib/under_os/core/numeric.rb
97
- - lib/under_os/core/object.rb
98
- - lib/under_os/core/string.rb
99
- - lib/under_os/delegate.rb
100
- - lib/under_os/events.rb
101
- - lib/under_os/file.rb
102
- - lib/under_os/history.rb
103
- - lib/under_os/http.rb
104
- - lib/under_os/http/cookies.rb
105
- - lib/under_os/http/receiver.rb
106
- - lib/under_os/http/request.rb
107
- - lib/under_os/http/response.rb
108
- - lib/under_os/http/session.rb
109
- - lib/under_os/page.rb
110
- - lib/under_os/page/builder.rb
111
- - lib/under_os/page/layout.rb
112
- - lib/under_os/page/matcher.rb
113
- - lib/under_os/page/stylesheet.rb
114
- - lib/under_os/parser.rb
115
- - lib/under_os/parser/css.rb
116
- - lib/under_os/parser/html.rb
117
- - lib/under_os/point.rb
118
- - lib/under_os/screen.rb
119
- - lib/under_os/timer.rb
120
- - lib/under_os/ui.rb
121
- - lib/under_os/ui/alert.rb
122
- - lib/under_os/ui/button.rb
123
- - lib/under_os/ui/collection.rb
124
- - lib/under_os/ui/collection/cell.rb
125
- - lib/under_os/ui/collection/delegate.rb
126
- - lib/under_os/ui/collection/item.rb
127
- - lib/under_os/ui/collection/layout.rb
128
- - lib/under_os/ui/collection/styles.rb
129
- - lib/under_os/ui/div.rb
130
- - lib/under_os/ui/form.rb
131
- - lib/under_os/ui/icon.rb
132
- - lib/under_os/ui/icon/awesome.rb
133
- - lib/under_os/ui/icon/engine.rb
134
- - lib/under_os/ui/image.rb
135
- - lib/under_os/ui/input.rb
136
- - lib/under_os/ui/label.rb
137
- - lib/under_os/ui/locker.rb
138
- - lib/under_os/ui/navbar.rb
139
- - lib/under_os/ui/progress.rb
140
- - lib/under_os/ui/scroll.rb
141
- - lib/under_os/ui/select.rb
142
- - lib/under_os/ui/sidebar.rb
143
- - lib/under_os/ui/slider.rb
144
- - lib/under_os/ui/spinner.rb
145
- - lib/under_os/ui/style.rb
146
- - lib/under_os/ui/style/fonts.rb
147
- - lib/under_os/ui/style/margins.rb
148
- - lib/under_os/ui/style/outlining.rb
149
- - lib/under_os/ui/style/positioning.rb
150
- - lib/under_os/ui/switch.rb
151
- - lib/under_os/ui/textarea.rb
152
- - lib/under_os/ui/utils/animation.rb
153
- - lib/under_os/ui/utils/commons.rb
154
- - lib/under_os/ui/utils/dimensions.rb
155
- - lib/under_os/ui/utils/events.rb
156
- - lib/under_os/ui/utils/manipulation.rb
157
- - lib/under_os/ui/utils/position.rb
158
- - lib/under_os/ui/utils/size.rb
159
- - lib/under_os/ui/utils/styles.rb
160
- - lib/under_os/ui/utils/traversing.rb
161
- - lib/under_os/ui/utils/wrap.rb
162
- - lib/under_os/ui/view.rb
163
128
  - resources/Default-568h@2x.png
164
- - resources/test.png
165
- - spec/assets/app.css
166
- - spec/assets/test.css
167
- - spec/assets/test.html
168
- - spec/assets/test_page.rb
169
- - spec/lib/core/hash_spec.rb
170
- - spec/lib/core/json_spec.rb
171
- - spec/lib/core/numeric_spec.rb
172
- - spec/lib/core/string_spec.rb
173
- - spec/lib/under_os/color_spec.rb
174
- - spec/lib/under_os/events_spec.rb
175
- - spec/lib/under_os/file_spec.rb
176
- - spec/lib/under_os/http/cookies_spec.rb
177
- - spec/lib/under_os/http/request_spec.rb
178
- - spec/lib/under_os/http_spec.rb
179
- - spec/lib/under_os/page/builder_spec.rb
180
- - spec/lib/under_os/page/layout_spec.rb
181
- - spec/lib/under_os/page/matcher_spec.rb
182
- - spec/lib/under_os/page/stylesheet_spec.rb
183
- - spec/lib/under_os/page_spec.rb
184
- - spec/lib/under_os/parser/css_spec.rb
185
- - spec/lib/under_os/parser/html_spec.rb
186
- - spec/lib/under_os/parser_spec.rb
187
- - spec/lib/under_os/point_spec.rb
188
- - spec/lib/under_os/screen_spec.rb
189
- - spec/lib/under_os/timer_spec.rb
190
- - spec/lib/under_os/ui/button_spec.rb
191
- - spec/lib/under_os/ui/collection_spec.rb
192
- - spec/lib/under_os/ui/div_spec.rb
193
- - spec/lib/under_os/ui/form_spec.rb
194
- - spec/lib/under_os/ui/icon_spec.rb
195
- - spec/lib/under_os/ui/image_spec.rb
196
- - spec/lib/under_os/ui/input_spec.rb
197
- - spec/lib/under_os/ui/label_spec.rb
198
- - spec/lib/under_os/ui/locker_spec.rb
199
- - spec/lib/under_os/ui/progress_spec.rb
200
- - spec/lib/under_os/ui/scroll_spec.rb
201
- - spec/lib/under_os/ui/select_spec.rb
202
- - spec/lib/under_os/ui/sidebar_spec.rb
203
- - spec/lib/under_os/ui/slider_spec.rb
204
- - spec/lib/under_os/ui/spinner_spec.rb
205
- - spec/lib/under_os/ui/style/fonts_spec.rb
206
- - spec/lib/under_os/ui/style/margins_spec.rb
207
- - spec/lib/under_os/ui/style/outlining_spec.rb
208
- - spec/lib/under_os/ui/style/positioning_spec.rb
209
- - spec/lib/under_os/ui/style_spec.rb
210
- - spec/lib/under_os/ui/switch_spec.rb
211
- - spec/lib/under_os/ui/textarea_spec.rb
212
- - spec/lib/under_os/ui/utils/commons_spec.rb
213
- - spec/lib/under_os/ui/utils/events_spec.rb
214
- - spec/lib/under_os/ui/utils/manipulation_spec.rb
215
- - spec/lib/under_os/ui/utils/styles_spec.rb
216
- - spec/lib/under_os/ui/utils/traversing_spec.rb
217
- - spec/lib/under_os/ui/utils/wrap_spec.rb
218
- - spec/lib/under_os/ui/view_spec.rb
219
129
  - template/uos/.gitignore
220
130
  - template/uos/Gemfile
221
131
  - template/uos/Rakefile.erb
@@ -234,7 +144,7 @@ licenses:
234
144
  - MIT
235
145
  metadata: {}
236
146
  post_install_message: |2+
237
- = UnderOS 1.3.0 =
147
+ = UnderOS 1.4.0 =
238
148
 
239
149
  To get started run the following:
240
150
 
@@ -257,62 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
167
  version: '0'
258
168
  requirements: []
259
169
  rubyforge_project:
260
- rubygems_version: 2.2.0
170
+ rubygems_version: 2.2.2
261
171
  signing_key:
262
172
  specification_version: 4
263
173
  summary: A web-broser like wrapper over iOS using RubyMotion
264
- test_files:
265
- - spec/assets/app.css
266
- - spec/assets/test.css
267
- - spec/assets/test.html
268
- - spec/assets/test_page.rb
269
- - spec/lib/core/hash_spec.rb
270
- - spec/lib/core/json_spec.rb
271
- - spec/lib/core/numeric_spec.rb
272
- - spec/lib/core/string_spec.rb
273
- - spec/lib/under_os/color_spec.rb
274
- - spec/lib/under_os/events_spec.rb
275
- - spec/lib/under_os/file_spec.rb
276
- - spec/lib/under_os/http/cookies_spec.rb
277
- - spec/lib/under_os/http/request_spec.rb
278
- - spec/lib/under_os/http_spec.rb
279
- - spec/lib/under_os/page/builder_spec.rb
280
- - spec/lib/under_os/page/layout_spec.rb
281
- - spec/lib/under_os/page/matcher_spec.rb
282
- - spec/lib/under_os/page/stylesheet_spec.rb
283
- - spec/lib/under_os/page_spec.rb
284
- - spec/lib/under_os/parser/css_spec.rb
285
- - spec/lib/under_os/parser/html_spec.rb
286
- - spec/lib/under_os/parser_spec.rb
287
- - spec/lib/under_os/point_spec.rb
288
- - spec/lib/under_os/screen_spec.rb
289
- - spec/lib/under_os/timer_spec.rb
290
- - spec/lib/under_os/ui/button_spec.rb
291
- - spec/lib/under_os/ui/collection_spec.rb
292
- - spec/lib/under_os/ui/div_spec.rb
293
- - spec/lib/under_os/ui/form_spec.rb
294
- - spec/lib/under_os/ui/icon_spec.rb
295
- - spec/lib/under_os/ui/image_spec.rb
296
- - spec/lib/under_os/ui/input_spec.rb
297
- - spec/lib/under_os/ui/label_spec.rb
298
- - spec/lib/under_os/ui/locker_spec.rb
299
- - spec/lib/under_os/ui/progress_spec.rb
300
- - spec/lib/under_os/ui/scroll_spec.rb
301
- - spec/lib/under_os/ui/select_spec.rb
302
- - spec/lib/under_os/ui/sidebar_spec.rb
303
- - spec/lib/under_os/ui/slider_spec.rb
304
- - spec/lib/under_os/ui/spinner_spec.rb
305
- - spec/lib/under_os/ui/style/fonts_spec.rb
306
- - spec/lib/under_os/ui/style/margins_spec.rb
307
- - spec/lib/under_os/ui/style/outlining_spec.rb
308
- - spec/lib/under_os/ui/style/positioning_spec.rb
309
- - spec/lib/under_os/ui/style_spec.rb
310
- - spec/lib/under_os/ui/switch_spec.rb
311
- - spec/lib/under_os/ui/textarea_spec.rb
312
- - spec/lib/under_os/ui/utils/commons_spec.rb
313
- - spec/lib/under_os/ui/utils/events_spec.rb
314
- - spec/lib/under_os/ui/utils/manipulation_spec.rb
315
- - spec/lib/under_os/ui/utils/styles_spec.rb
316
- - spec/lib/under_os/ui/utils/traversing_spec.rb
317
- - spec/lib/under_os/ui/utils/wrap_spec.rb
318
- - spec/lib/under_os/ui/view_spec.rb
174
+ test_files: []
@@ -1,115 +0,0 @@
1
- /**
2
- * The under-os stock stylesheet
3
- */
4
-
5
- button {
6
- color: black;
7
- background: #ddd;
8
- border-radius: 5;
9
- }
10
-
11
- image.uos-background-image {
12
- top: 0;
13
- left: 0;
14
- width: 100%;
15
- height: 100%;
16
- }
17
-
18
- icon {
19
- color: black;
20
- }
21
- icon.navbar-item {
22
- color: #007AFF;
23
- font-size: 24;
24
- width: 24;
25
- height: 24;
26
- text-align: right;
27
- padding-top: 4;
28
- }
29
-
30
- input, textarea {
31
- border-width: 1;
32
- border-color: #ddd;
33
- border-radius: 2;
34
- }
35
-
36
- slider {
37
- height: 30;
38
- }
39
-
40
- sidebar {
41
- display: none;
42
- z-index: 1000;
43
- }
44
-
45
- sidebar.left, sidebar.right {
46
- height: 100%;
47
- top: 0;
48
- }
49
-
50
- sidebar.top, sidebar.bottom {
51
- width: 100%;
52
- left: 0;
53
- }
54
-
55
- select {
56
- display: none;
57
- background: white;
58
- bottom: 0;
59
- }
60
-
61
- scroll {
62
- content-width: auto;
63
- content-height: auto;
64
- }
65
-
66
- spinner {
67
- color: black;
68
- }
69
-
70
- locker {
71
- top: 0;
72
- left: 0;
73
- width: 100%;
74
- height: 100%;
75
- background: rgba(0,0,0,0.5);
76
- z-index: 10000;
77
- }
78
-
79
- locker view.locker-dialog {
80
- width: 60;
81
- height: 60;
82
- left: 130;
83
- top: 254;
84
- background: rgba(0,0,0,0.8);
85
- border-radius: 5;
86
- }
87
-
88
- locker spinner {
89
- color: white;
90
- width: 100%;
91
- height: 100%;
92
- background: transparent;
93
- }
94
-
95
- locker label {
96
- color: white;
97
- width: 80%;
98
- height: 15;
99
- bottom: 8;
100
- left: 8;
101
- text-align: center;
102
- font-size: 12;
103
- }
104
-
105
-
106
- locker.with-label view.locker-dialog {
107
- width: 80;
108
- height: 80;
109
- left: 120;
110
- top: 244;
111
- }
112
-
113
- locker.with-label spinner {
114
- height: 90%;
115
- }