h2ocube_rails_cache 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +2 -1
- data/README.md +7 -0
- data/h2ocube_rails_cache.gemspec +2 -2
- data/lib/action_dispatch/middleware/session/h2ocube_rails_cache_session.rb +22 -0
- data/lib/active_support/cache/h2ocube_rails_cache.rb +2 -2
- data/lib/h2ocube_rails_cache.rb +19 -0
- data/lib/rack/session/h2ocube_rails_cache_session.rb +69 -0
- data/lib/tasks/tmp.rake +17 -0
- data/test/cache_test.rb +17 -1
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/views/application/home.html.erb +0 -0
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/dummy/config/routes.rb +1 -56
- data/test/test_helper.rb +2 -3
- metadata +8 -5
- data/test/dummy/log/test.log +0 -132
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d9a6b8ef97b0726b986a78456b0acc7f58ba457
|
4
|
+
data.tar.gz: d4dc1c0bee67215dc08bcaebc4468ccb0d2c1c2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3004ea8f51b991842e8a4995151f4af34f02736ef164e69a75ddc75e98b6ea0a9925d4eba83dcbf8aec5945c3218721f08176be8f894b184a0b7d343e21f364
|
7
|
+
data.tar.gz: c9db60273fdac7ee363b69cda7abaf3bc75a6cb52cad8947d8395015864575c9a3d8aca9f8b074a63f76cdc8cac5ef311b5680c5e90df62a7fa83743a44bf241
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -15,6 +15,13 @@ And then execute:
|
|
15
15
|
|
16
16
|
$ bundle
|
17
17
|
|
18
|
+
Disable default session_store in config/initializers/session_store.rb
|
19
|
+
|
20
|
+
## Task changed
|
21
|
+
|
22
|
+
rake tmp:sessions:clear # will clear redis session data too
|
23
|
+
rake tmp:cache:clear # will run Rails.clear too
|
24
|
+
|
18
25
|
## Contributing
|
19
26
|
|
20
27
|
1. Fork it
|
data/h2ocube_rails_cache.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'h2ocube_rails_cache'
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.4'
|
8
8
|
gem.authors = ['Ben']
|
9
9
|
gem.email = ['ben@h2ocube.com']
|
10
10
|
gem.description = 'Just an redis cache.'
|
@@ -19,5 +19,5 @@ Gem::Specification.new do |gem|
|
|
19
19
|
|
20
20
|
gem.add_dependency 'redis-namespace'
|
21
21
|
|
22
|
-
%w(rails minitest).each{ |g| gem.add_development_dependency g }
|
22
|
+
%w(rails minitest-rails).each{ |g| gem.add_development_dependency g }
|
23
23
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'redis'
|
2
|
+
require 'redis/namespace'
|
3
|
+
require 'action_dispatch/middleware/session/abstract_store'
|
4
|
+
|
5
|
+
module ActionDispatch
|
6
|
+
module Session
|
7
|
+
class H2ocubeRailsCacheSession < Rack::Session::H2ocubeRailsCacheSession
|
8
|
+
include Compatibility
|
9
|
+
include StaleSessionCheck
|
10
|
+
def initialize(app, options = {})
|
11
|
+
options = options.dup
|
12
|
+
super
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.clear
|
16
|
+
r = Redis::Namespace.new(Rails.application.class.to_s.split("::").first << ':Session', redis: Redis::Store.new)
|
17
|
+
r.keys('*').each{ |k| r.del k }
|
18
|
+
true
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -7,7 +7,7 @@ module ActiveSupport
|
|
7
7
|
def initialize(options = nil, &blk)
|
8
8
|
options ||= {}
|
9
9
|
super(options)
|
10
|
-
@data = Redis::Namespace.new(Rails.application.class.to_s.split("::").first << ':Cache')
|
10
|
+
@data = Redis::Namespace.new(Rails.application.class.to_s.split("::").first << ':Cache', redis: Redis::Store.new)
|
11
11
|
end
|
12
12
|
|
13
13
|
def keys key = '*'
|
@@ -25,7 +25,7 @@ module ActiveSupport
|
|
25
25
|
|
26
26
|
def write(key, entry, options = nil)
|
27
27
|
return false if key.start_with?('http')
|
28
|
-
@data.set key, Marshal.dump(entry)
|
28
|
+
@data.set key, Marshal.dump(entry), options
|
29
29
|
true
|
30
30
|
end
|
31
31
|
|
data/lib/h2ocube_rails_cache.rb
CHANGED
@@ -1,10 +1,29 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
require 'active_support/cache/h2ocube_rails_cache'
|
3
|
+
require 'rack/session/h2ocube_rails_cache_session'
|
4
|
+
require 'action_dispatch/middleware/session/h2ocube_rails_cache_session'
|
5
|
+
|
6
|
+
class Redis
|
7
|
+
class Store < self
|
8
|
+
def set(key, value, options = nil)
|
9
|
+
if options && ttl = options[:expire_after] || options[:expires_in] || options[:expire_in] || nil
|
10
|
+
setex(key, ttl.to_i, value)
|
11
|
+
else
|
12
|
+
super(key, value)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
3
17
|
|
4
18
|
module H2ocubeRailsCache
|
5
19
|
class Railtie < Rails::Railtie
|
6
20
|
config.before_configuration do |app|
|
7
21
|
app.config.cache_store = :h2ocube_rails_cache
|
22
|
+
app.config.session_store :h2ocube_rails_cache_session
|
23
|
+
end
|
24
|
+
|
25
|
+
rake_tasks do
|
26
|
+
load 'tasks/tmp.rake'
|
8
27
|
end
|
9
28
|
end
|
10
29
|
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
require 'redis'
|
2
|
+
require 'redis/namespace'
|
3
|
+
require 'rack/session/abstract/id'
|
4
|
+
|
5
|
+
module Rack
|
6
|
+
module Session
|
7
|
+
class H2ocubeRailsCacheSession < Abstract::ID
|
8
|
+
attr_reader :mutex, :pool
|
9
|
+
|
10
|
+
DEFAULT_OPTIONS = Abstract::ID::DEFAULT_OPTIONS.merge \
|
11
|
+
expire_after: 30.days
|
12
|
+
|
13
|
+
def initialize(app, options = nil)
|
14
|
+
super
|
15
|
+
|
16
|
+
@mutex = Mutex.new
|
17
|
+
@pool = Redis::Namespace.new(Rails.application.class.to_s.split("::").first << ':Session', redis: Redis::Store.new)
|
18
|
+
end
|
19
|
+
|
20
|
+
def generate_sid
|
21
|
+
loop do
|
22
|
+
sid = super
|
23
|
+
break sid unless @pool.get(sid)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def get_session(env, sid)
|
28
|
+
with_lock(env, [nil, {}]) do
|
29
|
+
unless sid and session = @pool.get(sid)
|
30
|
+
sid, session = generate_sid, Hash.new
|
31
|
+
unless /^OK/ =~ @pool.set(sid, Marshal.dump(session), @default_options)
|
32
|
+
raise "Session collision on '#{sid.inspect}'"
|
33
|
+
end
|
34
|
+
else
|
35
|
+
session = Marshal.load(session)
|
36
|
+
end
|
37
|
+
[sid, session]
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def set_session(env, session_id, new_session, options)
|
42
|
+
with_lock(env, false) do
|
43
|
+
@pool.set session_id, Marshal.dump(new_session), options
|
44
|
+
session_id
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def destroy_session(env, session_id, options)
|
49
|
+
with_lock(env) do
|
50
|
+
@pool.del(session_id)
|
51
|
+
generate_sid unless options[:drop]
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def with_lock(env, default=nil)
|
56
|
+
@mutex.lock if env['rack.multithread']
|
57
|
+
yield
|
58
|
+
rescue Errno::ECONNREFUSED
|
59
|
+
if $VERBOSE
|
60
|
+
warn "#{self} is unable to find Redis server."
|
61
|
+
warn $!.inspect
|
62
|
+
end
|
63
|
+
default
|
64
|
+
ensure
|
65
|
+
@mutex.unlock if @mutex.locked?
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
data/lib/tasks/tmp.rake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
namespace :tmp do
|
2
|
+
namespace :sessions do
|
3
|
+
# desc "Clears all files in tmp/sessions"
|
4
|
+
task :clear => :environment do
|
5
|
+
FileUtils.rm(Dir['tmp/sessions/[^.]*'])
|
6
|
+
Rails.application.config.session_store.clear
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
namespace :cache do
|
11
|
+
# desc "Clears all files and directories in tmp/cache"
|
12
|
+
task :clear => :environment do
|
13
|
+
FileUtils.rm_rf(Dir['tmp/cache/[^.]*'])
|
14
|
+
Rails.cache.clear
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/test/cache_test.rb
CHANGED
@@ -8,7 +8,8 @@ describe 'h2ocube_rails_cache' do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
it 'should work' do
|
11
|
-
|
11
|
+
Rails.cache.class.to_s.must_equal 'ActiveSupport::Cache::H2ocubeRailsCache'
|
12
|
+
Rails.application.config.session_store.to_s.must_equal 'ActionDispatch::Session::H2ocubeRailsCacheSession'
|
12
13
|
end
|
13
14
|
|
14
15
|
it '.keys' do
|
@@ -37,4 +38,19 @@ describe 'h2ocube_rails_cache' do
|
|
37
38
|
|
38
39
|
Rails.cache.read('a').must_be_nil
|
39
40
|
end
|
41
|
+
|
42
|
+
it 'expire' do
|
43
|
+
Rails.cache.delete 'expire'
|
44
|
+
Rails.cache.write 'expire', 1, expires_in: 1
|
45
|
+
Rails.cache.exist?('expire').must_be_same_as true
|
46
|
+
sleep 1
|
47
|
+
Rails.cache.exist?('expire').must_be_same_as false
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe ApplicationController do
|
52
|
+
it 'get home' do
|
53
|
+
get :home
|
54
|
+
assert_response :success
|
55
|
+
end
|
40
56
|
end
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
3
|
+
# Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
data/test/dummy/config/routes.rb
CHANGED
@@ -1,58 +1,3 @@
|
|
1
1
|
Dummy::Application.routes.draw do
|
2
|
-
|
3
|
-
# first created -> highest priority.
|
4
|
-
|
5
|
-
# Sample of regular route:
|
6
|
-
# match 'products/:id' => 'catalog#view'
|
7
|
-
# Keep in mind you can assign values other than :controller and :action
|
8
|
-
|
9
|
-
# Sample of named route:
|
10
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
-
|
13
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
-
# resources :products
|
15
|
-
|
16
|
-
# Sample resource route with options:
|
17
|
-
# resources :products do
|
18
|
-
# member do
|
19
|
-
# get 'short'
|
20
|
-
# post 'toggle'
|
21
|
-
# end
|
22
|
-
#
|
23
|
-
# collection do
|
24
|
-
# get 'sold'
|
25
|
-
# end
|
26
|
-
# end
|
27
|
-
|
28
|
-
# Sample resource route with sub-resources:
|
29
|
-
# resources :products do
|
30
|
-
# resources :comments, :sales
|
31
|
-
# resource :seller
|
32
|
-
# end
|
33
|
-
|
34
|
-
# Sample resource route with more complex sub-resources
|
35
|
-
# resources :products do
|
36
|
-
# resources :comments
|
37
|
-
# resources :sales do
|
38
|
-
# get 'recent', :on => :collection
|
39
|
-
# end
|
40
|
-
# end
|
41
|
-
|
42
|
-
# Sample resource route within a namespace:
|
43
|
-
# namespace :admin do
|
44
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
-
# # (app/controllers/admin/products_controller.rb)
|
46
|
-
# resources :products
|
47
|
-
# end
|
48
|
-
|
49
|
-
# You can have the root of your site routed with "root"
|
50
|
-
# just remember to delete public/index.html.
|
51
|
-
# root :to => "welcome#index"
|
52
|
-
|
53
|
-
# See how all your routes lay out with "rake routes"
|
54
|
-
|
55
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
-
# match ':controller(/:action(/:id(.:format)))'
|
2
|
+
root to: 'application#home'
|
58
3
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: h2ocube_rails_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-namespace
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
42
|
+
name: minitest-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '>='
|
@@ -66,12 +66,16 @@ files:
|
|
66
66
|
- README.md
|
67
67
|
- Rakefile
|
68
68
|
- h2ocube_rails_cache.gemspec
|
69
|
+
- lib/action_dispatch/middleware/session/h2ocube_rails_cache_session.rb
|
69
70
|
- lib/active_support/cache/h2ocube_rails_cache.rb
|
70
71
|
- lib/h2ocube_rails_cache.rb
|
72
|
+
- lib/rack/session/h2ocube_rails_cache_session.rb
|
73
|
+
- lib/tasks/tmp.rake
|
71
74
|
- test/cache_test.rb
|
72
75
|
- test/dummy/Rakefile
|
73
76
|
- test/dummy/app/controllers/application_controller.rb
|
74
77
|
- test/dummy/app/helpers/application_helper.rb
|
78
|
+
- test/dummy/app/views/application/home.html.erb
|
75
79
|
- test/dummy/app/views/layouts/application.html.erb
|
76
80
|
- test/dummy/config.ru
|
77
81
|
- test/dummy/config/application.rb
|
@@ -85,7 +89,6 @@ files:
|
|
85
89
|
- test/dummy/config/initializers/session_store.rb
|
86
90
|
- test/dummy/config/locales/en.yml
|
87
91
|
- test/dummy/config/routes.rb
|
88
|
-
- test/dummy/log/test.log
|
89
92
|
- test/dummy/script/rails
|
90
93
|
- test/test_helper.rb
|
91
94
|
homepage: https://github.com/h2ocube/h2ocube_rails_cache
|
@@ -117,6 +120,7 @@ test_files:
|
|
117
120
|
- test/dummy/Rakefile
|
118
121
|
- test/dummy/app/controllers/application_controller.rb
|
119
122
|
- test/dummy/app/helpers/application_helper.rb
|
123
|
+
- test/dummy/app/views/application/home.html.erb
|
120
124
|
- test/dummy/app/views/layouts/application.html.erb
|
121
125
|
- test/dummy/config.ru
|
122
126
|
- test/dummy/config/application.rb
|
@@ -130,6 +134,5 @@ test_files:
|
|
130
134
|
- test/dummy/config/initializers/session_store.rb
|
131
135
|
- test/dummy/config/locales/en.yml
|
132
136
|
- test/dummy/config/routes.rb
|
133
|
-
- test/dummy/log/test.log
|
134
137
|
- test/dummy/script/rails
|
135
138
|
- test/test_helper.rb
|
data/test/dummy/log/test.log
DELETED
@@ -1,132 +0,0 @@
|
|
1
|
-
Error compiling asset jquery_test.js:
|
2
|
-
Sprockets::FileNotFound: couldn't find file 'jquery/1'
|
3
|
-
(in /Users/ben/h2ocube_rails_assets/vendor/assets/javascripts/jquery.js:1)
|
4
|
-
Error compiling asset jquery.ui_test.js:
|
5
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
6
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
7
|
-
Error compiling asset jquery_test.js:
|
8
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
9
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
10
|
-
Error compiling asset jquery-turbolinks_test.js:
|
11
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
12
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
13
|
-
Error compiling asset jquery.ui_test.js:
|
14
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
15
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
16
|
-
Error compiling asset jquery_test.js:
|
17
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
18
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
19
|
-
Error compiling asset jquery-turbolinks_test.js:
|
20
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
21
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
22
|
-
Error compiling asset jquery.ui_test.js:
|
23
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
24
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
25
|
-
Error compiling asset jquery_test.js:
|
26
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
27
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
28
|
-
Error compiling asset jquery-turbolinks_test.js:
|
29
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
30
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
31
|
-
Error compiling asset jquery.ui_test.js:
|
32
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
33
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
34
|
-
Error compiling asset jquery_test.js:
|
35
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
36
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
37
|
-
Error compiling asset jquery-turbolinks_test.js:
|
38
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
39
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
40
|
-
Error compiling asset jquery.ui_test.js:
|
41
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
42
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
43
|
-
Error compiling asset jquery_test.js:
|
44
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
45
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
46
|
-
Error compiling asset jquery-turbolinks_test.js:
|
47
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
48
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
49
|
-
Error compiling asset jquery.ui_test.js:
|
50
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
51
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
52
|
-
Error compiling asset jquery_test.js:
|
53
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
54
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
55
|
-
Error compiling asset jquery-turbolinks_test.js:
|
56
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
57
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
58
|
-
Error compiling asset jquery.ui_test.js:
|
59
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
60
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
61
|
-
Error compiling asset jquery_test.js:
|
62
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
63
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
64
|
-
Error compiling asset jquery-turbolinks_test.js:
|
65
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
66
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
67
|
-
Error compiling asset jquery.ui_test.js:
|
68
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
69
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
70
|
-
Error compiling asset jquery_test.js:
|
71
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
72
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
73
|
-
Error compiling asset jquery-turbolinks_test.js:
|
74
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
75
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
76
|
-
Error compiling asset jquery.ui_test.js:
|
77
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
78
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
79
|
-
Error compiling asset jquery_test.js:
|
80
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
81
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
82
|
-
Error compiling asset jquery-turbolinks_test.js:
|
83
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
84
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
85
|
-
Error compiling asset jquery.ui_test.js:
|
86
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
87
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
88
|
-
Error compiling asset jquery_test.js:
|
89
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
90
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
91
|
-
Error compiling asset jquery-turbolinks_test.js:
|
92
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
93
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
94
|
-
Error compiling asset jquery.ui_test.js:
|
95
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
96
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
97
|
-
Error compiling asset jquery_test.js:
|
98
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
99
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
100
|
-
Error compiling asset jquery-turbolinks_test.js:
|
101
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
102
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
103
|
-
Error compiling asset jquery.ui_test.js:
|
104
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
105
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
106
|
-
Error compiling asset jquery_test.js:
|
107
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
108
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
109
|
-
Error compiling asset jquery-turbolinks_test.js:
|
110
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
111
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
112
|
-
Error compiling asset jquery.ui_test.js:
|
113
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
114
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
115
|
-
Error compiling asset jquery_test.js:
|
116
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
117
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
118
|
-
Error compiling asset jquery-turbolinks_test.js:
|
119
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
120
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
121
|
-
Error compiling asset jquery.ui_test.js:
|
122
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.ui'
|
123
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery.ui_test.coffee:1)
|
124
|
-
Error compiling asset jquery_test.js:
|
125
|
-
Sprockets::FileNotFound: couldn't find file 'jquery'
|
126
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery_test.coffee:1)
|
127
|
-
Error compiling asset jquery-turbolinks_test.js:
|
128
|
-
Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks'
|
129
|
-
(in /Users/ben/h2ocube_rails_assets/test/dummy/app/assets/javascripts/jquery-turbolinks_test.js:1)
|
130
|
-
|
131
|
-
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
132
|
-
|