motorhead 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generators/motorhead_generator.rb +1 -1
- data/lib/motorhead/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e888ee4a3e4e512ee007483049db64fe18ef113
|
|
4
|
+
data.tar.gz: 8dbd9a66d913bde8e490997ece393ea0d1a6ca56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2383a8e8db8efa0d928576a8a7a80ed47ad3458ce5e1c8ee9f7e66cd74e0eccc1291e8f5e04a63450c72df6150050caa1dda4f6de0ba3fd77ade476c83d0147b
|
|
7
|
+
data.tar.gz: eda7354f3da57429b6503e3a8e749c7446fe4588924688930a2755a31d603f2066d45a23e4826f220166d2cc46176f05f686ded4dc7152bf7c818f6e0f73bae3
|
|
@@ -46,7 +46,7 @@ class MotorheadGenerator < ::Rails::Generators::PluginGenerator
|
|
|
46
46
|
|
|
47
47
|
def bundle_to_parent
|
|
48
48
|
gemfile = Rails.root + 'Gemfile'
|
|
49
|
-
append_to_file gemfile, "gem '#{name}', path: '#{destination_root}'\n" if gemfile.exist?
|
|
49
|
+
append_to_file gemfile, "gem '#{name}', path: '#{destination_root.sub(%r(^#{Rails.root}/), '')}'\n" if gemfile.exist?
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
def generate_controller
|
data/lib/motorhead/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motorhead
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akira Matsuda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
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: bundler
|
|
@@ -169,3 +169,4 @@ signing_key:
|
|
|
169
169
|
specification_version: 4
|
|
170
170
|
summary: A safe and rapid prototyping framework for Rails
|
|
171
171
|
test_files: []
|
|
172
|
+
has_rdoc:
|