motion_blender-support 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/README.md +18 -16
- data/lib/motion_blender-support.rb +4 -0
- data/motion/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 692aceeaab731028f21f3bd65d98d0613edb7c04
|
4
|
+
data.tar.gz: cb5fd264982c15be32a6398f4f051f7d76f509b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 199804f835052ee87773282c270eb6929effe70736ecc022cb0bbb7909b3bd00d5992c74665cf2dc514eef4ddc5ad7e813b350de6f357283b47da04aa96583b2
|
7
|
+
data.tar.gz: 6be2a1116610f381b619841dce45a195d643cc84394dbf3699c756f827f1933608aa7b51be00a023ee178451de1105457b9547d68af6bc5687deacd38fc49ffe
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/kayhide/motion_blender-support.svg?branch=master)](https://travis-ci.org/kayhide/motion_blender-support)
|
2
|
+
|
1
3
|
This is a fork of [motion-support](https://github.com/rubymotion/motion-support).
|
2
4
|
|
3
|
-
This works with MotionBlender to solve dependencies in spite of motion-require which is adopted by
|
5
|
+
This works with [MotionBlender](https://github.com/kayhide/motion_blender) to solve dependencies in spite of [motion-require](https://github.com/clayallsopp/motion-require) which is originally adopted by MotionSupport.
|
4
6
|
|
5
7
|
# MotionSupport
|
6
8
|
|
@@ -39,7 +41,7 @@ Then add a require statement as shown below to your `Rakefile`.
|
|
39
41
|
## all
|
40
42
|
|
41
43
|
```ruby
|
42
|
-
require '
|
44
|
+
require 'motion-support'
|
43
45
|
```
|
44
46
|
|
45
47
|
Loads everything.
|
@@ -47,7 +49,7 @@ Loads everything.
|
|
47
49
|
## callbacks
|
48
50
|
|
49
51
|
```ruby
|
50
|
-
require '
|
52
|
+
require 'motion-support/callbacks'
|
51
53
|
```
|
52
54
|
|
53
55
|
Loads the `MotionSupport::Callbacks` module. It allows you to easily add Rails-style callbacks to any class.
|
@@ -55,7 +57,7 @@ Loads the `MotionSupport::Callbacks` module. It allows you to easily add Rails-s
|
|
55
57
|
## concern
|
56
58
|
|
57
59
|
```ruby
|
58
|
-
require '
|
60
|
+
require 'motion-support/concern'
|
59
61
|
```
|
60
62
|
|
61
63
|
Loads the `MotionSupport::Concern` module. This simplifies separating classes into modules and managing module dependencies.
|
@@ -63,7 +65,7 @@ Loads the `MotionSupport::Concern` module. This simplifies separating classes in
|
|
63
65
|
## inflector
|
64
66
|
|
65
67
|
```ruby
|
66
|
-
require '
|
68
|
+
require 'motion-support/inflector'
|
67
69
|
```
|
68
70
|
|
69
71
|
Loads the `Inflector` module and extensions to the `String` class. See the "Inflector" app in the `examples/` folder for what the inflector can do.
|
@@ -84,7 +86,7 @@ Example usage include:
|
|
84
86
|
## core_ext
|
85
87
|
|
86
88
|
```ruby
|
87
|
-
require '
|
89
|
+
require 'motion-support/core_ext'
|
88
90
|
```
|
89
91
|
|
90
92
|
Loads all the extensions to core classes.
|
@@ -92,7 +94,7 @@ Loads all the extensions to core classes.
|
|
92
94
|
## core_ext/array
|
93
95
|
|
94
96
|
```ruby
|
95
|
-
require '
|
97
|
+
require 'motion-support/core_ext/array'
|
96
98
|
```
|
97
99
|
|
98
100
|
Loads extensions to class `Array`. Example usage include
|
@@ -117,7 +119,7 @@ args.extract_options!
|
|
117
119
|
## core_ext/class
|
118
120
|
|
119
121
|
```ruby
|
120
|
-
require '
|
122
|
+
require 'motion-support/core_ext/class'
|
121
123
|
```
|
122
124
|
|
123
125
|
Loads extensions to class `Class`.
|
@@ -132,7 +134,7 @@ end
|
|
132
134
|
## core_ext/hash
|
133
135
|
|
134
136
|
```ruby
|
135
|
-
require '
|
137
|
+
require 'motion-support/core_ext/hash'
|
136
138
|
```
|
137
139
|
|
138
140
|
Loads extensions to class `Hash`, including class `HashWithIndifferentAccess`.
|
@@ -149,7 +151,7 @@ Loads extensions to class `Hash`, including class `HashWithIndifferentAccess`.
|
|
149
151
|
## core_ext/integer
|
150
152
|
|
151
153
|
```ruby
|
152
|
-
require '
|
154
|
+
require 'motion-support/core_ext/integer'
|
153
155
|
```
|
154
156
|
|
155
157
|
Loads extensions to class `Integer`.
|
@@ -164,7 +166,7 @@ Loads extensions to class `Integer`.
|
|
164
166
|
## core_ext/module
|
165
167
|
|
166
168
|
```ruby
|
167
|
-
require '
|
169
|
+
require 'motion-support/core_ext/module'
|
168
170
|
```
|
169
171
|
|
170
172
|
Loads extensions to class `Module`.
|
@@ -182,7 +184,7 @@ end
|
|
182
184
|
## core_ext/numeric
|
183
185
|
|
184
186
|
```ruby
|
185
|
-
require '
|
187
|
+
require 'motion-support/core_ext/numeric'
|
186
188
|
```
|
187
189
|
|
188
190
|
Loads extensions to class `Numeric`.
|
@@ -199,7 +201,7 @@ Loads extensions to class `Numeric`.
|
|
199
201
|
## core_ext/object
|
200
202
|
|
201
203
|
```ruby
|
202
|
-
require '
|
204
|
+
require 'motion-support/core_ext/object'
|
203
205
|
```
|
204
206
|
|
205
207
|
Loads extensions to class `Object`.
|
@@ -222,7 +224,7 @@ nil.try(:to_s)
|
|
222
224
|
## core_ext/range
|
223
225
|
|
224
226
|
```ruby
|
225
|
-
require '
|
227
|
+
require 'motion-support/core_ext/range'
|
226
228
|
```
|
227
229
|
|
228
230
|
Loads extensions to class `Range`.
|
@@ -237,7 +239,7 @@ Loads extensions to class `Range`.
|
|
237
239
|
## core_ext/string
|
238
240
|
|
239
241
|
```ruby
|
240
|
-
require '
|
242
|
+
require 'motion-support/core_ext/string'
|
241
243
|
```
|
242
244
|
|
243
245
|
Loads extensions to class `String`.
|
@@ -260,7 +262,7 @@ Loads extensions to class `String`.
|
|
260
262
|
## core_ext/time
|
261
263
|
|
262
264
|
```ruby
|
263
|
-
require '
|
265
|
+
require 'motion-support/core_ext/time'
|
264
266
|
```
|
265
267
|
|
266
268
|
Loads extensions to class `Time`.
|
data/motion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion_blender-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kayhide
|
@@ -77,6 +77,7 @@ extensions: []
|
|
77
77
|
extra_rdoc_files: []
|
78
78
|
files:
|
79
79
|
- ".gitignore"
|
80
|
+
- ".travis.yml"
|
80
81
|
- ".yardopts"
|
81
82
|
- Gemfile
|
82
83
|
- HACKS.md
|
@@ -108,6 +109,7 @@ files:
|
|
108
109
|
- lib/motion-support/core_ext/string.rb
|
109
110
|
- lib/motion-support/core_ext/time.rb
|
110
111
|
- lib/motion-support/inflector.rb
|
112
|
+
- lib/motion_blender-support.rb
|
111
113
|
- motion/_stdlib/array.rb
|
112
114
|
- motion/_stdlib/cgi.rb
|
113
115
|
- motion/_stdlib/date.rb
|