loadjs 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -36,3 +36,12 @@ end
36
36
 
37
37
 
38
38
  task :default => :test
39
+
40
+ begin
41
+ require 'jasmine'
42
+ load 'jasmine/tasks/jasmine.rake'
43
+ rescue LoadError
44
+ task :jasmine do
45
+ abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
46
+ end
47
+ end
@@ -1,3 +1,3 @@
1
1
  module Loadjs
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -14,7 +14,7 @@ function load(options, fn) {
14
14
  for (var controller in options.controllers) {
15
15
  var actions = options.controllers[controller];
16
16
  if (controller != currentController) {
17
- return;
17
+ continue;
18
18
  }
19
19
  if (actions.length == 0) {
20
20
  fn(currentController, currentAction);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loadjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
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-05-07 00:00:00.000000000 Z
12
+ date: 2013-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  segments:
103
103
  - 0
104
- hash: 2328848763723569876
104
+ hash: -2569935015286577151
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  segments:
112
112
  - 0
113
- hash: 2328848763723569876
113
+ hash: -2569935015286577151
114
114
  requirements: []
115
115
  rubyforge_project:
116
116
  rubygems_version: 1.8.23