h2ocube_rails_development 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/h2ocube_rails_development.gemspec +3 -2
- data/lib/h2ocube_rails_development.rb +2 -4
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97c83e6bbf010e1e7a38f3adb7f9b61aa6f85797
|
4
|
+
data.tar.gz: a3fdeb582fed9b88ee6dd7bb8d7d69f102a2e015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7604b87ee22a13f5ebaf53fbf0040c8bb311e7eb1d8b032ba520b85db1df6112ec5cd8b02d51e16e2ff46f6c0223ec1b9f226852dd36d7f3b5c7bd09d307877f
|
7
|
+
data.tar.gz: f968c912dbb80fabbf5c4de6704207e469adca2cb691f11c305ae5777e71004851cab7bd2d58b9f1587b0e03262e423077a692eb6e83638feb26eb3c01aed212
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'h2ocube_rails_development'
|
6
|
-
spec.version = '0.
|
6
|
+
spec.version = '0.4.0'
|
7
7
|
spec.authors = ['Ben']
|
8
8
|
spec.email = ['ben@zfben.com']
|
9
9
|
spec.description = 'Just a collection for development gems'
|
@@ -41,8 +41,9 @@ Gem::Specification.new do |spec|
|
|
41
41
|
|
42
42
|
# for test only
|
43
43
|
spec.add_dependency 'capybara'
|
44
|
-
spec.add_dependency '
|
44
|
+
spec.add_dependency 'poltergeist'
|
45
45
|
spec.add_dependency 'rack_session_access'
|
46
|
+
spec.add_dependency 'rspec_junit_formatter'
|
46
47
|
spec.add_dependency 'timecop'
|
47
48
|
spec.add_dependency 'webmock'
|
48
49
|
|
@@ -1,20 +1,18 @@
|
|
1
1
|
%w(h2ocube_rails_assets h2ocube_rails_cache h2ocube_rails_puma).each { |gem| require gem }
|
2
2
|
|
3
|
-
%w(
|
3
|
+
%w(pry-rails).each { |gem| require gem } if Rails.env.development? || Rails.env.test?
|
4
4
|
|
5
5
|
if Rails.env.development?
|
6
6
|
%w(annotate better_errors binding_of_caller meta_request pry-remote).each { |gem| require gem }
|
7
7
|
BetterErrors::Middleware.allow_ip! '0.0.0.0'
|
8
8
|
end
|
9
9
|
|
10
|
-
%w(capybara database_cleaner rack_session_access timecop webmock).each { |gem| require gem } if Rails.env.test?
|
11
|
-
|
12
10
|
module H2ocubeRailsDevelopment
|
13
11
|
class Railtie < Rails::Railtie
|
14
12
|
railtie_name :h2ocube_rails_development
|
15
13
|
|
16
14
|
initializer 'h2ocube_rails_development.configure_rails_initialization' do |app|
|
17
|
-
app.middleware.use RackSessionAccess::Middleware if Rails.env.test?
|
15
|
+
app.middleware.use RackSessionAccess::Middleware if Rails.env.test? && defined?(RackSessionAccess)
|
18
16
|
end
|
19
17
|
|
20
18
|
rake_tasks do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: h2ocube_rails_development
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: h2ocube_rails_assets
|
@@ -221,7 +221,7 @@ dependencies:
|
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
224
|
+
name: poltergeist
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - ">="
|
@@ -248,6 +248,20 @@ dependencies:
|
|
248
248
|
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rspec_junit_formatter
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
251
265
|
- !ruby/object:Gem::Dependency
|
252
266
|
name: timecop
|
253
267
|
requirement: !ruby/object:Gem::Requirement
|