bubble-wrap 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +183 -66
  3. data/Rakefile +6 -6
  4. data/bubble-wrap.gemspec +10 -5
  5. data/lib/bubble-wrap.rb +4 -39
  6. data/lib/bubble-wrap/core.rb +7 -0
  7. data/lib/bubble-wrap/ext.rb +2 -0
  8. data/lib/bubble-wrap/ext/motion_project_app.rb +26 -0
  9. data/lib/bubble-wrap/ext/motion_project_config.rb +21 -0
  10. data/lib/bubble-wrap/http.rb +2 -249
  11. data/lib/bubble-wrap/loader.rb +23 -0
  12. data/lib/bubble-wrap/requirement.rb +88 -0
  13. data/lib/bubble-wrap/requirement/path_manipulation.rb +40 -0
  14. data/lib/bubble-wrap/version.rb +1 -1
  15. data/lib_spec/bubble-wrap/requirement/path_manipulation_spec.rb +51 -0
  16. data/lib_spec/bubble-wrap/requirement_spec.rb +72 -0
  17. data/lib_spec/bubble-wrap_spec.rb +17 -0
  18. data/lib_spec/motion_stub.rb +12 -0
  19. data/{lib/bubble-wrap/module.rb → motion/core.rb} +0 -0
  20. data/{lib/bubble-wrap → motion/core}/app.rb +0 -0
  21. data/{lib/bubble-wrap → motion/core}/device.rb +0 -16
  22. data/{lib/bubble-wrap → motion/core}/device/screen.rb +0 -0
  23. data/{lib/bubble-wrap → motion/core}/gestures.rb +0 -0
  24. data/{lib/bubble-wrap → motion/core}/json.rb +0 -0
  25. data/{lib/bubble-wrap → motion/core}/ns_index_path.rb +0 -0
  26. data/{lib/bubble-wrap → motion/core}/ns_notification_center.rb +0 -0
  27. data/{lib/bubble-wrap → motion/core}/ns_user_defaults.rb +0 -0
  28. data/{lib/bubble-wrap → motion/core}/persistence.rb +0 -0
  29. data/{lib → motion/core}/pollute.rb +1 -1
  30. data/motion/core/string.rb +38 -0
  31. data/{lib/bubble-wrap → motion/core}/time.rb +0 -0
  32. data/{lib/bubble-wrap → motion/core}/ui_control.rb +0 -0
  33. data/{lib/bubble-wrap → motion/core}/ui_view_controller.rb +0 -0
  34. data/motion/http.rb +249 -0
  35. data/spec/{app_spec.rb → core/app_spec.rb} +2 -2
  36. data/spec/{device → core/device}/screen_spec.rb +0 -0
  37. data/spec/{device_spec.rb → core/device_spec.rb} +0 -0
  38. data/spec/{gestures_spec.rb → core/gestures_spec.rb} +0 -0
  39. data/spec/{json_spec.rb → core/json_spec.rb} +0 -0
  40. data/spec/{ns_index_path_spec.rb → core/ns_index_path_spec.rb} +0 -0
  41. data/spec/{ns_notification_center_spec.rb → core/ns_notification_center_spec.rb} +0 -0
  42. data/spec/{persistence_spec.rb → core/persistence_spec.rb} +0 -0
  43. data/spec/core/string_spec.rb +69 -0
  44. data/spec/{time_spec.rb → core/time_spec.rb} +0 -0
  45. data/spec/{ui_control_spec.rb → core/ui_control_spec.rb} +0 -0
  46. data/spec/{module_spec.rb → core_spec.rb} +0 -0
  47. data/spec/http_spec.rb +300 -280
  48. metadata +115 -42
metadata CHANGED
@@ -1,25 +1,78 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubble-wrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matt Aimonetti
9
9
  - Francis Chong
10
+ - James Harton
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2012-06-04 00:00:00.000000000 Z
14
- dependencies: []
14
+ date: 2012-06-05 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rspec
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
24
+ type: :development
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ - !ruby/object:Gem::Dependency
33
+ name: rake
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
15
48
  description: RubyMotion wrappers and helpers (Ruby for iOS) - Making Cocoa APIs more
16
49
  Ruby like, one API at a time. Fork away and send your pull request.
17
50
  email:
18
51
  - mattaimonetti@gmail.com
19
52
  - francis@ignition.hk
53
+ - james@sociable.co.nz
20
54
  executables: []
21
55
  extensions: []
22
- extra_rdoc_files: []
56
+ extra_rdoc_files:
57
+ - lib/bubble-wrap/ext/motion_project_app.rb
58
+ - lib/bubble-wrap/ext/motion_project_config.rb
59
+ - lib_spec/motion_stub.rb
60
+ - motion/core.rb
61
+ - motion/core/app.rb
62
+ - motion/core/device.rb
63
+ - motion/core/device/screen.rb
64
+ - motion/core/gestures.rb
65
+ - motion/core/json.rb
66
+ - motion/core/ns_index_path.rb
67
+ - motion/core/ns_notification_center.rb
68
+ - motion/core/ns_user_defaults.rb
69
+ - motion/core/persistence.rb
70
+ - motion/core/pollute.rb
71
+ - motion/core/string.rb
72
+ - motion/core/time.rb
73
+ - motion/core/ui_control.rb
74
+ - motion/core/ui_view_controller.rb
75
+ - motion/http.rb
23
76
  files:
24
77
  - .gitignore
25
78
  - CHANGELOG.md
@@ -29,37 +82,51 @@ files:
29
82
  - Rakefile
30
83
  - bubble-wrap.gemspec
31
84
  - lib/bubble-wrap.rb
32
- - lib/bubble-wrap/app.rb
33
- - lib/bubble-wrap/device.rb
34
- - lib/bubble-wrap/device/screen.rb
35
- - lib/bubble-wrap/gestures.rb
85
+ - lib/bubble-wrap/core.rb
86
+ - lib/bubble-wrap/ext.rb
87
+ - lib/bubble-wrap/ext/motion_project_app.rb
88
+ - lib/bubble-wrap/ext/motion_project_config.rb
36
89
  - lib/bubble-wrap/http.rb
37
- - lib/bubble-wrap/json.rb
38
- - lib/bubble-wrap/module.rb
39
- - lib/bubble-wrap/ns_index_path.rb
40
- - lib/bubble-wrap/ns_notification_center.rb
41
- - lib/bubble-wrap/ns_user_defaults.rb
42
- - lib/bubble-wrap/persistence.rb
43
- - lib/bubble-wrap/time.rb
44
- - lib/bubble-wrap/ui_control.rb
45
- - lib/bubble-wrap/ui_view_controller.rb
90
+ - lib/bubble-wrap/loader.rb
91
+ - lib/bubble-wrap/requirement.rb
92
+ - lib/bubble-wrap/requirement/path_manipulation.rb
46
93
  - lib/bubble-wrap/version.rb
47
- - lib/pollute.rb
48
94
  - lib/tests/test_suite_delegate.rb
49
- - spec/app_spec.rb
50
- - spec/device/screen_spec.rb
51
- - spec/device_spec.rb
52
- - spec/gestures_spec.rb
95
+ - lib_spec/bubble-wrap/requirement/path_manipulation_spec.rb
96
+ - lib_spec/bubble-wrap/requirement_spec.rb
97
+ - lib_spec/bubble-wrap_spec.rb
98
+ - lib_spec/motion_stub.rb
99
+ - motion/core.rb
100
+ - motion/core/app.rb
101
+ - motion/core/device.rb
102
+ - motion/core/device/screen.rb
103
+ - motion/core/gestures.rb
104
+ - motion/core/json.rb
105
+ - motion/core/ns_index_path.rb
106
+ - motion/core/ns_notification_center.rb
107
+ - motion/core/ns_user_defaults.rb
108
+ - motion/core/persistence.rb
109
+ - motion/core/pollute.rb
110
+ - motion/core/string.rb
111
+ - motion/core/time.rb
112
+ - motion/core/ui_control.rb
113
+ - motion/core/ui_view_controller.rb
114
+ - motion/http.rb
115
+ - spec/core/app_spec.rb
116
+ - spec/core/device/screen_spec.rb
117
+ - spec/core/device_spec.rb
118
+ - spec/core/gestures_spec.rb
119
+ - spec/core/json_spec.rb
120
+ - spec/core/ns_index_path_spec.rb
121
+ - spec/core/ns_notification_center_spec.rb
122
+ - spec/core/persistence_spec.rb
123
+ - spec/core/string_spec.rb
124
+ - spec/core/time_spec.rb
125
+ - spec/core/ui_control_spec.rb
126
+ - spec/core_spec.rb
53
127
  - spec/http_spec.rb
54
- - spec/json_spec.rb
55
- - spec/module_spec.rb
56
- - spec/ns_index_path_spec.rb
57
- - spec/ns_notification_center_spec.rb
58
- - spec/persistence_spec.rb
59
- - spec/time_spec.rb
60
- - spec/ui_control_spec.rb
61
128
  - spec_helper_patch.diff
62
- homepage: https://github.com/mattetti/BubbleWrap
129
+ homepage: http://bubblewrap.io/
63
130
  licenses: []
64
131
  post_install_message:
65
132
  rdoc_options: []
@@ -79,21 +146,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
146
  version: '0'
80
147
  requirements: []
81
148
  rubyforge_project:
82
- rubygems_version: 1.8.16
149
+ rubygems_version: 1.8.24
83
150
  signing_key:
84
151
  specification_version: 3
85
152
  summary: RubyMotion wrappers and helpers (Ruby for iOS) - Making Cocoa APIs more Ruby
86
153
  like, one API at a time. Fork away and send your pull request.
87
154
  test_files:
88
- - spec/app_spec.rb
89
- - spec/device/screen_spec.rb
90
- - spec/device_spec.rb
91
- - spec/gestures_spec.rb
155
+ - lib_spec/bubble-wrap/requirement/path_manipulation_spec.rb
156
+ - lib_spec/bubble-wrap/requirement_spec.rb
157
+ - lib_spec/bubble-wrap_spec.rb
158
+ - lib_spec/motion_stub.rb
159
+ - spec/core/app_spec.rb
160
+ - spec/core/device/screen_spec.rb
161
+ - spec/core/device_spec.rb
162
+ - spec/core/gestures_spec.rb
163
+ - spec/core/json_spec.rb
164
+ - spec/core/ns_index_path_spec.rb
165
+ - spec/core/ns_notification_center_spec.rb
166
+ - spec/core/persistence_spec.rb
167
+ - spec/core/string_spec.rb
168
+ - spec/core/time_spec.rb
169
+ - spec/core/ui_control_spec.rb
170
+ - spec/core_spec.rb
92
171
  - spec/http_spec.rb
93
- - spec/json_spec.rb
94
- - spec/module_spec.rb
95
- - spec/ns_index_path_spec.rb
96
- - spec/ns_notification_center_spec.rb
97
- - spec/persistence_spec.rb
98
- - spec/time_spec.rb
99
- - spec/ui_control_spec.rb
172
+ has_rdoc: