revelry_generate 0.4.6 → 0.4.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65fbc30b9789fba87473536017239ffb6d11994c
|
4
|
+
data.tar.gz: 2512dad81fe94db8eaa721903690b4439df24ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83043a38b8aa3f0987f516324bf5bed5f03d462773e9eb6061565b668d08e121423fa5b03dea41d824e64670b2554aa98186d49ec8e30baa98467b88bde735b5
|
7
|
+
data.tar.gz: a1e47654b3d8a211385699f0c1777a09da71691983de55460a8c8e1b4296685458136db6721726e49bfe6d747a6262347e17983ba19b183dc0adea98a2213df8
|
@@ -48,7 +48,11 @@ module RevelryGenerate
|
|
48
48
|
|
49
49
|
return unless File.exist? hook_path
|
50
50
|
puts "rake rails:template LOCATION=#{hook_path}"
|
51
|
-
|
51
|
+
if Rails::VERSION::MAJOR < 4
|
52
|
+
rake("rails:template LOCATION=#{hook_path}")
|
53
|
+
else
|
54
|
+
rails_command("app:template LOCATION=#{hook_path}")
|
55
|
+
end
|
52
56
|
end
|
53
57
|
end
|
54
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revelry_generate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Prehn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: ''
|
14
14
|
email:
|