lacey-rails 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 959f0e0f56bebf58ae44da80650d76881ad0781f
4
- data.tar.gz: 443177bcaaf532373e974976cfbed3ca6ad9a4c6
3
+ metadata.gz: 9d4f6d5c4d5756eda69829439e2664a1271f1cb2
4
+ data.tar.gz: d78a6b4135fc09a8f3f3c03f10469f25e88c99a7
5
5
  SHA512:
6
- metadata.gz: 6f9bb9a831fbb261f3844c7a011711458172758a108b855888d0dd30f5f3c122faf501e19e009c9ee7fd9267788b44bbc695dfcc606852027227cff60ca59a80
7
- data.tar.gz: 67f04083361175cc12e7e8c8bc5fc2db641c9f9176835fa94bfa23e9b881270fb6f1273f0c35857217d11a5cc4aa9085decaa43246f6b80066b38132411f6638
6
+ metadata.gz: 8edf2525650ee72dd88979b56e60fc07108dbe3ae755ac81e294826b43f945342cb755ea5b768d77dbf287c28523dd6df7c802218e1d3d481c6c46e7c29d5fda
7
+ data.tar.gz: 467da480f5dec4ea3042705e63ae80a270af1e3406adaaf1b90c973bab7ffdd76b769e503fcf8edb4ef42d1d9b77672b85fb1a32c778b92cd63b8529e2cb3d69
@@ -1,5 +1,5 @@
1
1
  module Lacey
2
2
  module Rails
3
- VERSION = '0.5.0'
3
+ VERSION = '0.6.0'
4
4
  end
5
5
  end
@@ -1,26 +1,27 @@
1
- var prototype = Object.prototype;
1
+ var object_prototype = Object.prototype;
2
2
 
3
- Object.defineProperty(prototype, 'has_parent', {
4
- value: false,
5
- writable: true,
6
- enumerable: false
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
- Object.defineProperty(prototype, 'inherits_from', {
16
- value: function (klass) {
17
- this.prototype = new (Function.bind.apply(klass, arguments))();
18
- this.prototype.constructor = this;
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
- writable: true,
22
- enumerable: false
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.5.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-02 00:00:00.000000000 Z
11
+ date: 2016-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler