hot-glue 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +16 -0
- data/.gitignore +3 -1
- data/.ruby-version +1 -0
- data/.travis.yml +2 -2
- data/Gemfile +17 -7
- data/LICENSE +2 -16
- data/README.md +69 -66
- data/README2.md +0 -2
- data/config/database.yml +22 -8
- data/db/schema.rb +149 -0
- data/lib/generators/hot_glue/install_generator.rb +1 -55
- data/lib/generators/hot_glue/scaffold_generator.rb +60 -3
- data/lib/generators/hot_glue/templates/controller.rb.erb +5 -5
- data/lib/generators/hot_glue/templates/system_spec.rb.erb +8 -123
- data/lib/hotglue/version.rb +1 -1
- data/script/clean_generated_code +20 -0
- data/script/test +47 -0
- metadata +10 -8
- data/.circleci/config.yml +0 -71
- data/Gemfile.lock +0 -230
- data/Rakefile +0 -42
- data/bin/rails +0 -14
- data/db/schema.rb +0 -1
data/Gemfile.lock
DELETED
@@ -1,230 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
hot-glue (0.5.2)
|
5
|
-
ffaker (~> 2.16)
|
6
|
-
kaminari (~> 1.2)
|
7
|
-
rails (> 5.1)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
actioncable (6.1.0)
|
13
|
-
actionpack (= 6.1.0)
|
14
|
-
activesupport (= 6.1.0)
|
15
|
-
nio4r (~> 2.0)
|
16
|
-
websocket-driver (>= 0.6.1)
|
17
|
-
actionmailbox (6.1.0)
|
18
|
-
actionpack (= 6.1.0)
|
19
|
-
activejob (= 6.1.0)
|
20
|
-
activerecord (= 6.1.0)
|
21
|
-
activestorage (= 6.1.0)
|
22
|
-
activesupport (= 6.1.0)
|
23
|
-
mail (>= 2.7.1)
|
24
|
-
actionmailer (6.1.0)
|
25
|
-
actionpack (= 6.1.0)
|
26
|
-
actionview (= 6.1.0)
|
27
|
-
activejob (= 6.1.0)
|
28
|
-
activesupport (= 6.1.0)
|
29
|
-
mail (~> 2.5, >= 2.5.4)
|
30
|
-
rails-dom-testing (~> 2.0)
|
31
|
-
actionpack (6.1.0)
|
32
|
-
actionview (= 6.1.0)
|
33
|
-
activesupport (= 6.1.0)
|
34
|
-
rack (~> 2.0, >= 2.0.9)
|
35
|
-
rack-test (>= 0.6.3)
|
36
|
-
rails-dom-testing (~> 2.0)
|
37
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
-
actiontext (6.1.0)
|
39
|
-
actionpack (= 6.1.0)
|
40
|
-
activerecord (= 6.1.0)
|
41
|
-
activestorage (= 6.1.0)
|
42
|
-
activesupport (= 6.1.0)
|
43
|
-
nokogiri (>= 1.8.5)
|
44
|
-
actionview (6.1.0)
|
45
|
-
activesupport (= 6.1.0)
|
46
|
-
builder (~> 3.1)
|
47
|
-
erubi (~> 1.4)
|
48
|
-
rails-dom-testing (~> 2.0)
|
49
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
50
|
-
activejob (6.1.0)
|
51
|
-
activesupport (= 6.1.0)
|
52
|
-
globalid (>= 0.3.6)
|
53
|
-
activemodel (6.1.0)
|
54
|
-
activesupport (= 6.1.0)
|
55
|
-
activerecord (6.1.0)
|
56
|
-
activemodel (= 6.1.0)
|
57
|
-
activesupport (= 6.1.0)
|
58
|
-
activestorage (6.1.0)
|
59
|
-
actionpack (= 6.1.0)
|
60
|
-
activejob (= 6.1.0)
|
61
|
-
activerecord (= 6.1.0)
|
62
|
-
activesupport (= 6.1.0)
|
63
|
-
marcel (~> 0.3.1)
|
64
|
-
mimemagic (~> 0.3.2)
|
65
|
-
activesupport (6.1.0)
|
66
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
67
|
-
i18n (>= 1.6, < 2)
|
68
|
-
minitest (>= 5.1)
|
69
|
-
tzinfo (~> 2.0)
|
70
|
-
zeitwerk (~> 2.3)
|
71
|
-
bcrypt (3.1.16)
|
72
|
-
builder (3.2.4)
|
73
|
-
byebug (11.1.3)
|
74
|
-
concurrent-ruby (1.1.9)
|
75
|
-
crass (1.0.6)
|
76
|
-
database_cleaner (2.0.1)
|
77
|
-
database_cleaner-active_record (~> 2.0.0)
|
78
|
-
database_cleaner-active_record (2.0.1)
|
79
|
-
activerecord (>= 5.a)
|
80
|
-
database_cleaner-core (~> 2.0.0)
|
81
|
-
database_cleaner-core (2.0.1)
|
82
|
-
devise (4.8.0)
|
83
|
-
bcrypt (~> 3.0)
|
84
|
-
orm_adapter (~> 0.1)
|
85
|
-
railties (>= 4.1.0)
|
86
|
-
responders
|
87
|
-
warden (~> 1.2.3)
|
88
|
-
diff-lcs (1.4.4)
|
89
|
-
docile (1.4.0)
|
90
|
-
erubi (1.10.0)
|
91
|
-
factory_bot (6.2.0)
|
92
|
-
activesupport (>= 5.0.0)
|
93
|
-
ffaker (2.20.0)
|
94
|
-
globalid (0.4.2)
|
95
|
-
activesupport (>= 4.2.0)
|
96
|
-
i18n (1.8.10)
|
97
|
-
concurrent-ruby (~> 1.0)
|
98
|
-
kaminari (1.2.2)
|
99
|
-
activesupport (>= 4.1.0)
|
100
|
-
kaminari-actionview (= 1.2.2)
|
101
|
-
kaminari-activerecord (= 1.2.2)
|
102
|
-
kaminari-core (= 1.2.2)
|
103
|
-
kaminari-actionview (1.2.2)
|
104
|
-
actionview
|
105
|
-
kaminari-core (= 1.2.2)
|
106
|
-
kaminari-activerecord (1.2.2)
|
107
|
-
activerecord
|
108
|
-
kaminari-core (= 1.2.2)
|
109
|
-
kaminari-core (1.2.2)
|
110
|
-
loofah (2.10.0)
|
111
|
-
crass (~> 1.0.2)
|
112
|
-
nokogiri (>= 1.5.9)
|
113
|
-
mail (2.7.1)
|
114
|
-
mini_mime (>= 0.1.1)
|
115
|
-
marcel (0.3.3)
|
116
|
-
mimemagic (~> 0.3.2)
|
117
|
-
method_source (1.0.0)
|
118
|
-
mimemagic (0.3.10)
|
119
|
-
nokogiri (~> 1)
|
120
|
-
rake
|
121
|
-
mini_mime (1.1.0)
|
122
|
-
mini_portile2 (2.5.3)
|
123
|
-
minitest (5.14.4)
|
124
|
-
nio4r (2.5.7)
|
125
|
-
nokogiri (1.11.7)
|
126
|
-
mini_portile2 (~> 2.5.0)
|
127
|
-
racc (~> 1.4)
|
128
|
-
orm_adapter (0.5.0)
|
129
|
-
racc (1.5.2)
|
130
|
-
rack (2.2.3)
|
131
|
-
rack-test (1.1.0)
|
132
|
-
rack (>= 1.0, < 3)
|
133
|
-
rails (6.1.0)
|
134
|
-
actioncable (= 6.1.0)
|
135
|
-
actionmailbox (= 6.1.0)
|
136
|
-
actionmailer (= 6.1.0)
|
137
|
-
actionpack (= 6.1.0)
|
138
|
-
actiontext (= 6.1.0)
|
139
|
-
actionview (= 6.1.0)
|
140
|
-
activejob (= 6.1.0)
|
141
|
-
activemodel (= 6.1.0)
|
142
|
-
activerecord (= 6.1.0)
|
143
|
-
activestorage (= 6.1.0)
|
144
|
-
activesupport (= 6.1.0)
|
145
|
-
bundler (>= 1.15.0)
|
146
|
-
railties (= 6.1.0)
|
147
|
-
sprockets-rails (>= 2.0.0)
|
148
|
-
rails-controller-testing (1.0.5)
|
149
|
-
actionpack (>= 5.0.1.rc1)
|
150
|
-
actionview (>= 5.0.1.rc1)
|
151
|
-
activesupport (>= 5.0.1.rc1)
|
152
|
-
rails-dom-testing (2.0.3)
|
153
|
-
activesupport (>= 4.2.0)
|
154
|
-
nokogiri (>= 1.6)
|
155
|
-
rails-html-sanitizer (1.3.0)
|
156
|
-
loofah (~> 2.3)
|
157
|
-
railties (6.1.0)
|
158
|
-
actionpack (= 6.1.0)
|
159
|
-
activesupport (= 6.1.0)
|
160
|
-
method_source
|
161
|
-
rake (>= 0.8.7)
|
162
|
-
thor (~> 1.0)
|
163
|
-
rake (13.0.3)
|
164
|
-
responders (3.0.1)
|
165
|
-
actionpack (>= 5.0)
|
166
|
-
railties (>= 5.0)
|
167
|
-
rspec-core (3.10.1)
|
168
|
-
rspec-support (~> 3.10.0)
|
169
|
-
rspec-expectations (3.10.1)
|
170
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
171
|
-
rspec-support (~> 3.10.0)
|
172
|
-
rspec-mocks (3.10.2)
|
173
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
174
|
-
rspec-support (~> 3.10.0)
|
175
|
-
rspec-rails (5.0.2)
|
176
|
-
actionpack (>= 5.2)
|
177
|
-
activesupport (>= 5.2)
|
178
|
-
railties (>= 5.2)
|
179
|
-
rspec-core (~> 3.10)
|
180
|
-
rspec-expectations (~> 3.10)
|
181
|
-
rspec-mocks (~> 3.10)
|
182
|
-
rspec-support (~> 3.10)
|
183
|
-
rspec-support (3.10.2)
|
184
|
-
rspec_junit_formatter (0.5.1)
|
185
|
-
rspec-core (>= 2, < 4, != 2.12.0)
|
186
|
-
simplecov (0.21.2)
|
187
|
-
docile (~> 1.1)
|
188
|
-
simplecov-html (~> 0.11)
|
189
|
-
simplecov_json_formatter (~> 0.1)
|
190
|
-
simplecov-html (0.12.3)
|
191
|
-
simplecov-rcov (0.2.3)
|
192
|
-
simplecov (>= 0.4.1)
|
193
|
-
simplecov_json_formatter (0.1.3)
|
194
|
-
sprockets (4.0.2)
|
195
|
-
concurrent-ruby (~> 1.0)
|
196
|
-
rack (> 1, < 3)
|
197
|
-
sprockets-rails (3.2.2)
|
198
|
-
actionpack (>= 4.0)
|
199
|
-
activesupport (>= 4.0)
|
200
|
-
sprockets (>= 3.0.0)
|
201
|
-
sqlite3 (1.4.2)
|
202
|
-
thor (1.1.0)
|
203
|
-
tzinfo (2.0.4)
|
204
|
-
concurrent-ruby (~> 1.0)
|
205
|
-
warden (1.2.9)
|
206
|
-
rack (>= 2.0.9)
|
207
|
-
websocket-driver (0.7.5)
|
208
|
-
websocket-extensions (>= 0.1.0)
|
209
|
-
websocket-extensions (0.1.5)
|
210
|
-
zeitwerk (2.4.2)
|
211
|
-
|
212
|
-
PLATFORMS
|
213
|
-
-darwin-20
|
214
|
-
ruby
|
215
|
-
|
216
|
-
DEPENDENCIES
|
217
|
-
byebug
|
218
|
-
database_cleaner
|
219
|
-
devise
|
220
|
-
factory_bot
|
221
|
-
hot-glue!
|
222
|
-
rails
|
223
|
-
rails-controller-testing
|
224
|
-
rspec-rails
|
225
|
-
rspec_junit_formatter
|
226
|
-
simplecov-rcov
|
227
|
-
sqlite3
|
228
|
-
|
229
|
-
BUNDLED WITH
|
230
|
-
2.1.4
|
data/Rakefile
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
|
2
|
-
begin
|
3
|
-
require 'bundler/setup'
|
4
|
-
rescue LoadError
|
5
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
-
end
|
7
|
-
|
8
|
-
begin
|
9
|
-
require 'rspec/core/rake_task'
|
10
|
-
RSpec::Core::RakeTask.new(:spec)
|
11
|
-
task :default => :spec
|
12
|
-
rescue LoadError
|
13
|
-
puts 'FAILED: unable to load rspec/core/rake_task in Rakefile'
|
14
|
-
end
|
15
|
-
|
16
|
-
#
|
17
|
-
# require 'rdoc/task'
|
18
|
-
#
|
19
|
-
# RDoc::Task.new(:rdoc) do |rdoc|
|
20
|
-
# rdoc.rdoc_dir = 'rdoc'
|
21
|
-
# rdoc.title = 'HotGlue'
|
22
|
-
# rdoc.options << '--line-numbers'
|
23
|
-
# rdoc.rdoc_files.include('README.md')
|
24
|
-
# rdoc.rdoc_files.include('lib/**/*.rb')
|
25
|
-
# end
|
26
|
-
#
|
27
|
-
# APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
28
|
-
# load 'rails/tasks/engine.rake'
|
29
|
-
#
|
30
|
-
# load 'rails/tasks/statistics.rake'
|
31
|
-
#
|
32
|
-
# require 'bundler/gem_tasks'
|
33
|
-
|
34
|
-
# require 'rake/testtask'
|
35
|
-
#
|
36
|
-
# Rake::TestTask.new(:test) do |t|
|
37
|
-
# t.libs << 'test'
|
38
|
-
# t.pattern = 'test/**/*_test.rb'
|
39
|
-
# t.verbose = false
|
40
|
-
# end
|
41
|
-
#
|
42
|
-
# task default: :test
|
data/bin/rails
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
-
# installed from the root of your application.
|
4
|
-
|
5
|
-
ENGINE_ROOT = File.expand_path('..', __dir__)
|
6
|
-
ENGINE_PATH = File.expand_path('../lib/hotglue/engine', __dir__)
|
7
|
-
APP_PATH = File.expand_path('../spec/dummy/application', __dir__)
|
8
|
-
|
9
|
-
# Set up gems listed in the Gemfile.
|
10
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
11
|
-
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
12
|
-
|
13
|
-
require 'rails/all'
|
14
|
-
require 'rails/engine/commands'
|
data/db/schema.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
db/spec/dummy/db/schema.rb
|