foobara-files-generator 0.2.0 → 0.2.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 403cd73716460c07e8b8c6a7cef1a9757d4d2a376e6cbc905660975395f6d9af
|
|
4
|
+
data.tar.gz: 6ee34983b9f2aa3e6abde8480ea05fc22476b89cc624da63d69a3d995b776630
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46d07a4dd416e7a58bf74e1694138030af5650f499a86aea31f501ef78b0682ecfb57ebe3e7c0b45a9c9bbb1341da84686873405ee974f3e613a62610d3eeb7f
|
|
7
|
+
data.tar.gz: 32e65214cfc83f8cb4d8bb00f11a35361a520af6ff38e8f54eceb805933799fcf1b347cf6b37dbb2a7592b96e01c3860c458c08d074fabf29b7ec114d64ee497
|
data/CHANGELOG.md
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
require "
|
|
2
|
-
|
|
3
|
-
module Foobara
|
|
4
|
-
class FilesGenerator
|
|
5
|
-
module BundlerActions
|
|
6
|
-
def bundle_install
|
|
7
|
-
puts "bundling..."
|
|
8
|
-
cmd = "bundle install"
|
|
9
|
-
|
|
10
|
-
Bundler.with_unbundled_env do
|
|
11
|
-
run_cmd_and_return_output(cmd)
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
1
|
+
warn 'DEPRECATED: do not explicitly load require "foobara/files_generator/bundler_actions"'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
require "bundler"
|
|
2
|
+
|
|
3
|
+
module Foobara
|
|
4
|
+
class FilesGenerator
|
|
5
|
+
module BundlerActions
|
|
6
|
+
def bundle_install
|
|
7
|
+
puts "bundling..."
|
|
8
|
+
cmd = "bundle install"
|
|
9
|
+
|
|
10
|
+
Bundler.with_unbundled_env do
|
|
11
|
+
run_cmd_and_return_output(cmd)
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
data/src/files_generator.rb
CHANGED
|
@@ -131,10 +131,9 @@ module Foobara
|
|
|
131
131
|
key = self.class.generator_key
|
|
132
132
|
|
|
133
133
|
if key
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
key = key.first if key.is_a?(::Array)
|
|
135
|
+
|
|
136
136
|
"#{key}-generator.json"
|
|
137
|
-
# simplecov:enable
|
|
138
137
|
else
|
|
139
138
|
"foobara-generated.json"
|
|
140
139
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foobara-files-generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miles Georgi
|
|
@@ -43,6 +43,7 @@ files:
|
|
|
43
43
|
- lib/foobara/files_generator.rb
|
|
44
44
|
- lib/foobara/files_generator/bundler_actions.rb
|
|
45
45
|
- src/files_generator.rb
|
|
46
|
+
- src/files_generator/bundler_actions.rb
|
|
46
47
|
- src/generate.rb
|
|
47
48
|
- src/symlink.rb
|
|
48
49
|
- src/types/generate_result.rb
|