ratchetio 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/ratchetio/rake_tasks.rb +7 -4
- data/lib/ratchetio/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/lib/ratchetio/rake_tasks.rb
CHANGED
@@ -12,8 +12,6 @@ namespace :ratchetio do
|
|
12
12
|
config.logger = Rails.logger
|
13
13
|
end
|
14
14
|
|
15
|
-
require './app/controllers/application_controller'
|
16
|
-
|
17
15
|
class RatchetioTestingException < RuntimeError; end
|
18
16
|
|
19
17
|
unless Ratchetio.configuration.access_token
|
@@ -21,9 +19,14 @@ namespace :ratchetio do
|
|
21
19
|
exit
|
22
20
|
end
|
23
21
|
|
22
|
+
begin
|
23
|
+
require './app/controllers/application_controller'
|
24
|
+
rescue LoadError
|
25
|
+
end
|
26
|
+
|
24
27
|
unless defined?(ApplicationController)
|
25
|
-
puts "No ApplicationController found"
|
26
|
-
|
28
|
+
puts "No ApplicationController found, using ActionController::Base instead"
|
29
|
+
class ApplicationController < ActionController::Base; end
|
27
30
|
end
|
28
31
|
|
29
32
|
puts "Setting up the controller."
|
data/lib/ratchetio/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ratchetio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
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-02-
|
12
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|