cornerstone-source 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/cornerstone-source.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Cornerstone::Source::VERSION
|
17
17
|
|
18
|
-
gem.add_development_dependency "middleman", "
|
18
|
+
gem.add_development_dependency "middleman", "3.0.0.beta.3"
|
19
19
|
gem.add_development_dependency "rb-inotify"
|
20
20
|
gem.add_development_dependency "sass"
|
21
21
|
gem.add_development_dependency "therubyracer"
|
@@ -4,7 +4,7 @@ Checks whether an object is an array.
|
|
4
4
|
|
5
5
|
Object.isArray([1, 2, 4])
|
6
6
|
# => true
|
7
|
-
|
7
|
+
|
8
8
|
Object.isArray({key: "value"})
|
9
9
|
# => false
|
10
10
|
|
@@ -27,10 +27,10 @@ Checks whether an object is an array.
|
|
27
27
|
|
28
28
|
Object.isString("a string")
|
29
29
|
# => true
|
30
|
-
|
30
|
+
|
31
31
|
Object.isString([1, 2, 4])
|
32
32
|
# => false
|
33
|
-
|
33
|
+
|
34
34
|
Object.isString({key: "value"})
|
35
35
|
# => false
|
36
36
|
|
@@ -53,11 +53,11 @@ Checks whether an object is an array.
|
|
53
53
|
a: 1
|
54
54
|
b: 2
|
55
55
|
c: 3
|
56
|
-
|
56
|
+
|
57
57
|
Object.reverseMerge I,
|
58
58
|
c: 6
|
59
|
-
d: 4
|
60
|
-
|
59
|
+
d: 4
|
60
|
+
|
61
61
|
I # => {a: 1, b:2, c:3, d: 4}
|
62
62
|
|
63
63
|
@name reverseMerge
|
@@ -67,7 +67,7 @@ Checks whether an object is an array.
|
|
67
67
|
*/
|
68
68
|
|
69
69
|
|
70
|
-
Object.reverseMerge = function() {
|
70
|
+
Object.defaults = Object.reverseMerge = function() {
|
71
71
|
var name, object, objects, target, _i, _len;
|
72
72
|
target = arguments[0], objects = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
|
73
73
|
for (_i = 0, _len = objects.length; _i < _len; _i++) {
|
@@ -89,11 +89,11 @@ Checks whether an object is an array.
|
|
89
89
|
a: 1
|
90
90
|
b: 2
|
91
91
|
c: 3
|
92
|
-
|
92
|
+
|
93
93
|
Object.extend I,
|
94
94
|
c: 6
|
95
95
|
d: 4
|
96
|
-
|
96
|
+
|
97
97
|
I # => {a: 1, b:2, c:6, d: 4}
|
98
98
|
|
99
99
|
@name extend
|
@@ -119,7 +119,7 @@ Checks whether an object is an array.
|
|
119
119
|
Helper method that tells you if something is an object.
|
120
120
|
|
121
121
|
object = {a: 1}
|
122
|
-
|
122
|
+
|
123
123
|
Object.isObject(object)
|
124
124
|
# => true
|
125
125
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cornerstone-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Diebolt
|
@@ -22,9 +22,9 @@ dependencies:
|
|
22
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - "="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash:
|
27
|
+
hash: 1808382141
|
28
28
|
segments:
|
29
29
|
- 3
|
30
30
|
- 0
|