h2ocube_rails_assets 0.0.20 → 0.0.21

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: f92280e977d61740812a145e9b1dacc378a46f01
4
- data.tar.gz: 80273fa6a02c1edbc67a1ae546c186cdf8d4e618
3
+ metadata.gz: 9d191895f03cf32e901842df365710ab019cb144
4
+ data.tar.gz: d5a86879ff00ce6555b1220a71100b12fdad43b8
5
5
  SHA512:
6
- metadata.gz: e52f7c31392ad9b5cd09ef05252b670fbe9fd5caac8fd5361416aa78cc144f7a6a542b908ccfffcc6190d0e1fe781419d6f09f0079723451760acc0c50ff75f8
7
- data.tar.gz: cfd6fd69028459b9457a62d9e2b87132d3180068d62d9162f44c78e2f726ca7a097e5db69367de55506c705b63d1ede7ecc757215ff96bffb7e3e6c7a62a5b71
6
+ metadata.gz: 6e29e4b22c7c4c49207844f9327bf240368a1b7762da6c26b3958f566f8c7da5f83945df284eac5149e173159977cd200d3657b0376a98ee50954c0b0738af4a
7
+ data.tar.gz: c3cff9bff5e5ed1243e7abd8773febc0f6082e7f08171c81b8646599b0b843b1940e1dfb79949b5243933870c0ed5b09742bc503f66ed265e4d3c572c03804b3
@@ -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_assets'
7
- gem.version = '0.0.20'
7
+ gem.version = '0.0.21'
8
8
  gem.authors = ['Ben']
9
9
  gem.email = ['ben@h2ocube.com']
10
10
  gem.description = %q{Just an assets collection}
@@ -18,5 +18,7 @@ Gem::Specification.new do |gem|
18
18
 
19
19
  %w(slim sass-rails compass-rails coffee-rails therubyracer uglifier quiet_assets turbolinks).each{ |g| gem.add_dependency g }
20
20
 
21
- %w(rails minitest capybara zip vendorer).each{ |g| gem.add_development_dependency g }
21
+ %w(minitest capybara zip vendorer).each{ |g| gem.add_development_dependency g }
22
+ gem.add_development_dependency 'rails', '~> 3.2'
23
+ gem.add_development_dependency 'pry'
22
24
  end
@@ -2,12 +2,12 @@ if defined?(Rails)
2
2
  ['slim', 'sass-rails', 'compass-rails', 'coffee-rails', 'v8', 'uglifier', 'turbolinks', 'quiet_assets'].each{ |g| require g }
3
3
 
4
4
  module H2ocubeRailsAssets
5
- module Rails
6
- class Rails::Engine < ::Rails::Engine
5
+ class Railtie < Rails::Railtie
6
+ PATH = File.dirname(__FILE__)
7
7
  initializer 'h2ocube_rails_assets.require_dependency' do |app|
8
-
8
+ app.config.assets.paths += Dir[File.join(PATH, '../vendor/assets/*')]
9
+ app.config.assets.paths << Compass::Frameworks['compass'].stylesheets_directory
9
10
  end
10
11
  end
11
- end
12
12
  end
13
13
  end
data/test/assets_test.rb CHANGED
@@ -4,19 +4,19 @@ describe 'basic assets type integration' do
4
4
  it 'css' do
5
5
  visit '/assets/css.css'
6
6
  page.html.wont_include 'Error'
7
- page.html.must_include 'color: red;'
7
+ page.html.must_include 'color: red'
8
8
  end
9
9
 
10
10
  it 'sass' do
11
11
  visit '/assets/sass.css'
12
12
  page.html.wont_include 'Error'
13
- page.html.must_include 'color: red;'
13
+ page.html.must_include 'color: red'
14
14
  end
15
15
 
16
16
  it 'scss' do
17
17
  visit '/assets/scss.css'
18
18
  page.html.wont_include 'Error'
19
- page.html.must_include 'color: red;'
19
+ page.html.must_include 'color: red'
20
20
  end
21
21
 
22
22
  it 'js' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: h2ocube_rails_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-16 00:00:00.000000000 Z
11
+ date: 2013-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slim
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rails
126
+ name: minitest
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '>='
@@ -137,7 +137,7 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: minitest
140
+ name: capybara
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '>='
@@ -151,7 +151,7 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: capybara
154
+ name: zip
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - '>='
@@ -165,7 +165,7 @@ dependencies:
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: zip
168
+ name: vendorer
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '>='
@@ -179,7 +179,21 @@ dependencies:
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
- name: vendorer
182
+ name: rails
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ~>
186
+ - !ruby/object:Gem::Version
187
+ version: '3.2'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ~>
193
+ - !ruby/object:Gem::Version
194
+ version: '3.2'
195
+ - !ruby/object:Gem::Dependency
196
+ name: pry
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
199
  - - '>='