h2ocube_rails_development 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/h2ocube_rails_development.gemspec +12 -7
- data/lib/h2ocube_rails_development.rb +8 -9
- metadata +47 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6381da213be3c4f490f80a273ff899c6f638893
|
4
|
+
data.tar.gz: 418f0224d0cc072bb06493dbcd2ea6ded41006c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15dfdfb096894f263ab13ff2c4c2f39af497de36670c27f42f12d026267b1e0b38178f038496bed3ea2b3214fc3b7c5114a7059f74d1e35b4eaf3d0aed104330
|
7
|
+
data.tar.gz: 2308678d17e9275796c4b21e98a85fefab4b21549ae760d7113f9980541cd75fc42910d4281764bc884d64da2c9d09a914dd923959db376d497d8ec3021b3b51
|
data/README.md
CHANGED
@@ -32,6 +32,11 @@ more details see below
|
|
32
32
|
|
33
33
|
## Include
|
34
34
|
|
35
|
+
For all
|
36
|
+
|
37
|
+
* exception_notification http://smartinez87.github.io/exception_notification
|
38
|
+
* h2ocube_rails_cache https://github.com/h2ocube/h2ocube_rails_cache
|
39
|
+
|
35
40
|
For development & test
|
36
41
|
|
37
42
|
* factory_girl_rails https://github.com/thoughtbot/factory_girl_rails
|
@@ -64,6 +69,7 @@ Just installed but not required
|
|
64
69
|
* powder https://github.com/Rodreegez/powder
|
65
70
|
* rubocop https://github.com/bbatsov/rubocop
|
66
71
|
* vendorer https://github.com/grosser/vendorer
|
72
|
+
* whenever https://github.com/javan/whenever
|
67
73
|
|
68
74
|
## Contributing
|
69
75
|
|
@@ -3,20 +3,24 @@ $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.1.
|
6
|
+
spec.version = '0.1.11'
|
7
7
|
spec.authors = ['Ben']
|
8
8
|
spec.email = ['ben@zfben.com']
|
9
|
-
spec.description =
|
10
|
-
spec.summary =
|
9
|
+
spec.description = 'Just a collection for development gems'
|
10
|
+
spec.summary = 'Just a collection for development gems'
|
11
11
|
spec.homepage = 'https://github.com/h2ocube/h2ocube_rails_development'
|
12
12
|
spec.license = 'MIT'
|
13
|
-
spec.required_ruby_version = '~> 2.
|
13
|
+
spec.required_ruby_version = '~> 2.2'
|
14
14
|
|
15
|
-
spec.files = `git ls-files`.split(
|
15
|
+
spec.files = `git ls-files`.split($RS)
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
|
+
# for all
|
21
|
+
spec.add_dependency 'exception_notification'
|
22
|
+
spec.add_dependency 'h2ocube_rails_cache'
|
23
|
+
|
20
24
|
# for development & test
|
21
25
|
|
22
26
|
spec.add_dependency 'factory_girl_rails'
|
@@ -24,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
24
28
|
spec.add_dependency 'rspec-rails'
|
25
29
|
|
26
30
|
# for development only
|
27
|
-
|
31
|
+
|
28
32
|
spec.add_dependency 'annotate'
|
29
33
|
spec.add_dependency 'better_errors'
|
30
34
|
spec.add_dependency 'binding_of_caller'
|
@@ -40,11 +44,12 @@ Gem::Specification.new do |spec|
|
|
40
44
|
spec.add_dependency 'timecop'
|
41
45
|
|
42
46
|
# install but don't require
|
43
|
-
spec.add_dependency 'capistrano', '~> 3.
|
47
|
+
spec.add_dependency 'capistrano', '~> 3.1'
|
44
48
|
spec.add_dependency 'capistrano-bundler'
|
45
49
|
spec.add_dependency 'capistrano-rails'
|
46
50
|
spec.add_dependency 'capistrano-rbenv', '~> 2.0'
|
47
51
|
spec.add_dependency 'powder'
|
48
52
|
spec.add_dependency 'rubocop'
|
49
53
|
spec.add_dependency 'vendorer'
|
54
|
+
spec.add_dependency 'whenever'
|
50
55
|
end
|
@@ -1,9 +1,10 @@
|
|
1
|
-
%w(
|
1
|
+
%w(exception_notification h2ocube_rails_cache).each { |gem| require gem }
|
2
2
|
|
3
|
-
%w(
|
3
|
+
%w(factory_girl_rails rspec-rails pry-rails).each { |gem| require gem } if Rails.env.development? || Rails.env.test?
|
4
4
|
|
5
|
-
%w(
|
5
|
+
%w(annotate better_errors binding_of_caller meta_request pry-remote).each { |gem| require gem } if Rails.env.development?
|
6
6
|
|
7
|
+
%w(capybara database_cleaner timecop).each { |gem| require gem } if Rails.env.test?
|
7
8
|
|
8
9
|
module H2ocubeRailsDevelopment
|
9
10
|
class Railtie < Rails::Railtie
|
@@ -40,14 +41,12 @@ module H2ocubeRailsDevelopment
|
|
40
41
|
end
|
41
42
|
|
42
43
|
Dir[Rails.root.join('config/locales/*.yml')].each do |f|
|
43
|
-
STDOUT.print
|
44
|
+
STDOUT.print(f)
|
44
45
|
hash = deeply_sort_hash(YAML.load(File.read(f)))
|
45
|
-
File.open(f, 'w') { |file|
|
46
|
-
|
47
|
-
}
|
48
|
-
STDOUT.print ("...done!\n")
|
46
|
+
File.open(f, 'w') { |file| file.write hash.to_yaml }
|
47
|
+
STDOUT.print("...done!\n")
|
49
48
|
end
|
50
49
|
end
|
51
50
|
end
|
52
51
|
end
|
53
|
-
end if Rails.env.development?
|
52
|
+
end if Rails.env.development? || Rails.env.test?
|
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: h2ocube_rails_development
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
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-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: exception_notification
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: h2ocube_rails_cache
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: factory_girl_rails
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +240,14 @@ dependencies:
|
|
212
240
|
requirements:
|
213
241
|
- - "~>"
|
214
242
|
- !ruby/object:Gem::Version
|
215
|
-
version: '3.
|
243
|
+
version: '3.1'
|
216
244
|
type: :runtime
|
217
245
|
prerelease: false
|
218
246
|
version_requirements: !ruby/object:Gem::Requirement
|
219
247
|
requirements:
|
220
248
|
- - "~>"
|
221
249
|
- !ruby/object:Gem::Version
|
222
|
-
version: '3.
|
250
|
+
version: '3.1'
|
223
251
|
- !ruby/object:Gem::Dependency
|
224
252
|
name: capistrano-bundler
|
225
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -304,6 +332,20 @@ dependencies:
|
|
304
332
|
- - ">="
|
305
333
|
- !ruby/object:Gem::Version
|
306
334
|
version: '0'
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: whenever
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - ">="
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0'
|
342
|
+
type: :runtime
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - ">="
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '0'
|
307
349
|
description: Just a collection for development gems
|
308
350
|
email:
|
309
351
|
- ben@zfben.com
|
@@ -330,7 +372,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
330
372
|
requirements:
|
331
373
|
- - "~>"
|
332
374
|
- !ruby/object:Gem::Version
|
333
|
-
version: '2.
|
375
|
+
version: '2.2'
|
334
376
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
377
|
requirements:
|
336
378
|
- - ">="
|