decidim-generators 0.11.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +26 -0
- data/Gemfile.lock +671 -0
- data/README.md +76 -0
- data/Rakefile +32 -0
- data/exe/decidim +14 -0
- data/lib/decidim/generators/app_generator.rb +161 -0
- data/lib/decidim/generators/app_templates/Dockerfile.erb +1 -0
- data/lib/decidim/generators/app_templates/README.md.erb +22 -0
- data/lib/decidim/generators/app_templates/cable.yml.erb +9 -0
- data/lib/decidim/generators/app_templates/carrierwave.rb +28 -0
- data/lib/decidim/generators/app_templates/database.yml.erb +87 -0
- data/lib/decidim/generators/app_templates/decidim.scss.erb +3 -0
- data/lib/decidim/generators/app_templates/decidim_controller.rb.erb +5 -0
- data/lib/decidim/generators/app_templates/docker-compose.yml.erb +26 -0
- data/lib/decidim/generators/app_templates/example_authorization_handler.rb +55 -0
- data/lib/decidim/generators/app_templates/initializer.rb +47 -0
- data/lib/decidim/generators/app_templates/secrets.yml.erb +61 -0
- data/lib/decidim/generators/app_templates/social_share_button.rb +8 -0
- data/lib/decidim/generators/component_generator.rb +74 -0
- data/lib/decidim/generators/component_templates/Gemfile.erb +26 -0
- data/lib/decidim/generators/component_templates/LICENSE-AGPLv3.txt +661 -0
- data/lib/decidim/generators/component_templates/README.md.erb +30 -0
- data/lib/decidim/generators/component_templates/Rakefile +9 -0
- data/lib/decidim/generators/component_templates/app/assets/config/component_manifest.js +0 -0
- data/lib/decidim/generators/component_templates/app/assets/images/decidim/component/icon.svg +1 -0
- data/lib/decidim/generators/component_templates/app/controllers/decidim/component/admin/application_controller.rb.erb +15 -0
- data/lib/decidim/generators/component_templates/app/controllers/decidim/component/application_controller.rb.erb +13 -0
- data/lib/decidim/generators/component_templates/app/helpers/decidim/component/application_helper.rb.erb +10 -0
- data/lib/decidim/generators/component_templates/app/models/decidim/component/abilities/admin/admin_ability.rb.erb +17 -0
- data/lib/decidim/generators/component_templates/app/models/decidim/component/abilities/current_user_ability.rb.erb +47 -0
- data/lib/decidim/generators/component_templates/app/models/decidim/component/application_record.rb.erb +10 -0
- data/lib/decidim/generators/component_templates/bin/rails.erb +20 -0
- data/lib/decidim/generators/component_templates/config/i18n-tasks.yml.erb +10 -0
- data/lib/decidim/generators/component_templates/config/locales/en.yml.erb +6 -0
- data/lib/decidim/generators/component_templates/decidim-component.gemspec.erb +22 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component.rb.erb +13 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/admin.rb.erb +10 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/admin_engine.rb.erb +32 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/component.rb.erb +40 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/engine.rb.erb +29 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/test/factories.rb.erb +13 -0
- data/lib/decidim/generators/component_templates/lib/decidim/component/version.rb.erb +10 -0
- data/lib/decidim/generators/component_templates/spec/factories.rb.erb +3 -0
- data/lib/decidim/generators/component_templates/spec/spec_helper.rb.erb +13 -0
- data/lib/decidim/generators/install_generator.rb +170 -0
- data/lib/decidim/generators/version.rb +10 -0
- metadata +123 -0
metadata
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: decidim-generators
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.11.0.pre1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Josep Jaume Rey Peroy
|
8
|
+
- Marc Riera Casals
|
9
|
+
- Oriol Gual Oliva
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2018-04-26 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: decidim-core
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.11.0.pre1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - '='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 0.11.0.pre1
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: bundler
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '1.12'
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1.12'
|
43
|
+
description: A generator and multiple gems made with Ruby on Rails.
|
44
|
+
email:
|
45
|
+
- josepjaume@gmail.com
|
46
|
+
- mrc2407@gmail.com
|
47
|
+
- oriolgual@gmail.com
|
48
|
+
executables:
|
49
|
+
- decidim
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- Gemfile
|
54
|
+
- Gemfile.lock
|
55
|
+
- README.md
|
56
|
+
- Rakefile
|
57
|
+
- exe/decidim
|
58
|
+
- lib/decidim/generators/app_generator.rb
|
59
|
+
- lib/decidim/generators/app_templates/Dockerfile.erb
|
60
|
+
- lib/decidim/generators/app_templates/README.md.erb
|
61
|
+
- lib/decidim/generators/app_templates/cable.yml.erb
|
62
|
+
- lib/decidim/generators/app_templates/carrierwave.rb
|
63
|
+
- lib/decidim/generators/app_templates/database.yml.erb
|
64
|
+
- lib/decidim/generators/app_templates/decidim.scss.erb
|
65
|
+
- lib/decidim/generators/app_templates/decidim_controller.rb.erb
|
66
|
+
- lib/decidim/generators/app_templates/docker-compose.yml.erb
|
67
|
+
- lib/decidim/generators/app_templates/example_authorization_handler.rb
|
68
|
+
- lib/decidim/generators/app_templates/initializer.rb
|
69
|
+
- lib/decidim/generators/app_templates/secrets.yml.erb
|
70
|
+
- lib/decidim/generators/app_templates/social_share_button.rb
|
71
|
+
- lib/decidim/generators/component_generator.rb
|
72
|
+
- lib/decidim/generators/component_templates/Gemfile.erb
|
73
|
+
- lib/decidim/generators/component_templates/LICENSE-AGPLv3.txt
|
74
|
+
- lib/decidim/generators/component_templates/README.md.erb
|
75
|
+
- lib/decidim/generators/component_templates/Rakefile
|
76
|
+
- lib/decidim/generators/component_templates/app/assets/config/component_manifest.js
|
77
|
+
- lib/decidim/generators/component_templates/app/assets/images/decidim/component/icon.svg
|
78
|
+
- lib/decidim/generators/component_templates/app/controllers/decidim/component/admin/application_controller.rb.erb
|
79
|
+
- lib/decidim/generators/component_templates/app/controllers/decidim/component/application_controller.rb.erb
|
80
|
+
- lib/decidim/generators/component_templates/app/helpers/decidim/component/application_helper.rb.erb
|
81
|
+
- lib/decidim/generators/component_templates/app/models/decidim/component/abilities/admin/admin_ability.rb.erb
|
82
|
+
- lib/decidim/generators/component_templates/app/models/decidim/component/abilities/current_user_ability.rb.erb
|
83
|
+
- lib/decidim/generators/component_templates/app/models/decidim/component/application_record.rb.erb
|
84
|
+
- lib/decidim/generators/component_templates/bin/rails.erb
|
85
|
+
- lib/decidim/generators/component_templates/config/i18n-tasks.yml.erb
|
86
|
+
- lib/decidim/generators/component_templates/config/locales/en.yml.erb
|
87
|
+
- lib/decidim/generators/component_templates/decidim-component.gemspec.erb
|
88
|
+
- lib/decidim/generators/component_templates/lib/decidim/component.rb.erb
|
89
|
+
- lib/decidim/generators/component_templates/lib/decidim/component/admin.rb.erb
|
90
|
+
- lib/decidim/generators/component_templates/lib/decidim/component/admin_engine.rb.erb
|
91
|
+
- lib/decidim/generators/component_templates/lib/decidim/component/component.rb.erb
|
92
|
+
- lib/decidim/generators/component_templates/lib/decidim/component/engine.rb.erb
|
93
|
+
- lib/decidim/generators/component_templates/lib/decidim/component/test/factories.rb.erb
|
94
|
+
- lib/decidim/generators/component_templates/lib/decidim/component/version.rb.erb
|
95
|
+
- lib/decidim/generators/component_templates/spec/factories.rb.erb
|
96
|
+
- lib/decidim/generators/component_templates/spec/spec_helper.rb.erb
|
97
|
+
- lib/decidim/generators/install_generator.rb
|
98
|
+
- lib/decidim/generators/version.rb
|
99
|
+
homepage: https://github.com/decidim/decidim
|
100
|
+
licenses:
|
101
|
+
- AGPL-3.0
|
102
|
+
metadata: {}
|
103
|
+
post_install_message:
|
104
|
+
rdoc_options: []
|
105
|
+
require_paths:
|
106
|
+
- lib
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '2.3'
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.3.1
|
117
|
+
requirements: []
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 2.7.3
|
120
|
+
signing_key:
|
121
|
+
specification_version: 4
|
122
|
+
summary: Citizen participation framework for Ruby on Rails.
|
123
|
+
test_files: []
|