lacey-rails 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lacey/rails/version.rb +1 -1
- data/vendor/assets/javascripts/lacey.js +21 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d4f6d5c4d5756eda69829439e2664a1271f1cb2
|
4
|
+
data.tar.gz: d78a6b4135fc09a8f3f3c03f10469f25e88c99a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8edf2525650ee72dd88979b56e60fc07108dbe3ae755ac81e294826b43f945342cb755ea5b768d77dbf287c28523dd6df7c802218e1d3d481c6c46e7c29d5fda
|
7
|
+
data.tar.gz: 467da480f5dec4ea3042705e63ae80a270af1e3406adaaf1b90c973bab7ffdd76b769e503fcf8edb4ef42d1d9b77672b85fb1a32c778b92cd63b8529e2cb3d69
|
data/lib/lacey/rails/version.rb
CHANGED
@@ -1,26 +1,27 @@
|
|
1
|
-
var
|
1
|
+
var object_prototype = Object.prototype;
|
2
2
|
|
3
|
-
Object.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
Object.defineProperty(prototype, 'is_child', {
|
10
|
-
value: false,
|
11
|
-
writable: true,
|
12
|
-
enumerable: false
|
13
|
-
});
|
3
|
+
Object.defineProperties(object_prototype, {
|
4
|
+
'has_parent': {
|
5
|
+
value: false,
|
6
|
+
writable: true,
|
7
|
+
enumerable: false
|
8
|
+
},
|
14
9
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
this.prototype.is_child = this.prototype.has_parent = true;
|
10
|
+
'is_child': {
|
11
|
+
value: false,
|
12
|
+
writable: true,
|
13
|
+
enumerable: false
|
20
14
|
},
|
21
|
-
|
22
|
-
|
15
|
+
|
16
|
+
'inherits_from': {
|
17
|
+
value: function (klass) {
|
18
|
+
this.prototype = new (Function.bind.apply(klass, arguments))();
|
19
|
+
this.prototype.constructor = this;
|
20
|
+
this.prototype.is_child = this.prototype.has_parent = true;
|
21
|
+
}
|
22
|
+
}
|
23
23
|
});
|
24
|
+
|
24
25
|
var LaceyApp,
|
25
26
|
LaceyModule,
|
26
27
|
modules,
|
@@ -94,7 +95,7 @@ validate_module_type = function (Module) {
|
|
94
95
|
};
|
95
96
|
|
96
97
|
validate_duplicated_module = function (module_name) {
|
97
|
-
if (this.modules.indexOf(module_name) !== -1) {
|
98
|
+
if (this.modules.indexOf(module_name) !== -1) {
|
98
99
|
throw 'DuplicateModuleError - your module has already been registered';
|
99
100
|
}
|
100
101
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lacey-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alexzicat
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|