motion_blender-support 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.yardopts +1 -0
  4. data/Gemfile +4 -0
  5. data/HACKS.md +7 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +359 -0
  8. data/Rakefile +14 -0
  9. data/app/app_delegate.rb +5 -0
  10. data/examples/Inflector/.gitignore +16 -0
  11. data/examples/Inflector/Gemfile +5 -0
  12. data/examples/Inflector/Rakefile +13 -0
  13. data/examples/Inflector/app/app_delegate.rb +8 -0
  14. data/examples/Inflector/app/inflections.rb +5 -0
  15. data/examples/Inflector/app/inflector_view_controller.rb +109 -0
  16. data/examples/Inflector/app/words_view_controller.rb +101 -0
  17. data/examples/Inflector/resources/Default-568h@2x.png +0 -0
  18. data/examples/Inflector/spec/main_spec.rb +9 -0
  19. data/lib/motion-support/callbacks.rb +8 -0
  20. data/lib/motion-support/concern.rb +4 -0
  21. data/lib/motion-support/core_ext/array.rb +10 -0
  22. data/lib/motion-support/core_ext/class.rb +5 -0
  23. data/lib/motion-support/core_ext/hash.rb +13 -0
  24. data/lib/motion-support/core_ext/integer.rb +6 -0
  25. data/lib/motion-support/core_ext/module.rb +11 -0
  26. data/lib/motion-support/core_ext/numeric.rb +6 -0
  27. data/lib/motion-support/core_ext/object.rb +12 -0
  28. data/lib/motion-support/core_ext/range.rb +5 -0
  29. data/lib/motion-support/core_ext/string.rb +13 -0
  30. data/lib/motion-support/core_ext/time.rb +16 -0
  31. data/lib/motion-support/core_ext.rb +13 -0
  32. data/lib/motion-support/inflector.rb +8 -0
  33. data/lib/motion-support.rb +81 -0
  34. data/motion/_stdlib/array.rb +13 -0
  35. data/motion/_stdlib/cgi.rb +22 -0
  36. data/motion/_stdlib/date.rb +81 -0
  37. data/motion/_stdlib/enumerable.rb +9 -0
  38. data/motion/_stdlib/time.rb +19 -0
  39. data/motion/callbacks.rb +511 -0
  40. data/motion/concern.rb +122 -0
  41. data/motion/core_ext/array/access.rb +28 -0
  42. data/motion/core_ext/array/conversions.rb +86 -0
  43. data/motion/core_ext/array/extract_options.rb +11 -0
  44. data/motion/core_ext/array/grouping.rb +99 -0
  45. data/motion/core_ext/array/prepend_and_append.rb +7 -0
  46. data/motion/core_ext/array/wrap.rb +45 -0
  47. data/motion/core_ext/array.rb +19 -0
  48. data/motion/core_ext/class/attribute.rb +119 -0
  49. data/motion/core_ext/class/attribute_accessors.rb +168 -0
  50. data/motion/core_ext/date/acts_like.rb +8 -0
  51. data/motion/core_ext/date/calculations.rb +117 -0
  52. data/motion/core_ext/date/conversions.rb +56 -0
  53. data/motion/core_ext/date_and_time/calculations.rb +232 -0
  54. data/motion/core_ext/enumerable.rb +90 -0
  55. data/motion/core_ext/hash/deep_delete_if.rb +23 -0
  56. data/motion/core_ext/hash/deep_merge.rb +27 -0
  57. data/motion/core_ext/hash/except.rb +15 -0
  58. data/motion/core_ext/hash/indifferent_access.rb +19 -0
  59. data/motion/core_ext/hash/keys.rb +150 -0
  60. data/motion/core_ext/hash/reverse_merge.rb +22 -0
  61. data/motion/core_ext/hash/slice.rb +40 -0
  62. data/motion/core_ext/integer/inflections.rb +27 -0
  63. data/motion/core_ext/integer/multiple.rb +10 -0
  64. data/motion/core_ext/integer/time.rb +41 -0
  65. data/motion/core_ext/kernel/singleton_class.rb +6 -0
  66. data/motion/core_ext/metaclass.rb +8 -0
  67. data/motion/core_ext/module/aliasing.rb +69 -0
  68. data/motion/core_ext/module/anonymous.rb +19 -0
  69. data/motion/core_ext/module/attr_internal.rb +38 -0
  70. data/motion/core_ext/module/attribute_accessors.rb +64 -0
  71. data/motion/core_ext/module/delegation.rb +175 -0
  72. data/motion/core_ext/module/introspection.rb +60 -0
  73. data/motion/core_ext/module/reachable.rb +5 -0
  74. data/motion/core_ext/module/remove_method.rb +12 -0
  75. data/motion/core_ext/ns_dictionary.rb +14 -0
  76. data/motion/core_ext/ns_string.rb +14 -0
  77. data/motion/core_ext/numeric/bytes.rb +44 -0
  78. data/motion/core_ext/numeric/conversions.rb +49 -0
  79. data/motion/core_ext/numeric/time.rb +75 -0
  80. data/motion/core_ext/object/acts_like.rb +10 -0
  81. data/motion/core_ext/object/blank.rb +105 -0
  82. data/motion/core_ext/object/deep_dup.rb +44 -0
  83. data/motion/core_ext/object/duplicable.rb +87 -0
  84. data/motion/core_ext/object/inclusion.rb +15 -0
  85. data/motion/core_ext/object/instance_variables.rb +28 -0
  86. data/motion/core_ext/object/to_param.rb +58 -0
  87. data/motion/core_ext/object/to_query.rb +26 -0
  88. data/motion/core_ext/object/try.rb +78 -0
  89. data/motion/core_ext/range/include_range.rb +23 -0
  90. data/motion/core_ext/range/overlaps.rb +8 -0
  91. data/motion/core_ext/regexp.rb +5 -0
  92. data/motion/core_ext/string/access.rb +104 -0
  93. data/motion/core_ext/string/behavior.rb +6 -0
  94. data/motion/core_ext/string/exclude.rb +11 -0
  95. data/motion/core_ext/string/filters.rb +55 -0
  96. data/motion/core_ext/string/indent.rb +43 -0
  97. data/motion/core_ext/string/inflections.rb +178 -0
  98. data/motion/core_ext/string/starts_ends_with.rb +4 -0
  99. data/motion/core_ext/string/strip.rb +24 -0
  100. data/motion/core_ext/time/acts_like.rb +8 -0
  101. data/motion/core_ext/time/calculations.rb +215 -0
  102. data/motion/core_ext/time/conversions.rb +52 -0
  103. data/motion/descendants_tracker.rb +50 -0
  104. data/motion/duration.rb +104 -0
  105. data/motion/hash_with_indifferent_access.rb +253 -0
  106. data/motion/inflections.rb +67 -0
  107. data/motion/inflector/inflections.rb +203 -0
  108. data/motion/inflector/methods.rb +321 -0
  109. data/motion/logger.rb +47 -0
  110. data/motion/number_helper.rb +54 -0
  111. data/motion/version.rb +3 -0
  112. data/motion_blender-support.gemspec +21 -0
  113. data/spec/motion-support/_helpers/constantize_test_cases.rb +75 -0
  114. data/spec/motion-support/_helpers/inflector_test_cases.rb +270 -0
  115. data/spec/motion-support/callback_spec.rb +702 -0
  116. data/spec/motion-support/concern_spec.rb +93 -0
  117. data/spec/motion-support/core_ext/array/access_spec.rb +29 -0
  118. data/spec/motion-support/core_ext/array/conversion_spec.rb +60 -0
  119. data/spec/motion-support/core_ext/array/extract_options_spec.rb +15 -0
  120. data/spec/motion-support/core_ext/array/grouping_spec.rb +85 -0
  121. data/spec/motion-support/core_ext/array/prepend_and_append_spec.rb +25 -0
  122. data/spec/motion-support/core_ext/array/wrap_spec.rb +19 -0
  123. data/spec/motion-support/core_ext/array_spec.rb +16 -0
  124. data/spec/motion-support/core_ext/class/attribute_accessor_spec.rb +127 -0
  125. data/spec/motion-support/core_ext/class/attribute_spec.rb +92 -0
  126. data/spec/motion-support/core_ext/date/acts_like_spec.rb +11 -0
  127. data/spec/motion-support/core_ext/date/calculation_spec.rb +186 -0
  128. data/spec/motion-support/core_ext/date/conversion_spec.rb +18 -0
  129. data/spec/motion-support/core_ext/date_and_time/calculation_spec.rb +336 -0
  130. data/spec/motion-support/core_ext/enumerable_spec.rb +130 -0
  131. data/spec/motion-support/core_ext/hash/deep_delete_if_spec.rb +19 -0
  132. data/spec/motion-support/core_ext/hash/deep_merge_spec.rb +32 -0
  133. data/spec/motion-support/core_ext/hash/except_spec.rb +43 -0
  134. data/spec/motion-support/core_ext/hash/key_spec.rb +236 -0
  135. data/spec/motion-support/core_ext/hash/reverse_merge_spec.rb +26 -0
  136. data/spec/motion-support/core_ext/hash/slice_spec.rb +61 -0
  137. data/spec/motion-support/core_ext/integer/inflection_spec.rb +23 -0
  138. data/spec/motion-support/core_ext/integer/multiple_spec.rb +19 -0
  139. data/spec/motion-support/core_ext/kernel/singleton_class_spec.rb +9 -0
  140. data/spec/motion-support/core_ext/metaclass_spec.rb +9 -0
  141. data/spec/motion-support/core_ext/module/aliasing_spec.rb +143 -0
  142. data/spec/motion-support/core_ext/module/anonymous_spec.rb +29 -0
  143. data/spec/motion-support/core_ext/module/attr_internal_spec.rb +104 -0
  144. data/spec/motion-support/core_ext/module/attribute_accessor_spec.rb +86 -0
  145. data/spec/motion-support/core_ext/module/delegation_spec.rb +136 -0
  146. data/spec/motion-support/core_ext/module/introspection_spec.rb +70 -0
  147. data/spec/motion-support/core_ext/module/reachable_spec.rb +61 -0
  148. data/spec/motion-support/core_ext/module/remove_method_spec.rb +25 -0
  149. data/spec/motion-support/core_ext/numeric/bytes_spec.rb +43 -0
  150. data/spec/motion-support/core_ext/numeric/conversions_spec.rb +40 -0
  151. data/spec/motion-support/core_ext/object/acts_like_spec.rb +21 -0
  152. data/spec/motion-support/core_ext/object/blank_spec.rb +54 -0
  153. data/spec/motion-support/core_ext/object/deep_dup_spec.rb +54 -0
  154. data/spec/motion-support/core_ext/object/duplicable_spec.rb +31 -0
  155. data/spec/motion-support/core_ext/object/inclusion_spec.rb +34 -0
  156. data/spec/motion-support/core_ext/object/instance_variable_spec.rb +19 -0
  157. data/spec/motion-support/core_ext/object/to_param_spec.rb +75 -0
  158. data/spec/motion-support/core_ext/object/to_query_spec.rb +37 -0
  159. data/spec/motion-support/core_ext/object/try_spec.rb +92 -0
  160. data/spec/motion-support/core_ext/range/include_range_spec.rb +31 -0
  161. data/spec/motion-support/core_ext/range/overlap_spec.rb +43 -0
  162. data/spec/motion-support/core_ext/regexp_spec.rb +7 -0
  163. data/spec/motion-support/core_ext/string/access_spec.rb +53 -0
  164. data/spec/motion-support/core_ext/string/behavior_spec.rb +7 -0
  165. data/spec/motion-support/core_ext/string/exclude_spec.rb +8 -0
  166. data/spec/motion-support/core_ext/string/filter_spec.rb +49 -0
  167. data/spec/motion-support/core_ext/string/indent_spec.rb +56 -0
  168. data/spec/motion-support/core_ext/string/inflection_spec.rb +142 -0
  169. data/spec/motion-support/core_ext/string/starts_end_with_spec.rb +14 -0
  170. data/spec/motion-support/core_ext/string/strip_spec.rb +34 -0
  171. data/spec/motion-support/core_ext/string_spec.rb +88 -0
  172. data/spec/motion-support/core_ext/time/acts_like_spec.rb +11 -0
  173. data/spec/motion-support/core_ext/time/calculation_spec.rb +201 -0
  174. data/spec/motion-support/core_ext/time/conversion_spec.rb +53 -0
  175. data/spec/motion-support/descendants_tracker_spec.rb +58 -0
  176. data/spec/motion-support/duration_spec.rb +107 -0
  177. data/spec/motion-support/hash_with_indifferent_access_spec.rb +605 -0
  178. data/spec/motion-support/inflector_spec.rb +504 -0
  179. data/spec/motion-support/ns_dictionary_spec.rb +89 -0
  180. data/spec/motion-support/ns_string_spec.rb +182 -0
  181. data/spec/motion-support/number_helper_spec.rb +55 -0
  182. metadata +352 -0
@@ -0,0 +1,182 @@
1
+ describe "NSString" do
2
+ before do
3
+ @string = NSString.stringWithString("ruby_motion")
4
+ end
5
+
6
+ describe "to_s" do
7
+ it "should convert NSDictionary to Hash" do
8
+ @string.to_s.class.should == String
9
+ end
10
+
11
+ it "should preserve the value" do
12
+ @string.to_s.should == @string
13
+ end
14
+ end
15
+
16
+ describe "at" do
17
+ it "should return character at NSString position" do
18
+ @string.at(0).should == 'r'
19
+ end
20
+ end
21
+
22
+ describe "blank?" do
23
+ it "should be true for empty NSString" do
24
+ NSString.stringWithString("").blank?.should == true
25
+ end
26
+
27
+ it "should be false for non-empty NSString" do
28
+ @string.blank?.should == false
29
+ end
30
+ end
31
+
32
+ describe "camelize" do
33
+ it "should camelize NSString" do
34
+ @string.camelize.should == "RubyMotion"
35
+ end
36
+ end
37
+
38
+ describe "classify" do
39
+ it "should classify NSString" do
40
+ @string.classify.should == "RubyMotion"
41
+ end
42
+ end
43
+
44
+ describe "constantize" do
45
+ it "should constantize NSString" do
46
+ NSString.stringWithString("Object").constantize.should == Object
47
+ end
48
+ end
49
+
50
+ describe "dasherize" do
51
+ it "should dasherize NSString" do
52
+ @string.dasherize.should == "ruby-motion"
53
+ end
54
+ end
55
+
56
+ describe "deconstantize" do
57
+ it "should deconstantize NSString" do
58
+ NSString.stringWithString("Ruby::Motion").deconstantize.should == "Ruby"
59
+ end
60
+ end
61
+
62
+ describe "demodulize" do
63
+ it "should demodulize NSString" do
64
+ NSString.stringWithString("Ruby::Motion").demodulize.should == "Motion"
65
+ end
66
+ end
67
+
68
+ describe "exclude?" do
69
+ it "should return true if NSString excludes substring" do
70
+ @string.exclude?("foo").should == true
71
+ @string.exclude?("ruby").should == false
72
+ end
73
+ end
74
+
75
+ describe "first" do
76
+ it "should return first character NSString" do
77
+ @string.first.should == "r"
78
+ end
79
+ end
80
+
81
+ describe "foreign_key" do
82
+ it "should return NSString" do
83
+ @string.foreign_key.should == "ruby_motion_id"
84
+ end
85
+ end
86
+
87
+ describe "from" do
88
+ it "should return substring of NSString starting at position" do
89
+ @string.from(5).should == "motion"
90
+ end
91
+ end
92
+
93
+ describe "humanize" do
94
+ it "should humanize NSString" do
95
+ @string.humanize.should == "Ruby motion"
96
+ end
97
+ end
98
+
99
+ describe "indent" do
100
+ it "should indent NSString" do
101
+ @string.indent(2).should == " ruby_motion"
102
+ end
103
+ end
104
+
105
+ describe "indent!" do
106
+ it "should indent NSString in place" do
107
+ @string.indent!(2).should == " ruby_motion"
108
+ end
109
+ end
110
+
111
+ describe "last" do
112
+ it "should return last character of NSString" do
113
+ @string.last.should == "n"
114
+ end
115
+ end
116
+
117
+ describe "pluralize" do
118
+ it "should pluralize NSString" do
119
+ NSString.stringWithString("thing").pluralize.should == "things"
120
+ end
121
+ end
122
+
123
+ describe "safe_constantize" do
124
+ it "should safe_constantize NSString" do
125
+ NSString.stringWithString("Object").safe_constantize.should == Object
126
+ end
127
+ end
128
+
129
+ describe "singularize" do
130
+ it "should singularize NSString" do
131
+ NSString.stringWithString("things").singularize.should == "thing"
132
+ end
133
+ end
134
+
135
+ describe "squish" do
136
+ it "should squish NSString" do
137
+ NSString.stringWithString(" ruby\n motion").squish.should == "ruby motion"
138
+ end
139
+ end
140
+
141
+ describe "squish!" do
142
+ it "should squish NSString in place" do
143
+ NSString.stringWithString(" ruby\n motion").squish!.should == "ruby motion"
144
+ end
145
+ end
146
+
147
+ describe "strip_heredoc" do
148
+ it "should strip heredoc NSString" do
149
+ NSString.stringWithString(" ruby\n motion").strip_heredoc.should == "ruby\nmotion"
150
+ end
151
+ end
152
+
153
+ describe "tableize" do
154
+ it "should tableize NSString" do
155
+ @string.tableize.should == "ruby_motions"
156
+ end
157
+ end
158
+
159
+ describe "titleize" do
160
+ it "should titleize NSString" do
161
+ @string.titleize.should == "Ruby Motion"
162
+ end
163
+ end
164
+
165
+ describe "to" do
166
+ it "should return substring of NSString up to position" do
167
+ @string.to(3).should == "ruby"
168
+ end
169
+ end
170
+
171
+ describe "truncate" do
172
+ it "should truncate NSString" do
173
+ @string.truncate(5).should == "ru..."
174
+ end
175
+ end
176
+
177
+ describe "underscore" do
178
+ it "should underscore NSString" do
179
+ NSString.stringWithString("RubyMotion").underscore.should == "ruby_motion"
180
+ end
181
+ end
182
+ end
@@ -0,0 +1,55 @@
1
+ describe "NumberHelper" do
2
+ class TestClassWithInstanceNumberHelpers
3
+ include MotionSupport::NumberHelper
4
+ end
5
+
6
+ class TestClassWithClassNumberHelpers
7
+ extend MotionSupport::NumberHelper
8
+ end
9
+
10
+ before do
11
+ @instance_with_helpers = TestClassWithInstanceNumberHelpers.new
12
+ end
13
+
14
+ describe "number_to_phone" do
15
+ it "should convert number to phone" do
16
+ [@instance_with_helpers, TestClassWithClassNumberHelpers, MotionSupport::NumberHelper].each do |number_helper|
17
+ number_helper.number_to_phone(5551234).should == "555-1234"
18
+ number_helper.number_to_phone(8005551212).should == "800-555-1212"
19
+ number_helper.number_to_phone(8005551212, {:area_code => true}).should == "(800) 555-1212"
20
+ number_helper.number_to_phone("", {:area_code => true}).should == ""
21
+ number_helper.number_to_phone(8005551212, {:delimiter => " "}).should == "800 555 1212"
22
+ number_helper.number_to_phone(8005551212, {:area_code => true, :extension => 123}).should == "(800) 555-1212 x 123"
23
+ number_helper.number_to_phone(8005551212, :extension => " ").should == "800-555-1212"
24
+ number_helper.number_to_phone(5551212, :delimiter => '.').should == "555.1212"
25
+ number_helper.number_to_phone("8005551212").should == "800-555-1212"
26
+ number_helper.number_to_phone(8005551212, :country_code => 1).should == "+1-800-555-1212"
27
+ number_helper.number_to_phone(8005551212, :country_code => 1, :delimiter => '').should == "+18005551212"
28
+ number_helper.number_to_phone(225551212).should == "22-555-1212"
29
+ number_helper.number_to_phone(225551212, :country_code => 45).should == "+45-22-555-1212"
30
+ end
31
+ end
32
+
33
+ it "should return nil when given nil" do
34
+ [@instance_with_helpers, TestClassWithClassNumberHelpers, MotionSupport::NumberHelper].each do |number_helper|
35
+ number_helper.number_to_phone(nil).should.be.nil
36
+ end
37
+ end
38
+
39
+ it "should not mutate options hash" do
40
+ [@instance_with_helpers, TestClassWithClassNumberHelpers, MotionSupport::NumberHelper].each do |number_helper|
41
+ options = { 'raise' => true }
42
+
43
+ number_helper.number_to_phone(1, options)
44
+ options.should == { 'raise' => true }
45
+ end
46
+ end
47
+
48
+ it "should return non-numeric parameter unchanged" do
49
+ [@instance_with_helpers, TestClassWithClassNumberHelpers, MotionSupport::NumberHelper].each do |number_helper|
50
+ number_helper.number_to_phone("x", :country_code => 1, :extension => 123).should == "+1-x x 123"
51
+ number_helper.number_to_phone("x").should == "x"
52
+ end
53
+ end
54
+ end
55
+ end
metadata ADDED
@@ -0,0 +1,352 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: motion_blender-support
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.7
5
+ platform: ruby
6
+ authors:
7
+ - kayhide
8
+ - Thomas Kadauke
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-09-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: motion_blender
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: pry
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: pry-doc
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ description: Commonly useful extensions to the standard library for RubyMotion. Ported
71
+ from ActiveSupport.
72
+ email:
73
+ - kayhide@gmail.com
74
+ - thomaspec.kadauke@googlemail.com
75
+ executables: []
76
+ extensions: []
77
+ extra_rdoc_files: []
78
+ files:
79
+ - ".gitignore"
80
+ - ".yardopts"
81
+ - Gemfile
82
+ - HACKS.md
83
+ - MIT-LICENSE
84
+ - README.md
85
+ - Rakefile
86
+ - app/app_delegate.rb
87
+ - examples/Inflector/.gitignore
88
+ - examples/Inflector/Gemfile
89
+ - examples/Inflector/Rakefile
90
+ - examples/Inflector/app/app_delegate.rb
91
+ - examples/Inflector/app/inflections.rb
92
+ - examples/Inflector/app/inflector_view_controller.rb
93
+ - examples/Inflector/app/words_view_controller.rb
94
+ - examples/Inflector/resources/Default-568h@2x.png
95
+ - examples/Inflector/spec/main_spec.rb
96
+ - lib/motion-support.rb
97
+ - lib/motion-support/callbacks.rb
98
+ - lib/motion-support/concern.rb
99
+ - lib/motion-support/core_ext.rb
100
+ - lib/motion-support/core_ext/array.rb
101
+ - lib/motion-support/core_ext/class.rb
102
+ - lib/motion-support/core_ext/hash.rb
103
+ - lib/motion-support/core_ext/integer.rb
104
+ - lib/motion-support/core_ext/module.rb
105
+ - lib/motion-support/core_ext/numeric.rb
106
+ - lib/motion-support/core_ext/object.rb
107
+ - lib/motion-support/core_ext/range.rb
108
+ - lib/motion-support/core_ext/string.rb
109
+ - lib/motion-support/core_ext/time.rb
110
+ - lib/motion-support/inflector.rb
111
+ - motion/_stdlib/array.rb
112
+ - motion/_stdlib/cgi.rb
113
+ - motion/_stdlib/date.rb
114
+ - motion/_stdlib/enumerable.rb
115
+ - motion/_stdlib/time.rb
116
+ - motion/callbacks.rb
117
+ - motion/concern.rb
118
+ - motion/core_ext/array.rb
119
+ - motion/core_ext/array/access.rb
120
+ - motion/core_ext/array/conversions.rb
121
+ - motion/core_ext/array/extract_options.rb
122
+ - motion/core_ext/array/grouping.rb
123
+ - motion/core_ext/array/prepend_and_append.rb
124
+ - motion/core_ext/array/wrap.rb
125
+ - motion/core_ext/class/attribute.rb
126
+ - motion/core_ext/class/attribute_accessors.rb
127
+ - motion/core_ext/date/acts_like.rb
128
+ - motion/core_ext/date/calculations.rb
129
+ - motion/core_ext/date/conversions.rb
130
+ - motion/core_ext/date_and_time/calculations.rb
131
+ - motion/core_ext/enumerable.rb
132
+ - motion/core_ext/hash/deep_delete_if.rb
133
+ - motion/core_ext/hash/deep_merge.rb
134
+ - motion/core_ext/hash/except.rb
135
+ - motion/core_ext/hash/indifferent_access.rb
136
+ - motion/core_ext/hash/keys.rb
137
+ - motion/core_ext/hash/reverse_merge.rb
138
+ - motion/core_ext/hash/slice.rb
139
+ - motion/core_ext/integer/inflections.rb
140
+ - motion/core_ext/integer/multiple.rb
141
+ - motion/core_ext/integer/time.rb
142
+ - motion/core_ext/kernel/singleton_class.rb
143
+ - motion/core_ext/metaclass.rb
144
+ - motion/core_ext/module/aliasing.rb
145
+ - motion/core_ext/module/anonymous.rb
146
+ - motion/core_ext/module/attr_internal.rb
147
+ - motion/core_ext/module/attribute_accessors.rb
148
+ - motion/core_ext/module/delegation.rb
149
+ - motion/core_ext/module/introspection.rb
150
+ - motion/core_ext/module/reachable.rb
151
+ - motion/core_ext/module/remove_method.rb
152
+ - motion/core_ext/ns_dictionary.rb
153
+ - motion/core_ext/ns_string.rb
154
+ - motion/core_ext/numeric/bytes.rb
155
+ - motion/core_ext/numeric/conversions.rb
156
+ - motion/core_ext/numeric/time.rb
157
+ - motion/core_ext/object/acts_like.rb
158
+ - motion/core_ext/object/blank.rb
159
+ - motion/core_ext/object/deep_dup.rb
160
+ - motion/core_ext/object/duplicable.rb
161
+ - motion/core_ext/object/inclusion.rb
162
+ - motion/core_ext/object/instance_variables.rb
163
+ - motion/core_ext/object/to_param.rb
164
+ - motion/core_ext/object/to_query.rb
165
+ - motion/core_ext/object/try.rb
166
+ - motion/core_ext/range/include_range.rb
167
+ - motion/core_ext/range/overlaps.rb
168
+ - motion/core_ext/regexp.rb
169
+ - motion/core_ext/string/access.rb
170
+ - motion/core_ext/string/behavior.rb
171
+ - motion/core_ext/string/exclude.rb
172
+ - motion/core_ext/string/filters.rb
173
+ - motion/core_ext/string/indent.rb
174
+ - motion/core_ext/string/inflections.rb
175
+ - motion/core_ext/string/starts_ends_with.rb
176
+ - motion/core_ext/string/strip.rb
177
+ - motion/core_ext/time/acts_like.rb
178
+ - motion/core_ext/time/calculations.rb
179
+ - motion/core_ext/time/conversions.rb
180
+ - motion/descendants_tracker.rb
181
+ - motion/duration.rb
182
+ - motion/hash_with_indifferent_access.rb
183
+ - motion/inflections.rb
184
+ - motion/inflector/inflections.rb
185
+ - motion/inflector/methods.rb
186
+ - motion/logger.rb
187
+ - motion/number_helper.rb
188
+ - motion/version.rb
189
+ - motion_blender-support.gemspec
190
+ - spec/motion-support/_helpers/constantize_test_cases.rb
191
+ - spec/motion-support/_helpers/inflector_test_cases.rb
192
+ - spec/motion-support/callback_spec.rb
193
+ - spec/motion-support/concern_spec.rb
194
+ - spec/motion-support/core_ext/array/access_spec.rb
195
+ - spec/motion-support/core_ext/array/conversion_spec.rb
196
+ - spec/motion-support/core_ext/array/extract_options_spec.rb
197
+ - spec/motion-support/core_ext/array/grouping_spec.rb
198
+ - spec/motion-support/core_ext/array/prepend_and_append_spec.rb
199
+ - spec/motion-support/core_ext/array/wrap_spec.rb
200
+ - spec/motion-support/core_ext/array_spec.rb
201
+ - spec/motion-support/core_ext/class/attribute_accessor_spec.rb
202
+ - spec/motion-support/core_ext/class/attribute_spec.rb
203
+ - spec/motion-support/core_ext/date/acts_like_spec.rb
204
+ - spec/motion-support/core_ext/date/calculation_spec.rb
205
+ - spec/motion-support/core_ext/date/conversion_spec.rb
206
+ - spec/motion-support/core_ext/date_and_time/calculation_spec.rb
207
+ - spec/motion-support/core_ext/enumerable_spec.rb
208
+ - spec/motion-support/core_ext/hash/deep_delete_if_spec.rb
209
+ - spec/motion-support/core_ext/hash/deep_merge_spec.rb
210
+ - spec/motion-support/core_ext/hash/except_spec.rb
211
+ - spec/motion-support/core_ext/hash/key_spec.rb
212
+ - spec/motion-support/core_ext/hash/reverse_merge_spec.rb
213
+ - spec/motion-support/core_ext/hash/slice_spec.rb
214
+ - spec/motion-support/core_ext/integer/inflection_spec.rb
215
+ - spec/motion-support/core_ext/integer/multiple_spec.rb
216
+ - spec/motion-support/core_ext/kernel/singleton_class_spec.rb
217
+ - spec/motion-support/core_ext/metaclass_spec.rb
218
+ - spec/motion-support/core_ext/module/aliasing_spec.rb
219
+ - spec/motion-support/core_ext/module/anonymous_spec.rb
220
+ - spec/motion-support/core_ext/module/attr_internal_spec.rb
221
+ - spec/motion-support/core_ext/module/attribute_accessor_spec.rb
222
+ - spec/motion-support/core_ext/module/delegation_spec.rb
223
+ - spec/motion-support/core_ext/module/introspection_spec.rb
224
+ - spec/motion-support/core_ext/module/reachable_spec.rb
225
+ - spec/motion-support/core_ext/module/remove_method_spec.rb
226
+ - spec/motion-support/core_ext/numeric/bytes_spec.rb
227
+ - spec/motion-support/core_ext/numeric/conversions_spec.rb
228
+ - spec/motion-support/core_ext/object/acts_like_spec.rb
229
+ - spec/motion-support/core_ext/object/blank_spec.rb
230
+ - spec/motion-support/core_ext/object/deep_dup_spec.rb
231
+ - spec/motion-support/core_ext/object/duplicable_spec.rb
232
+ - spec/motion-support/core_ext/object/inclusion_spec.rb
233
+ - spec/motion-support/core_ext/object/instance_variable_spec.rb
234
+ - spec/motion-support/core_ext/object/to_param_spec.rb
235
+ - spec/motion-support/core_ext/object/to_query_spec.rb
236
+ - spec/motion-support/core_ext/object/try_spec.rb
237
+ - spec/motion-support/core_ext/range/include_range_spec.rb
238
+ - spec/motion-support/core_ext/range/overlap_spec.rb
239
+ - spec/motion-support/core_ext/regexp_spec.rb
240
+ - spec/motion-support/core_ext/string/access_spec.rb
241
+ - spec/motion-support/core_ext/string/behavior_spec.rb
242
+ - spec/motion-support/core_ext/string/exclude_spec.rb
243
+ - spec/motion-support/core_ext/string/filter_spec.rb
244
+ - spec/motion-support/core_ext/string/indent_spec.rb
245
+ - spec/motion-support/core_ext/string/inflection_spec.rb
246
+ - spec/motion-support/core_ext/string/starts_end_with_spec.rb
247
+ - spec/motion-support/core_ext/string/strip_spec.rb
248
+ - spec/motion-support/core_ext/string_spec.rb
249
+ - spec/motion-support/core_ext/time/acts_like_spec.rb
250
+ - spec/motion-support/core_ext/time/calculation_spec.rb
251
+ - spec/motion-support/core_ext/time/conversion_spec.rb
252
+ - spec/motion-support/descendants_tracker_spec.rb
253
+ - spec/motion-support/duration_spec.rb
254
+ - spec/motion-support/hash_with_indifferent_access_spec.rb
255
+ - spec/motion-support/inflector_spec.rb
256
+ - spec/motion-support/ns_dictionary_spec.rb
257
+ - spec/motion-support/ns_string_spec.rb
258
+ - spec/motion-support/number_helper_spec.rb
259
+ homepage: https://github.com/kayhide/motion_blender-support
260
+ licenses: []
261
+ metadata: {}
262
+ post_install_message:
263
+ rdoc_options: []
264
+ require_paths:
265
+ - lib
266
+ required_ruby_version: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ required_rubygems_version: !ruby/object:Gem::Requirement
272
+ requirements:
273
+ - - ">="
274
+ - !ruby/object:Gem::Version
275
+ version: '0'
276
+ requirements: []
277
+ rubyforge_project:
278
+ rubygems_version: 2.4.5.1
279
+ signing_key:
280
+ specification_version: 4
281
+ summary: Commonly useful extensions to the standard library for RubyMotion
282
+ test_files:
283
+ - spec/motion-support/_helpers/constantize_test_cases.rb
284
+ - spec/motion-support/_helpers/inflector_test_cases.rb
285
+ - spec/motion-support/callback_spec.rb
286
+ - spec/motion-support/concern_spec.rb
287
+ - spec/motion-support/core_ext/array/access_spec.rb
288
+ - spec/motion-support/core_ext/array/conversion_spec.rb
289
+ - spec/motion-support/core_ext/array/extract_options_spec.rb
290
+ - spec/motion-support/core_ext/array/grouping_spec.rb
291
+ - spec/motion-support/core_ext/array/prepend_and_append_spec.rb
292
+ - spec/motion-support/core_ext/array/wrap_spec.rb
293
+ - spec/motion-support/core_ext/array_spec.rb
294
+ - spec/motion-support/core_ext/class/attribute_accessor_spec.rb
295
+ - spec/motion-support/core_ext/class/attribute_spec.rb
296
+ - spec/motion-support/core_ext/date/acts_like_spec.rb
297
+ - spec/motion-support/core_ext/date/calculation_spec.rb
298
+ - spec/motion-support/core_ext/date/conversion_spec.rb
299
+ - spec/motion-support/core_ext/date_and_time/calculation_spec.rb
300
+ - spec/motion-support/core_ext/enumerable_spec.rb
301
+ - spec/motion-support/core_ext/hash/deep_delete_if_spec.rb
302
+ - spec/motion-support/core_ext/hash/deep_merge_spec.rb
303
+ - spec/motion-support/core_ext/hash/except_spec.rb
304
+ - spec/motion-support/core_ext/hash/key_spec.rb
305
+ - spec/motion-support/core_ext/hash/reverse_merge_spec.rb
306
+ - spec/motion-support/core_ext/hash/slice_spec.rb
307
+ - spec/motion-support/core_ext/integer/inflection_spec.rb
308
+ - spec/motion-support/core_ext/integer/multiple_spec.rb
309
+ - spec/motion-support/core_ext/kernel/singleton_class_spec.rb
310
+ - spec/motion-support/core_ext/metaclass_spec.rb
311
+ - spec/motion-support/core_ext/module/aliasing_spec.rb
312
+ - spec/motion-support/core_ext/module/anonymous_spec.rb
313
+ - spec/motion-support/core_ext/module/attr_internal_spec.rb
314
+ - spec/motion-support/core_ext/module/attribute_accessor_spec.rb
315
+ - spec/motion-support/core_ext/module/delegation_spec.rb
316
+ - spec/motion-support/core_ext/module/introspection_spec.rb
317
+ - spec/motion-support/core_ext/module/reachable_spec.rb
318
+ - spec/motion-support/core_ext/module/remove_method_spec.rb
319
+ - spec/motion-support/core_ext/numeric/bytes_spec.rb
320
+ - spec/motion-support/core_ext/numeric/conversions_spec.rb
321
+ - spec/motion-support/core_ext/object/acts_like_spec.rb
322
+ - spec/motion-support/core_ext/object/blank_spec.rb
323
+ - spec/motion-support/core_ext/object/deep_dup_spec.rb
324
+ - spec/motion-support/core_ext/object/duplicable_spec.rb
325
+ - spec/motion-support/core_ext/object/inclusion_spec.rb
326
+ - spec/motion-support/core_ext/object/instance_variable_spec.rb
327
+ - spec/motion-support/core_ext/object/to_param_spec.rb
328
+ - spec/motion-support/core_ext/object/to_query_spec.rb
329
+ - spec/motion-support/core_ext/object/try_spec.rb
330
+ - spec/motion-support/core_ext/range/include_range_spec.rb
331
+ - spec/motion-support/core_ext/range/overlap_spec.rb
332
+ - spec/motion-support/core_ext/regexp_spec.rb
333
+ - spec/motion-support/core_ext/string/access_spec.rb
334
+ - spec/motion-support/core_ext/string/behavior_spec.rb
335
+ - spec/motion-support/core_ext/string/exclude_spec.rb
336
+ - spec/motion-support/core_ext/string/filter_spec.rb
337
+ - spec/motion-support/core_ext/string/indent_spec.rb
338
+ - spec/motion-support/core_ext/string/inflection_spec.rb
339
+ - spec/motion-support/core_ext/string/starts_end_with_spec.rb
340
+ - spec/motion-support/core_ext/string/strip_spec.rb
341
+ - spec/motion-support/core_ext/string_spec.rb
342
+ - spec/motion-support/core_ext/time/acts_like_spec.rb
343
+ - spec/motion-support/core_ext/time/calculation_spec.rb
344
+ - spec/motion-support/core_ext/time/conversion_spec.rb
345
+ - spec/motion-support/descendants_tracker_spec.rb
346
+ - spec/motion-support/duration_spec.rb
347
+ - spec/motion-support/hash_with_indifferent_access_spec.rb
348
+ - spec/motion-support/inflector_spec.rb
349
+ - spec/motion-support/ns_dictionary_spec.rb
350
+ - spec/motion-support/ns_string_spec.rb
351
+ - spec/motion-support/number_helper_spec.rb
352
+ has_rdoc: