elementaljs-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Elementaljs
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@
20
20
 
21
21
  var fns = _.map(namespaces, function(namespace){
22
22
  return _.reduce(namespaced, function(prev, next){
23
- return prev[next];
23
+ return prev !== undefined ? prev[next] : undefined;
24
24
  }, namespace);
25
25
  });
26
26
 
@@ -40,3 +40,4 @@
40
40
  };
41
41
 
42
42
  })();
43
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elementaljs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-16 00:00:00.000000000 Z
12
+ date: 2013-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-rails
@@ -58,7 +58,8 @@ files:
58
58
  - LICENSE
59
59
  - README.md
60
60
  homepage: ''
61
- licenses: []
61
+ licenses:
62
+ - MIT
62
63
  post_install_message:
63
64
  rdoc_options: []
64
65
  require_paths:
@@ -70,15 +71,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
71
  - - ! '>='
71
72
  - !ruby/object:Gem::Version
72
73
  version: '0'
74
+ segments:
75
+ - 0
76
+ hash: 501618456386788448
73
77
  required_rubygems_version: !ruby/object:Gem::Requirement
74
78
  none: false
75
79
  requirements:
76
80
  - - ! '>='
77
81
  - !ruby/object:Gem::Version
78
82
  version: '0'
83
+ segments:
84
+ - 0
85
+ hash: 501618456386788448
79
86
  requirements: []
80
87
  rubyforge_project:
81
- rubygems_version: 1.8.24
88
+ rubygems_version: 1.8.25
82
89
  signing_key:
83
90
  specification_version: 3
84
91
  summary: A Gem wrapper for ElementalJS