kapellmeister 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -23
- data/lib/generators/kapellmeister/add_service_generator.rb +6 -6
- data/lib/kapellmeister/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d502fdc712f118338314b1a184ddc89aba090a973bdfb039de6fb8964058fc7
|
4
|
+
data.tar.gz: d82b3393ee00556b5a4119512d7f6eac2338ae5c6890d307176332c4153566a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b5a47fb7c4d515dad4ab8401d647b304b20401505b7c4ab337f21c86861557f0caf18ef11e90096a76746b554969f43b1bea973ad2521d5d5b3b35937579d3
|
7
|
+
data.tar.gz: 6d2a816980d9dc13859d144bd50382cad1051c7c16a6111b03fbc3e467d096e31c5f67b6ef1814715b2d9ffc27c9c9bfabe8ded28526fec2bd9832e3e95c0fdf
|
data/Gemfile
CHANGED
@@ -1,26 +1,3 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
-
ruby '3.1.1'
|
4
|
-
|
5
|
-
gemspec
|
6
|
-
|
7
|
-
# debug
|
8
|
-
group :development do
|
9
|
-
gem 'byebug'
|
10
|
-
gem 'web-console'
|
11
|
-
gem 'listen'
|
12
|
-
gem 'rerun', git: 'https://github.com/alexch/rerun.git'
|
13
|
-
end
|
14
|
-
|
15
|
-
# listings
|
16
|
-
group :development, :test do
|
17
|
-
gem 'rubocop', require: false
|
18
|
-
gem 'rubocop-performance'
|
19
|
-
gem 'rubocop-rspec'
|
20
|
-
gem 'rubycritic', require: false
|
21
|
-
gem 'ruby_gntp'
|
22
|
-
end
|
23
|
-
|
24
1
|
source 'https://rubygems.org'
|
25
2
|
|
26
3
|
gemspec
|
@@ -11,11 +11,11 @@ module Kapellmeister
|
|
11
11
|
argument :attributes, type: :array, default: [], banner: 'attribute'
|
12
12
|
|
13
13
|
def copy_initializer_file
|
14
|
-
template 'initializers/
|
14
|
+
template 'initializers/third_party_initializer.rb', "config/initializers/#{file_name}.rb"
|
15
15
|
end
|
16
16
|
|
17
17
|
def copy_base_file
|
18
|
-
template 'lib/
|
18
|
+
template 'lib/third_party.rb', "app/lib/#{file_name}.rb"
|
19
19
|
end
|
20
20
|
|
21
21
|
def copy_lib_folder
|
@@ -28,21 +28,21 @@ module Kapellmeister
|
|
28
28
|
private
|
29
29
|
|
30
30
|
def copy_client_file
|
31
|
-
template 'lib/
|
31
|
+
template 'lib/third_party/client.rb', "app/lib/#{file_name}/client.rb"
|
32
32
|
end
|
33
33
|
|
34
34
|
def copy_configuration_file
|
35
|
-
template 'lib/
|
35
|
+
template 'lib/third_party/configuration.rb', "app/lib/#{file_name}/configuration.rb"
|
36
36
|
end
|
37
37
|
|
38
38
|
def copy_responder_file
|
39
39
|
return unless options[:responder]
|
40
40
|
|
41
|
-
template 'lib/
|
41
|
+
template 'lib/third_party/responder.rb', "app/lib/#{file_name}/responder.rb"
|
42
42
|
end
|
43
43
|
|
44
44
|
def copy_routes_file
|
45
|
-
template 'lib/
|
45
|
+
template 'lib/third_party/routes.yml', "app/lib/#{file_name}/routes.yml"
|
46
46
|
end
|
47
47
|
|
48
48
|
def initialize_signatures
|