decidim-generators 0.24.3 → 0.25.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -3
- data/Gemfile.lock +317 -354
- data/lib/decidim/generators/app_generator.rb +35 -14
- data/lib/decidim/generators/app_templates/_decidim-settings.scss +7 -0
- data/lib/decidim/generators/app_templates/decidim_application.js +5 -0
- data/lib/decidim/generators/app_templates/decidim_application.scss +7 -0
- data/lib/decidim/generators/app_templates/secrets.yml.erb +17 -21
- data/lib/decidim/generators/component_templates/Gemfile.erb +1 -2
- data/lib/decidim/generators/component_templates/app/{assets → packs}/images/decidim/component/icon.svg +0 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/component.rb.erb +1 -1
- data/lib/decidim/generators/component_templates/lib/decidim/component/engine.rb.erb +0 -4
- data/lib/decidim/generators/install_generator.rb +37 -34
- data/lib/decidim/generators/version.rb +1 -1
- metadata +10 -9
- data/lib/decidim/generators/app_templates/decidim.scss.erb +0 -3
- data/lib/decidim/generators/component_templates/app/assets/config/component_manifest.js +0 -0
@@ -65,6 +65,10 @@ module Decidim
|
|
65
65
|
default: false,
|
66
66
|
desc: "Add the necessary gems to profile the app"
|
67
67
|
|
68
|
+
class_option :force_ssl, type: :string,
|
69
|
+
default: "true",
|
70
|
+
desc: "Doesn't force to use ssl"
|
71
|
+
|
68
72
|
def database_yml
|
69
73
|
template "database.yml.erb", "config/database.yml", force: true
|
70
74
|
end
|
@@ -97,18 +101,13 @@ module Decidim
|
|
97
101
|
def gemfile
|
98
102
|
return if options[:skip_gemfile]
|
99
103
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
elsif options[:branch]
|
108
|
-
"git: \"https://github.com/decidim/decidim.git\", branch: \"#{options[:branch]}\""
|
109
|
-
else
|
110
|
-
"\"#{Decidim::Generators.version}\""
|
111
|
-
end
|
104
|
+
if branch.present?
|
105
|
+
get target_gemfile, "Gemfile", force: true
|
106
|
+
get "#{target_gemfile}.lock", "Gemfile.lock", force: true
|
107
|
+
else
|
108
|
+
copy_file target_gemfile, "Gemfile", force: true
|
109
|
+
copy_file "#{target_gemfile}.lock", "Gemfile.lock", force: true
|
110
|
+
end
|
112
111
|
|
113
112
|
gsub_file "Gemfile", /gem "#{current_gem}".*/, "gem \"#{current_gem}\", #{gem_modifier}"
|
114
113
|
|
@@ -137,8 +136,6 @@ module Decidim
|
|
137
136
|
cache_dir: File.expand_path(File.join("..", "tmp", "cache"), __dir__),
|
138
137
|
development_mode: env == "development",
|
139
138
|
load_path_cache: true,
|
140
|
-
autoload_paths_cache: true,
|
141
|
-
disable_trace: false,
|
142
139
|
compile_cache_iseq: !ENV["SIMPLECOV"],
|
143
140
|
compile_cache_yaml: true
|
144
141
|
)
|
@@ -156,6 +153,12 @@ module Decidim
|
|
156
153
|
|
157
154
|
def decidim_initializer
|
158
155
|
copy_file "initializer.rb", "config/initializers/decidim.rb"
|
156
|
+
|
157
|
+
if options[:force_ssl] == "false"
|
158
|
+
gsub_file "config/initializers/decidim.rb",
|
159
|
+
/# config.force_ssl = true/,
|
160
|
+
"config.force_ssl = false"
|
161
|
+
end
|
159
162
|
end
|
160
163
|
|
161
164
|
def authorization_handler
|
@@ -221,6 +224,22 @@ module Decidim
|
|
221
224
|
|
222
225
|
private
|
223
226
|
|
227
|
+
def gem_modifier
|
228
|
+
@gem_modifier ||= if options[:path]
|
229
|
+
"path: \"#{options[:path]}\""
|
230
|
+
elsif branch.present?
|
231
|
+
"git: \"https://github.com/decidim/decidim.git\", branch: \"#{branch}\""
|
232
|
+
else
|
233
|
+
"\"#{Decidim::Generators.version}\""
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
def branch
|
238
|
+
return if options[:path]
|
239
|
+
|
240
|
+
@branch ||= options[:edge] ? "develop" : options[:branch].presence
|
241
|
+
end
|
242
|
+
|
224
243
|
def app_name
|
225
244
|
options[:app_name] || super
|
226
245
|
end
|
@@ -242,6 +261,8 @@ module Decidim
|
|
242
261
|
def target_gemfile
|
243
262
|
root = if options[:path]
|
244
263
|
expanded_path
|
264
|
+
elsif branch.present?
|
265
|
+
"https://raw.githubusercontent.com/decidim/decidim/#{branch}/decidim-generators"
|
245
266
|
else
|
246
267
|
root_path
|
247
268
|
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// This is a file that can be overridden by the application in order to override
|
2
|
+
// some of the Foundation/Decidim SCSS settings and variables after the default
|
3
|
+
// settings have been loaded.
|
4
|
+
//
|
5
|
+
// To override styles use decidim_application.scss
|
6
|
+
//
|
7
|
+
// By default this is empty.
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// This is a file that can be overridden by the application in order to override styles
|
2
|
+
// Notice that this file is included at the very end of the stylesheets packs to have
|
3
|
+
// more priority
|
4
|
+
//
|
5
|
+
// To override CSS variables or Foundation settings use _decidim-settings.scss
|
6
|
+
//
|
7
|
+
// By default this is empty.
|
@@ -32,17 +32,15 @@ default: &default
|
|
32
32
|
server: <%%= ENV["ETHERPAD_SERVER"] %>
|
33
33
|
api_key: <%%= ENV["ETHERPAD_API_KEY"] %>
|
34
34
|
api_version: "1.2.1"
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
api_key: "89Ht70GZNcicu8WEyagz_rRae6brbqZAGuBEICYBCii-PTV3MAstAtx1aRVe5H5YfODi-JgYPvyf9ZMH7tOeZ15e3mf9B2Ymgw7eknvBFMRP213YFGo1SPn_C4uLK90G"
|
40
|
-
number_of_trustees: 2
|
35
|
+
elections:
|
36
|
+
bulletin_board_server: <%%= ENV["ELECTIONS_BULLETIN_BOARD_SERVER"] || 'http://bulletin-board.lvh.me:8000/api' %>
|
37
|
+
bulletin_board_public_key: {"kty":"RSA","n":"zMXsZpYPKkDlSmezX898y7zNOaJ7ENIN4kj4UhQ95Vm4HlgTpIs2VMMsO0eqynMaOR_G1mXdqbpbaJtXijBe4V8323QwGm6WVAa71E7pDXa5g6-uo5f8GePitN0YER9y2yNQN4u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gxJW5v95_NuGUlECeEEwcAu1-_b7z5XBCmAy3nLem9sbb_5wv0hMpPH0VRvbnZeBO3SBIkO0lddYCqU-8wN9HqkyoexQleSUnAm1O0iy4GIHT2aEmdNaRaKy2EhmNiTZdZeseZueOvyGPtTVONp2ofacMdcN0z39jr22qo9DWtdusd7nVPOpqkllEF6GrGUeHBnGD92n4YjDuxRnqefu8fXxUFrcLav0p8CNSv9ek291woQ","qi":"w6hfKEBLLHRWPkjajgxZyyetj-UFfVkILRT0plOllJ2JV8whcOXRXbiXH2r8zqMeyMFrrMwmuvv4TVQaruKB0ZQOG7Tz5Lw0RZEREOLnBwc3vSi_iLd-jBz01LdExTpqsAHMkaMQR9x62J8DE1ZNxVdn3ELYKik0f1L2r_WErzhvT1uq69HAybUp6WHcFYH0PSqHg4LOneXAdU1_g-ji2Zn9dlA_2oYGQ5S6JXPV7v2IVbEFpxyVD1lPbFT0iKhyZZevictjgD_JGHveIVqsq5w0Csyz08h0oEW9hYEq-4bquMxSf18gjldoS5uQPD7FUECgL8bxsCdc4hP6UEKYGw"}
|
41
39
|
authority_name: "Decidim Test Authority"
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
authority_api_key: "89Ht70GZNcicu8WEyagz_rRae6brbqZAGuBEICYBCii-PTV3MAstAtx1aRVe5H5YfODi-JgYPvyf9ZMH7tOeZ15e3mf9B2Ymgw7eknvBFMRP213YFGo1SPn_C4uLK90G"
|
41
|
+
scheme_name: "dummy"
|
42
|
+
quorum: 2
|
43
|
+
number_of_trustees: 2
|
46
44
|
|
47
45
|
development:
|
48
46
|
<<: *default
|
@@ -81,14 +79,12 @@ production:
|
|
81
79
|
smtp_port: "587"
|
82
80
|
smtp_starttls_auto: true
|
83
81
|
smtp_authentication: "plain"
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
parameters:
|
94
|
-
quorum: <%%= ENV["BULLETIN_BOARD_SCHEME_QUORUM"] %>
|
82
|
+
elections:
|
83
|
+
bulletin_board_server: <%%= ENV["BULLETIN_BOARD_SERVER"] %>
|
84
|
+
bulletin_board_public_key: <%%= ENV["BULLETIN_BOARD_PUBLIC_KEY"] %>
|
85
|
+
authority_api_key: <%%= ENV["BULLETIN_BOARD_API_KEY"] %>
|
86
|
+
authority_name: <%%= ENV["AUTHORITY_NAME"] %>
|
87
|
+
authority_private_key: <%%= ENV["AUTHORITY_PRIVATE_KEY"] %>
|
88
|
+
scheme_name: <%%= ENV["ELECTIONS_SCHEME_NAME"] %>
|
89
|
+
number_of_trustees: <%%= ENV["ELECTIONS_NUMBER_OF_TRUSTEES"] %>
|
90
|
+
quorum: <%%= ENV["ELECTIONS_QUORUM"] %>
|
@@ -9,7 +9,6 @@ gem "decidim-<%= component_name %>", path: "."
|
|
9
9
|
|
10
10
|
gem "puma", ">= 4.3"
|
11
11
|
gem "bootsnap", "~> 1.4"
|
12
|
-
gem "uglifier", "~> 4.1"
|
13
12
|
|
14
13
|
group :development, :test do
|
15
14
|
gem "byebug", "~> 11.0", platform: :mri
|
@@ -23,5 +22,5 @@ group :development do
|
|
23
22
|
gem "listen", "~> 3.1"
|
24
23
|
gem "spring", "~> 2.0"
|
25
24
|
gem "spring-watcher-listen", "~> 2.0"
|
26
|
-
gem "web-console", "~>
|
25
|
+
gem "web-console", "~> 4.0"
|
27
26
|
end
|
File without changes
|
@@ -14,10 +14,6 @@ module Decidim
|
|
14
14
|
# resources :<%= component_name %>
|
15
15
|
# root to: "<%= component_name %>#index"
|
16
16
|
end
|
17
|
-
|
18
|
-
initializer "decidim_<%= component_name %>.assets" do |app|
|
19
|
-
app.config.assets.precompile += %w[decidim_<%= component_name %>_manifest.js decidim_<%= component_name %>_manifest.css]
|
20
|
-
end
|
21
17
|
end
|
22
18
|
end
|
23
19
|
end
|
@@ -59,34 +59,6 @@ module Decidim
|
|
59
59
|
remove_file "app/views/layouts/mailer.text.erb"
|
60
60
|
end
|
61
61
|
|
62
|
-
def append_assets
|
63
|
-
append_file "app/assets/javascripts/application.js", "//= require decidim"
|
64
|
-
gsub_file "app/assets/javascripts/application.js", %r{//= require turbolinks\n}, ""
|
65
|
-
inject_into_file "app/assets/stylesheets/application.css",
|
66
|
-
before: "*= require_tree ." do
|
67
|
-
"*= require decidim\n "
|
68
|
-
end
|
69
|
-
|
70
|
-
template "decidim.scss.erb", "app/assets/stylesheets/decidim.scss", force: true
|
71
|
-
end
|
72
|
-
|
73
|
-
def disable_precompilation_on_demand
|
74
|
-
%w(development test).each do |environment|
|
75
|
-
inject_into_file "config/environments/#{environment}.rb",
|
76
|
-
before: /^end$/ do
|
77
|
-
cut <<~RUBY, strip: false
|
78
|
-
|
|
79
|
-
| # No precompilation on demand on first request
|
80
|
-
| config.assets.check_precompiled_asset = false
|
81
|
-
RUBY
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
def configure_js_compressor
|
87
|
-
gsub_file "config/environments/production.rb", "config.assets.js_compressor = :uglifier", "config.assets.js_compressor = Uglifier.new(:harmony => true)"
|
88
|
-
end
|
89
|
-
|
90
62
|
def smtp_environment
|
91
63
|
inject_into_file "config/environments/production.rb",
|
92
64
|
after: "config.log_formatter = ::Logger::Formatter.new" do
|
@@ -106,8 +78,44 @@ module Decidim
|
|
106
78
|
end
|
107
79
|
end
|
108
80
|
|
81
|
+
def install_decidim_webpacker
|
82
|
+
# Copy CSS files
|
83
|
+
copy_file "decidim_application.scss", "app/packs/stylesheets/decidim/decidim_application.scss"
|
84
|
+
copy_file "_decidim-settings.scss", "app/packs/stylesheets/decidim/_decidim-settings.scss"
|
85
|
+
|
86
|
+
# Copy JS application file
|
87
|
+
copy_file "decidim_application.js", "app/packs/src/decidim/decidim_application.js"
|
88
|
+
|
89
|
+
# Create empty directory for images
|
90
|
+
empty_directory "app/packs/images"
|
91
|
+
|
92
|
+
# Regenerate webpacker binstubs
|
93
|
+
remove_file "bin/yarn"
|
94
|
+
rails "webpacker:binstubs"
|
95
|
+
|
96
|
+
# Run Decidim custom webpacker installation
|
97
|
+
rails "decidim:webpacker:install"
|
98
|
+
end
|
99
|
+
|
100
|
+
def remove_old_assets
|
101
|
+
remove_file "config/initializers/assets.rb"
|
102
|
+
remove_dir("app/assets")
|
103
|
+
remove_dir("app/javascript")
|
104
|
+
end
|
105
|
+
|
106
|
+
def remove_sprockets_requirement
|
107
|
+
gsub_file "config/application.rb", %r{require ['"]rails/all['"]\R}, <<~RUBY
|
108
|
+
require "decidim/rails"
|
109
|
+
# Add the frameworks used by your app that are not loaded by Decidim.
|
110
|
+
RUBY
|
111
|
+
|
112
|
+
gsub_file "config/environments/development.rb", /config\.assets.*$/, ""
|
113
|
+
gsub_file "config/environments/test.rb", /config\.assets.*$/, ""
|
114
|
+
gsub_file "config/environments/production.rb", /config\.assets.*$/, ""
|
115
|
+
end
|
116
|
+
|
109
117
|
def copy_migrations
|
110
|
-
rails "decidim:
|
118
|
+
rails "decidim:choose_target_plugins", "railties:install:migrations"
|
111
119
|
recreate_db if options[:recreate_db]
|
112
120
|
end
|
113
121
|
|
@@ -173,11 +181,6 @@ module Decidim
|
|
173
181
|
system("bin/rails", *args, err: File::NULL)
|
174
182
|
end
|
175
183
|
|
176
|
-
def scss_variables
|
177
|
-
variables = File.join(Gem.loaded_specs["decidim-core"].full_gem_path, "app", "assets", "stylesheets", "decidim", "_variables.scss")
|
178
|
-
File.read(variables).split("\n").map { |line| "// #{line}".gsub(" !default", "") }.join("\n")
|
179
|
-
end
|
180
|
-
|
181
184
|
def cut(text, strip: true)
|
182
185
|
cutted = text.gsub(/^ *\|/, "")
|
183
186
|
return cutted unless strip
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.25.0.rc4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.25.0.rc4
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- lib/decidim/generators/app_templates/Dockerfile.erb
|
60
60
|
- lib/decidim/generators/app_templates/LICENSE-AGPLv3.txt
|
61
61
|
- lib/decidim/generators/app_templates/README.md.erb
|
62
|
+
- lib/decidim/generators/app_templates/_decidim-settings.scss
|
62
63
|
- lib/decidim/generators/app_templates/another_dummy_authorization_handler.rb
|
63
64
|
- lib/decidim/generators/app_templates/budgets_initializer.rb
|
64
65
|
- lib/decidim/generators/app_templates/budgets_workflow_random.en.yml
|
@@ -67,7 +68,8 @@ files:
|
|
67
68
|
- lib/decidim/generators/app_templates/cable.yml.erb
|
68
69
|
- lib/decidim/generators/app_templates/carrierwave.rb
|
69
70
|
- lib/decidim/generators/app_templates/database.yml.erb
|
70
|
-
- lib/decidim/generators/app_templates/
|
71
|
+
- lib/decidim/generators/app_templates/decidim_application.js
|
72
|
+
- lib/decidim/generators/app_templates/decidim_application.scss
|
71
73
|
- lib/decidim/generators/app_templates/decidim_controller.rb.erb
|
72
74
|
- lib/decidim/generators/app_templates/docker-compose-etherpad.yml
|
73
75
|
- lib/decidim/generators/app_templates/docker-compose.yml.erb
|
@@ -82,12 +84,11 @@ files:
|
|
82
84
|
- lib/decidim/generators/component_templates/LICENSE-AGPLv3.txt
|
83
85
|
- lib/decidim/generators/component_templates/README.md.erb
|
84
86
|
- lib/decidim/generators/component_templates/Rakefile
|
85
|
-
- lib/decidim/generators/component_templates/app/assets/config/component_manifest.js
|
86
|
-
- lib/decidim/generators/component_templates/app/assets/images/decidim/component/icon.svg
|
87
87
|
- lib/decidim/generators/component_templates/app/controllers/decidim/component/admin/application_controller.rb.erb
|
88
88
|
- lib/decidim/generators/component_templates/app/controllers/decidim/component/application_controller.rb.erb
|
89
89
|
- lib/decidim/generators/component_templates/app/helpers/decidim/component/application_helper.rb.erb
|
90
90
|
- lib/decidim/generators/component_templates/app/models/decidim/component/application_record.rb.erb
|
91
|
+
- lib/decidim/generators/component_templates/app/packs/images/decidim/component/icon.svg
|
91
92
|
- lib/decidim/generators/component_templates/bin/rails.erb
|
92
93
|
- lib/decidim/generators/component_templates/circleci/config.yml
|
93
94
|
- lib/decidim/generators/component_templates/config/i18n-tasks.yml.erb
|
@@ -120,9 +121,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
121
|
version: '2.7'
|
121
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
123
|
requirements:
|
123
|
-
- - "
|
124
|
+
- - ">"
|
124
125
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
126
|
+
version: 1.3.1
|
126
127
|
requirements: []
|
127
128
|
rubygems_version: 3.1.2
|
128
129
|
signing_key:
|
File without changes
|