cells-rails 0.0.9 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -3
- data/.travis.yml +11 -18
- data/Appraisals +23 -0
- data/CHANGES.md +20 -0
- data/Gemfile +1 -8
- data/README.md +2 -1
- data/Rakefile +3 -2
- data/cells-rails.gemspec +3 -1
- data/gemfiles/5.0.gemfile +17 -0
- data/gemfiles/5.0.gemfile.lock +205 -0
- data/gemfiles/5.1.gemfile +17 -0
- data/gemfiles/5.1.gemfile.lock +205 -0
- data/gemfiles/5.2.gemfile +17 -0
- data/gemfiles/5.2.gemfile.lock +213 -0
- data/gemfiles/6.0.gemfile +17 -0
- data/gemfiles/6.0.gemfile.lock +229 -0
- data/lib/cell/rails.rb +3 -2
- data/lib/cell/rails/testing.rb +11 -7
- data/lib/cell/railtie.rb +7 -0
- data/lib/cells-rails.rb +1 -0
- data/lib/cells/rails.rb +1 -4
- data/lib/cells/rails/version.rb +1 -1
- metadata +42 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 182b8f5a7de9120c9fef8be60cc72f8f6f29d61497370b8cc2fc38cb7ef1fcac
|
4
|
+
data.tar.gz: 360a8fcabc5cf26221d513e9b3180afdf32b444addaa7847aa0ba65c69e686bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa7f548b3380379d4c91e95e418140d228275332265e11970fdf5c06145cbd8d030d02c468bae0157da42d320a209d9ede47e931867f3c0dc29eb3038639a673
|
7
|
+
data.tar.gz: 4ab8a747ec9af5538d1a86a400e85f8a00e46e3bb2c319f8ba9906f230ea9bf8c4631707687e7fe00acec3f4b4519f9c01d5769a07eb4ce8088cd6d134edb8cf
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,20 +1,13 @@
|
|
1
1
|
language: ruby
|
2
|
+
before_install: gem install bundler
|
2
3
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
|
7
|
-
-
|
8
|
-
- 2.
|
9
|
-
- 1.
|
10
|
-
-
|
11
|
-
|
12
|
-
|
13
|
-
- "RAILS_VERSION=5.0"
|
14
|
-
matrix:
|
15
|
-
fast_finish: true
|
16
|
-
exclude:
|
17
|
-
- rvm: 2.1.10
|
18
|
-
env: "RAILS_VERSION=5.0"
|
19
|
-
- rvm: 2.4.0
|
20
|
-
env: "RAILS_VERSION=4.2"
|
4
|
+
- 2.7
|
5
|
+
- 2.6
|
6
|
+
- 2.5
|
7
|
+
gemfile:
|
8
|
+
- gemfiles/6.0.gemfile
|
9
|
+
- gemfiles/5.2.gemfile
|
10
|
+
- gemfiles/5.1.gemfile
|
11
|
+
- gemfiles/5.0.gemfile
|
12
|
+
|
13
|
+
cache: bundler
|
data/Appraisals
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
appraise "6.0" do
|
2
|
+
gem "railties", "~> 6.0"
|
3
|
+
gem "activerecord", "~> 6.0"
|
4
|
+
gem "my_engine", path: "test/rails6.0/engines/my_engine"
|
5
|
+
end
|
6
|
+
|
7
|
+
appraise "5.2" do
|
8
|
+
gem "railties", "~> 5.2"
|
9
|
+
gem "activerecord", "~> 5.2"
|
10
|
+
gem "my_engine", path: "test/rails5.2/engines/my_engine"
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise "5.1" do
|
14
|
+
gem "railties", "~> 5.1.0"
|
15
|
+
gem "activerecord", "~> 5.1.0"
|
16
|
+
gem "my_engine", path: "test/rails5.1/engines/my_engine"
|
17
|
+
end
|
18
|
+
|
19
|
+
appraise "5.0" do
|
20
|
+
gem "railties", "~> 5.0.0"
|
21
|
+
gem "activerecord", "~> 5.0.0"
|
22
|
+
gem "my_engine", path: "test/rails5.0/engines/my_engine"
|
23
|
+
end
|
data/CHANGES.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## 0.1.4
|
2
|
+
|
3
|
+
* Support Ruby 3.0.
|
4
|
+
|
5
|
+
## 0.1.3
|
6
|
+
|
7
|
+
* Fix previous fixes.
|
8
|
+
|
9
|
+
## 0.1.2
|
10
|
+
|
11
|
+
* Fix `LocalJumpError` from our Railtie.
|
12
|
+
|
13
|
+
## 0.1.1
|
14
|
+
|
15
|
+
* The `Cell.view_paths` are now set automatically for `Trailblazer::Cell`s, too, if the gem is present. This allows starting Rails in daemon mode `rails s -d` and cells finding its views.
|
16
|
+
|
17
|
+
## 0.1.0
|
18
|
+
|
19
|
+
* Support for Rails 6.0 Thank to @Szeliga
|
20
|
+
|
1
21
|
## 0.0.9
|
2
22
|
|
3
23
|
* Prevent Forwardable from printing warnings in Ruby 2.4+
|
data/Gemfile
CHANGED
@@ -5,14 +5,7 @@ gemspec
|
|
5
5
|
|
6
6
|
# gem "my_engine", path: "engines/my_engine"
|
7
7
|
|
8
|
-
|
9
|
-
# gem "sprockets", "~> 2.12.3"
|
10
|
-
|
11
|
-
rails_version = ENV['RAILS_VERSION'] || '5.0'
|
12
|
-
gem "railties", "~> #{rails_version}"
|
13
|
-
gem "activerecord", "~> #{rails_version}"
|
14
|
-
|
15
|
-
gem "my_engine", path: "test/rails#{rails_version}/engines/my_engine"
|
8
|
+
gem 'sass-rails', "~> 6.0.0"
|
16
9
|
|
17
10
|
group :development, :test do
|
18
11
|
gem "minitest-spec-rails"
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# Cells::Rails
|
2
|
+
[![Build Status](https://travis-ci.org/trailblazer/cells-rails.svg?branch=master)](https://travis-ci.org/trailblazer/cells-rails)
|
2
3
|
|
3
4
|
[Cells](https://github.com/apotonick/cells) is a generic view model implementation for Ruby. Cells-rails brings Rails-specific bindings.
|
4
5
|
|
@@ -21,4 +22,4 @@ gem 'cells-rails'
|
|
21
22
|
|
22
23
|
## License
|
23
24
|
|
24
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
25
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require "rake/testtask"
|
3
|
+
require 'rails'
|
3
4
|
|
4
|
-
|
5
|
+
test_folder = Rails.version[0..2]
|
5
6
|
|
6
7
|
Rake::TestTask.new(:test) do |t|
|
7
8
|
t.libs << "test"
|
8
9
|
t.libs << "lib"
|
9
|
-
t.test_files = FileList["test/rails#{
|
10
|
+
t.test_files = FileList["test/rails#{test_folder}/**/*_test.rb"]
|
10
11
|
end
|
11
12
|
|
12
13
|
task :default => :test
|
data/cells-rails.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
20
|
spec.add_dependency "cells", ">= 4.1.6", "< 5.0.0"
|
21
|
-
spec.add_dependency "actionpack", ">=
|
21
|
+
spec.add_dependency "actionpack", ">= 5.0"
|
22
22
|
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler"
|
@@ -27,4 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "rails"
|
28
28
|
spec.add_development_dependency "cells-erb"
|
29
29
|
spec.add_development_dependency "sass-rails"
|
30
|
+
spec.add_development_dependency "appraisal"
|
31
|
+
spec.add_development_dependency "pry-byebug"
|
30
32
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "sass-rails", "~> 6.0.0"
|
6
|
+
gem "simple_form"
|
7
|
+
gem "formtastic"
|
8
|
+
gem "railties", "~> 5.0.0"
|
9
|
+
gem "activerecord", "~> 5.0.0"
|
10
|
+
gem "my_engine", path: "../test/rails5.0/engines/my_engine"
|
11
|
+
|
12
|
+
group :development, :test do
|
13
|
+
gem "minitest-spec-rails"
|
14
|
+
gem "capybara_minitest_spec"
|
15
|
+
end
|
16
|
+
|
17
|
+
gemspec path: "../"
|
@@ -0,0 +1,205 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../test/rails5.0/engines/my_engine
|
3
|
+
specs:
|
4
|
+
my_engine (0.0.1)
|
5
|
+
cells (>= 4.0.0.beta5)
|
6
|
+
cells-erb
|
7
|
+
rails (>= 4.2.1)
|
8
|
+
|
9
|
+
PATH
|
10
|
+
remote: ..
|
11
|
+
specs:
|
12
|
+
cells-rails (0.1.3)
|
13
|
+
actionpack (>= 5.0)
|
14
|
+
cells (>= 4.1.6, < 5.0.0)
|
15
|
+
|
16
|
+
GEM
|
17
|
+
remote: https://rubygems.org/
|
18
|
+
specs:
|
19
|
+
actioncable (5.0.7.2)
|
20
|
+
actionpack (= 5.0.7.2)
|
21
|
+
nio4r (>= 1.2, < 3.0)
|
22
|
+
websocket-driver (~> 0.6.1)
|
23
|
+
actionmailer (5.0.7.2)
|
24
|
+
actionpack (= 5.0.7.2)
|
25
|
+
actionview (= 5.0.7.2)
|
26
|
+
activejob (= 5.0.7.2)
|
27
|
+
mail (~> 2.5, >= 2.5.4)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
actionpack (5.0.7.2)
|
30
|
+
actionview (= 5.0.7.2)
|
31
|
+
activesupport (= 5.0.7.2)
|
32
|
+
rack (~> 2.0)
|
33
|
+
rack-test (~> 0.6.3)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
36
|
+
actionview (5.0.7.2)
|
37
|
+
activesupport (= 5.0.7.2)
|
38
|
+
builder (~> 3.1)
|
39
|
+
erubis (~> 2.7.0)
|
40
|
+
rails-dom-testing (~> 2.0)
|
41
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
42
|
+
activejob (5.0.7.2)
|
43
|
+
activesupport (= 5.0.7.2)
|
44
|
+
globalid (>= 0.3.6)
|
45
|
+
activemodel (5.0.7.2)
|
46
|
+
activesupport (= 5.0.7.2)
|
47
|
+
activerecord (5.0.7.2)
|
48
|
+
activemodel (= 5.0.7.2)
|
49
|
+
activesupport (= 5.0.7.2)
|
50
|
+
arel (~> 7.0)
|
51
|
+
activesupport (5.0.7.2)
|
52
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
53
|
+
i18n (>= 0.7, < 2)
|
54
|
+
minitest (~> 5.1)
|
55
|
+
tzinfo (~> 1.1)
|
56
|
+
addressable (2.7.0)
|
57
|
+
public_suffix (>= 2.0.2, < 5.0)
|
58
|
+
appraisal (2.3.0)
|
59
|
+
bundler
|
60
|
+
rake
|
61
|
+
thor (>= 0.14.0)
|
62
|
+
arel (7.1.4)
|
63
|
+
builder (3.2.4)
|
64
|
+
byebug (11.1.3)
|
65
|
+
capybara (3.33.0)
|
66
|
+
addressable
|
67
|
+
mini_mime (>= 0.1.3)
|
68
|
+
nokogiri (~> 1.8)
|
69
|
+
rack (>= 1.6.0)
|
70
|
+
rack-test (>= 0.6.3)
|
71
|
+
regexp_parser (~> 1.5)
|
72
|
+
xpath (~> 3.2)
|
73
|
+
capybara_minitest_spec (1.0.7)
|
74
|
+
capybara (>= 2)
|
75
|
+
minitest (>= 4)
|
76
|
+
cells (4.1.7)
|
77
|
+
declarative-builder (< 0.2.0)
|
78
|
+
declarative-option (< 0.2.0)
|
79
|
+
tilt (>= 1.4, < 3)
|
80
|
+
uber (< 0.2.0)
|
81
|
+
cells-erb (0.1.0)
|
82
|
+
cells (~> 4.0)
|
83
|
+
erbse (>= 0.1.1)
|
84
|
+
coderay (1.1.3)
|
85
|
+
concurrent-ruby (1.1.6)
|
86
|
+
crass (1.0.6)
|
87
|
+
declarative-builder (0.1.0)
|
88
|
+
declarative-option (< 0.2.0)
|
89
|
+
declarative-option (0.1.0)
|
90
|
+
erbse (0.1.4)
|
91
|
+
temple
|
92
|
+
erubis (2.7.0)
|
93
|
+
ffi (1.13.1)
|
94
|
+
formtastic (3.1.5)
|
95
|
+
actionpack (>= 3.2.13)
|
96
|
+
globalid (0.4.2)
|
97
|
+
activesupport (>= 4.2.0)
|
98
|
+
i18n (1.8.3)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
loofah (2.6.0)
|
101
|
+
crass (~> 1.0.2)
|
102
|
+
nokogiri (>= 1.5.9)
|
103
|
+
mail (2.7.1)
|
104
|
+
mini_mime (>= 0.1.1)
|
105
|
+
method_source (1.0.0)
|
106
|
+
mini_mime (1.0.2)
|
107
|
+
mini_portile2 (2.4.0)
|
108
|
+
minitest (5.14.1)
|
109
|
+
minitest-spec-rails (6.0.2)
|
110
|
+
minitest (>= 5.0)
|
111
|
+
railties (>= 4.1)
|
112
|
+
nio4r (2.5.2)
|
113
|
+
nokogiri (1.10.10)
|
114
|
+
mini_portile2 (~> 2.4.0)
|
115
|
+
pry (0.13.1)
|
116
|
+
coderay (~> 1.1)
|
117
|
+
method_source (~> 1.0)
|
118
|
+
pry-byebug (3.9.0)
|
119
|
+
byebug (~> 11.0)
|
120
|
+
pry (~> 0.13.0)
|
121
|
+
public_suffix (4.0.5)
|
122
|
+
rack (2.2.3)
|
123
|
+
rack-test (0.6.3)
|
124
|
+
rack (>= 1.0)
|
125
|
+
rails (5.0.7.2)
|
126
|
+
actioncable (= 5.0.7.2)
|
127
|
+
actionmailer (= 5.0.7.2)
|
128
|
+
actionpack (= 5.0.7.2)
|
129
|
+
actionview (= 5.0.7.2)
|
130
|
+
activejob (= 5.0.7.2)
|
131
|
+
activemodel (= 5.0.7.2)
|
132
|
+
activerecord (= 5.0.7.2)
|
133
|
+
activesupport (= 5.0.7.2)
|
134
|
+
bundler (>= 1.3.0)
|
135
|
+
railties (= 5.0.7.2)
|
136
|
+
sprockets-rails (>= 2.0.0)
|
137
|
+
rails-dom-testing (2.0.3)
|
138
|
+
activesupport (>= 4.2.0)
|
139
|
+
nokogiri (>= 1.6)
|
140
|
+
rails-html-sanitizer (1.3.0)
|
141
|
+
loofah (~> 2.3)
|
142
|
+
railties (5.0.7.2)
|
143
|
+
actionpack (= 5.0.7.2)
|
144
|
+
activesupport (= 5.0.7.2)
|
145
|
+
method_source
|
146
|
+
rake (>= 0.8.7)
|
147
|
+
thor (>= 0.18.1, < 2.0)
|
148
|
+
rake (13.0.1)
|
149
|
+
regexp_parser (1.7.1)
|
150
|
+
sass-rails (6.0.0)
|
151
|
+
sassc-rails (~> 2.1, >= 2.1.1)
|
152
|
+
sassc (2.4.0)
|
153
|
+
ffi (~> 1.9)
|
154
|
+
sassc-rails (2.1.2)
|
155
|
+
railties (>= 4.0.0)
|
156
|
+
sassc (>= 2.0)
|
157
|
+
sprockets (> 3.0)
|
158
|
+
sprockets-rails
|
159
|
+
tilt
|
160
|
+
simple_form (5.0.2)
|
161
|
+
actionpack (>= 5.0)
|
162
|
+
activemodel (>= 5.0)
|
163
|
+
sprockets (4.0.2)
|
164
|
+
concurrent-ruby (~> 1.0)
|
165
|
+
rack (> 1, < 3)
|
166
|
+
sprockets-rails (3.2.1)
|
167
|
+
actionpack (>= 4.0)
|
168
|
+
activesupport (>= 4.0)
|
169
|
+
sprockets (>= 3.0.0)
|
170
|
+
temple (0.8.2)
|
171
|
+
thor (1.0.1)
|
172
|
+
thread_safe (0.3.6)
|
173
|
+
tilt (2.0.10)
|
174
|
+
tzinfo (1.2.7)
|
175
|
+
thread_safe (~> 0.1)
|
176
|
+
uber (0.1.0)
|
177
|
+
websocket-driver (0.6.5)
|
178
|
+
websocket-extensions (>= 0.1.0)
|
179
|
+
websocket-extensions (0.1.5)
|
180
|
+
xpath (3.2.0)
|
181
|
+
nokogiri (~> 1.8)
|
182
|
+
|
183
|
+
PLATFORMS
|
184
|
+
ruby
|
185
|
+
|
186
|
+
DEPENDENCIES
|
187
|
+
activerecord (~> 5.0.0)
|
188
|
+
appraisal
|
189
|
+
bundler
|
190
|
+
capybara_minitest_spec
|
191
|
+
cells-erb
|
192
|
+
cells-rails!
|
193
|
+
formtastic
|
194
|
+
minitest
|
195
|
+
minitest-spec-rails
|
196
|
+
my_engine!
|
197
|
+
pry-byebug
|
198
|
+
rails
|
199
|
+
railties (~> 5.0.0)
|
200
|
+
rake
|
201
|
+
sass-rails (~> 6.0.0)
|
202
|
+
simple_form
|
203
|
+
|
204
|
+
BUNDLED WITH
|
205
|
+
2.1.4
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "sass-rails", "~> 6.0.0"
|
6
|
+
gem "simple_form"
|
7
|
+
gem "formtastic"
|
8
|
+
gem "railties", "~> 5.1.0"
|
9
|
+
gem "activerecord", "~> 5.1.0"
|
10
|
+
gem "my_engine", path: "../test/rails5.1/engines/my_engine"
|
11
|
+
|
12
|
+
group :development, :test do
|
13
|
+
gem "minitest-spec-rails"
|
14
|
+
gem "capybara_minitest_spec"
|
15
|
+
end
|
16
|
+
|
17
|
+
gemspec path: "../"
|
@@ -0,0 +1,205 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../test/rails5.1/engines/my_engine
|
3
|
+
specs:
|
4
|
+
my_engine (0.0.1)
|
5
|
+
cells (>= 4.0.0.beta5)
|
6
|
+
cells-erb
|
7
|
+
rails (>= 4.2.1)
|
8
|
+
|
9
|
+
PATH
|
10
|
+
remote: ..
|
11
|
+
specs:
|
12
|
+
cells-rails (0.1.3)
|
13
|
+
actionpack (>= 5.0)
|
14
|
+
cells (>= 4.1.6, < 5.0.0)
|
15
|
+
|
16
|
+
GEM
|
17
|
+
remote: https://rubygems.org/
|
18
|
+
specs:
|
19
|
+
actioncable (5.1.7)
|
20
|
+
actionpack (= 5.1.7)
|
21
|
+
nio4r (~> 2.0)
|
22
|
+
websocket-driver (~> 0.6.1)
|
23
|
+
actionmailer (5.1.7)
|
24
|
+
actionpack (= 5.1.7)
|
25
|
+
actionview (= 5.1.7)
|
26
|
+
activejob (= 5.1.7)
|
27
|
+
mail (~> 2.5, >= 2.5.4)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
actionpack (5.1.7)
|
30
|
+
actionview (= 5.1.7)
|
31
|
+
activesupport (= 5.1.7)
|
32
|
+
rack (~> 2.0)
|
33
|
+
rack-test (>= 0.6.3)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
36
|
+
actionview (5.1.7)
|
37
|
+
activesupport (= 5.1.7)
|
38
|
+
builder (~> 3.1)
|
39
|
+
erubi (~> 1.4)
|
40
|
+
rails-dom-testing (~> 2.0)
|
41
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
42
|
+
activejob (5.1.7)
|
43
|
+
activesupport (= 5.1.7)
|
44
|
+
globalid (>= 0.3.6)
|
45
|
+
activemodel (5.1.7)
|
46
|
+
activesupport (= 5.1.7)
|
47
|
+
activerecord (5.1.7)
|
48
|
+
activemodel (= 5.1.7)
|
49
|
+
activesupport (= 5.1.7)
|
50
|
+
arel (~> 8.0)
|
51
|
+
activesupport (5.1.7)
|
52
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
53
|
+
i18n (>= 0.7, < 2)
|
54
|
+
minitest (~> 5.1)
|
55
|
+
tzinfo (~> 1.1)
|
56
|
+
addressable (2.7.0)
|
57
|
+
public_suffix (>= 2.0.2, < 5.0)
|
58
|
+
appraisal (2.3.0)
|
59
|
+
bundler
|
60
|
+
rake
|
61
|
+
thor (>= 0.14.0)
|
62
|
+
arel (8.0.0)
|
63
|
+
builder (3.2.4)
|
64
|
+
byebug (11.1.3)
|
65
|
+
capybara (3.33.0)
|
66
|
+
addressable
|
67
|
+
mini_mime (>= 0.1.3)
|
68
|
+
nokogiri (~> 1.8)
|
69
|
+
rack (>= 1.6.0)
|
70
|
+
rack-test (>= 0.6.3)
|
71
|
+
regexp_parser (~> 1.5)
|
72
|
+
xpath (~> 3.2)
|
73
|
+
capybara_minitest_spec (1.0.7)
|
74
|
+
capybara (>= 2)
|
75
|
+
minitest (>= 4)
|
76
|
+
cells (4.1.7)
|
77
|
+
declarative-builder (< 0.2.0)
|
78
|
+
declarative-option (< 0.2.0)
|
79
|
+
tilt (>= 1.4, < 3)
|
80
|
+
uber (< 0.2.0)
|
81
|
+
cells-erb (0.1.0)
|
82
|
+
cells (~> 4.0)
|
83
|
+
erbse (>= 0.1.1)
|
84
|
+
coderay (1.1.3)
|
85
|
+
concurrent-ruby (1.1.6)
|
86
|
+
crass (1.0.6)
|
87
|
+
declarative-builder (0.1.0)
|
88
|
+
declarative-option (< 0.2.0)
|
89
|
+
declarative-option (0.1.0)
|
90
|
+
erbse (0.1.4)
|
91
|
+
temple
|
92
|
+
erubi (1.9.0)
|
93
|
+
ffi (1.13.1)
|
94
|
+
formtastic (3.1.5)
|
95
|
+
actionpack (>= 3.2.13)
|
96
|
+
globalid (0.4.2)
|
97
|
+
activesupport (>= 4.2.0)
|
98
|
+
i18n (1.8.3)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
loofah (2.6.0)
|
101
|
+
crass (~> 1.0.2)
|
102
|
+
nokogiri (>= 1.5.9)
|
103
|
+
mail (2.7.1)
|
104
|
+
mini_mime (>= 0.1.1)
|
105
|
+
method_source (1.0.0)
|
106
|
+
mini_mime (1.0.2)
|
107
|
+
mini_portile2 (2.4.0)
|
108
|
+
minitest (5.14.1)
|
109
|
+
minitest-spec-rails (6.0.2)
|
110
|
+
minitest (>= 5.0)
|
111
|
+
railties (>= 4.1)
|
112
|
+
nio4r (2.5.2)
|
113
|
+
nokogiri (1.10.10)
|
114
|
+
mini_portile2 (~> 2.4.0)
|
115
|
+
pry (0.13.1)
|
116
|
+
coderay (~> 1.1)
|
117
|
+
method_source (~> 1.0)
|
118
|
+
pry-byebug (3.9.0)
|
119
|
+
byebug (~> 11.0)
|
120
|
+
pry (~> 0.13.0)
|
121
|
+
public_suffix (4.0.5)
|
122
|
+
rack (2.2.3)
|
123
|
+
rack-test (1.1.0)
|
124
|
+
rack (>= 1.0, < 3)
|
125
|
+
rails (5.1.7)
|
126
|
+
actioncable (= 5.1.7)
|
127
|
+
actionmailer (= 5.1.7)
|
128
|
+
actionpack (= 5.1.7)
|
129
|
+
actionview (= 5.1.7)
|
130
|
+
activejob (= 5.1.7)
|
131
|
+
activemodel (= 5.1.7)
|
132
|
+
activerecord (= 5.1.7)
|
133
|
+
activesupport (= 5.1.7)
|
134
|
+
bundler (>= 1.3.0)
|
135
|
+
railties (= 5.1.7)
|
136
|
+
sprockets-rails (>= 2.0.0)
|
137
|
+
rails-dom-testing (2.0.3)
|
138
|
+
activesupport (>= 4.2.0)
|
139
|
+
nokogiri (>= 1.6)
|
140
|
+
rails-html-sanitizer (1.3.0)
|
141
|
+
loofah (~> 2.3)
|
142
|
+
railties (5.1.7)
|
143
|
+
actionpack (= 5.1.7)
|
144
|
+
activesupport (= 5.1.7)
|
145
|
+
method_source
|
146
|
+
rake (>= 0.8.7)
|
147
|
+
thor (>= 0.18.1, < 2.0)
|
148
|
+
rake (13.0.1)
|
149
|
+
regexp_parser (1.7.1)
|
150
|
+
sass-rails (6.0.0)
|
151
|
+
sassc-rails (~> 2.1, >= 2.1.1)
|
152
|
+
sassc (2.4.0)
|
153
|
+
ffi (~> 1.9)
|
154
|
+
sassc-rails (2.1.2)
|
155
|
+
railties (>= 4.0.0)
|
156
|
+
sassc (>= 2.0)
|
157
|
+
sprockets (> 3.0)
|
158
|
+
sprockets-rails
|
159
|
+
tilt
|
160
|
+
simple_form (5.0.2)
|
161
|
+
actionpack (>= 5.0)
|
162
|
+
activemodel (>= 5.0)
|
163
|
+
sprockets (4.0.2)
|
164
|
+
concurrent-ruby (~> 1.0)
|
165
|
+
rack (> 1, < 3)
|
166
|
+
sprockets-rails (3.2.1)
|
167
|
+
actionpack (>= 4.0)
|
168
|
+
activesupport (>= 4.0)
|
169
|
+
sprockets (>= 3.0.0)
|
170
|
+
temple (0.8.2)
|
171
|
+
thor (1.0.1)
|
172
|
+
thread_safe (0.3.6)
|
173
|
+
tilt (2.0.10)
|
174
|
+
tzinfo (1.2.7)
|
175
|
+
thread_safe (~> 0.1)
|
176
|
+
uber (0.1.0)
|
177
|
+
websocket-driver (0.6.5)
|
178
|
+
websocket-extensions (>= 0.1.0)
|
179
|
+
websocket-extensions (0.1.5)
|
180
|
+
xpath (3.2.0)
|
181
|
+
nokogiri (~> 1.8)
|
182
|
+
|
183
|
+
PLATFORMS
|
184
|
+
ruby
|
185
|
+
|
186
|
+
DEPENDENCIES
|
187
|
+
activerecord (~> 5.1.0)
|
188
|
+
appraisal
|
189
|
+
bundler
|
190
|
+
capybara_minitest_spec
|
191
|
+
cells-erb
|
192
|
+
cells-rails!
|
193
|
+
formtastic
|
194
|
+
minitest
|
195
|
+
minitest-spec-rails
|
196
|
+
my_engine!
|
197
|
+
pry-byebug
|
198
|
+
rails
|
199
|
+
railties (~> 5.1.0)
|
200
|
+
rake
|
201
|
+
sass-rails (~> 6.0.0)
|
202
|
+
simple_form
|
203
|
+
|
204
|
+
BUNDLED WITH
|
205
|
+
2.1.4
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "sass-rails", "~> 6.0.0"
|
6
|
+
gem "simple_form"
|
7
|
+
gem "formtastic"
|
8
|
+
gem "railties", "~> 5.2"
|
9
|
+
gem "activerecord", "~> 5.2"
|
10
|
+
gem "my_engine", path: "../test/rails5.2/engines/my_engine"
|
11
|
+
|
12
|
+
group :development, :test do
|
13
|
+
gem "minitest-spec-rails"
|
14
|
+
gem "capybara_minitest_spec"
|
15
|
+
end
|
16
|
+
|
17
|
+
gemspec path: "../"
|
@@ -0,0 +1,213 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../test/rails5.2/engines/my_engine
|
3
|
+
specs:
|
4
|
+
my_engine (0.0.1)
|
5
|
+
cells (>= 4.0.0.beta5)
|
6
|
+
cells-erb
|
7
|
+
rails (>= 4.2.1)
|
8
|
+
|
9
|
+
PATH
|
10
|
+
remote: ..
|
11
|
+
specs:
|
12
|
+
cells-rails (0.1.3)
|
13
|
+
actionpack (>= 5.0)
|
14
|
+
cells (>= 4.1.6, < 5.0.0)
|
15
|
+
|
16
|
+
GEM
|
17
|
+
remote: https://rubygems.org/
|
18
|
+
specs:
|
19
|
+
actioncable (5.2.4.3)
|
20
|
+
actionpack (= 5.2.4.3)
|
21
|
+
nio4r (~> 2.0)
|
22
|
+
websocket-driver (>= 0.6.1)
|
23
|
+
actionmailer (5.2.4.3)
|
24
|
+
actionpack (= 5.2.4.3)
|
25
|
+
actionview (= 5.2.4.3)
|
26
|
+
activejob (= 5.2.4.3)
|
27
|
+
mail (~> 2.5, >= 2.5.4)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
actionpack (5.2.4.3)
|
30
|
+
actionview (= 5.2.4.3)
|
31
|
+
activesupport (= 5.2.4.3)
|
32
|
+
rack (~> 2.0, >= 2.0.8)
|
33
|
+
rack-test (>= 0.6.3)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
36
|
+
actionview (5.2.4.3)
|
37
|
+
activesupport (= 5.2.4.3)
|
38
|
+
builder (~> 3.1)
|
39
|
+
erubi (~> 1.4)
|
40
|
+
rails-dom-testing (~> 2.0)
|
41
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
42
|
+
activejob (5.2.4.3)
|
43
|
+
activesupport (= 5.2.4.3)
|
44
|
+
globalid (>= 0.3.6)
|
45
|
+
activemodel (5.2.4.3)
|
46
|
+
activesupport (= 5.2.4.3)
|
47
|
+
activerecord (5.2.4.3)
|
48
|
+
activemodel (= 5.2.4.3)
|
49
|
+
activesupport (= 5.2.4.3)
|
50
|
+
arel (>= 9.0)
|
51
|
+
activestorage (5.2.4.3)
|
52
|
+
actionpack (= 5.2.4.3)
|
53
|
+
activerecord (= 5.2.4.3)
|
54
|
+
marcel (~> 0.3.1)
|
55
|
+
activesupport (5.2.4.3)
|
56
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
57
|
+
i18n (>= 0.7, < 2)
|
58
|
+
minitest (~> 5.1)
|
59
|
+
tzinfo (~> 1.1)
|
60
|
+
addressable (2.7.0)
|
61
|
+
public_suffix (>= 2.0.2, < 5.0)
|
62
|
+
appraisal (2.3.0)
|
63
|
+
bundler
|
64
|
+
rake
|
65
|
+
thor (>= 0.14.0)
|
66
|
+
arel (9.0.0)
|
67
|
+
builder (3.2.4)
|
68
|
+
byebug (11.1.3)
|
69
|
+
capybara (3.33.0)
|
70
|
+
addressable
|
71
|
+
mini_mime (>= 0.1.3)
|
72
|
+
nokogiri (~> 1.8)
|
73
|
+
rack (>= 1.6.0)
|
74
|
+
rack-test (>= 0.6.3)
|
75
|
+
regexp_parser (~> 1.5)
|
76
|
+
xpath (~> 3.2)
|
77
|
+
capybara_minitest_spec (1.0.7)
|
78
|
+
capybara (>= 2)
|
79
|
+
minitest (>= 4)
|
80
|
+
cells (4.1.7)
|
81
|
+
declarative-builder (< 0.2.0)
|
82
|
+
declarative-option (< 0.2.0)
|
83
|
+
tilt (>= 1.4, < 3)
|
84
|
+
uber (< 0.2.0)
|
85
|
+
cells-erb (0.1.0)
|
86
|
+
cells (~> 4.0)
|
87
|
+
erbse (>= 0.1.1)
|
88
|
+
coderay (1.1.3)
|
89
|
+
concurrent-ruby (1.1.6)
|
90
|
+
crass (1.0.6)
|
91
|
+
declarative-builder (0.1.0)
|
92
|
+
declarative-option (< 0.2.0)
|
93
|
+
declarative-option (0.1.0)
|
94
|
+
erbse (0.1.4)
|
95
|
+
temple
|
96
|
+
erubi (1.9.0)
|
97
|
+
ffi (1.13.1)
|
98
|
+
formtastic (3.1.5)
|
99
|
+
actionpack (>= 3.2.13)
|
100
|
+
globalid (0.4.2)
|
101
|
+
activesupport (>= 4.2.0)
|
102
|
+
i18n (1.8.3)
|
103
|
+
concurrent-ruby (~> 1.0)
|
104
|
+
loofah (2.6.0)
|
105
|
+
crass (~> 1.0.2)
|
106
|
+
nokogiri (>= 1.5.9)
|
107
|
+
mail (2.7.1)
|
108
|
+
mini_mime (>= 0.1.1)
|
109
|
+
marcel (0.3.3)
|
110
|
+
mimemagic (~> 0.3.2)
|
111
|
+
method_source (1.0.0)
|
112
|
+
mimemagic (0.3.5)
|
113
|
+
mini_mime (1.0.2)
|
114
|
+
mini_portile2 (2.4.0)
|
115
|
+
minitest (5.14.1)
|
116
|
+
minitest-spec-rails (6.0.2)
|
117
|
+
minitest (>= 5.0)
|
118
|
+
railties (>= 4.1)
|
119
|
+
nio4r (2.5.2)
|
120
|
+
nokogiri (1.10.10)
|
121
|
+
mini_portile2 (~> 2.4.0)
|
122
|
+
pry (0.13.1)
|
123
|
+
coderay (~> 1.1)
|
124
|
+
method_source (~> 1.0)
|
125
|
+
pry-byebug (3.9.0)
|
126
|
+
byebug (~> 11.0)
|
127
|
+
pry (~> 0.13.0)
|
128
|
+
public_suffix (4.0.5)
|
129
|
+
rack (2.2.3)
|
130
|
+
rack-test (1.1.0)
|
131
|
+
rack (>= 1.0, < 3)
|
132
|
+
rails (5.2.4.3)
|
133
|
+
actioncable (= 5.2.4.3)
|
134
|
+
actionmailer (= 5.2.4.3)
|
135
|
+
actionpack (= 5.2.4.3)
|
136
|
+
actionview (= 5.2.4.3)
|
137
|
+
activejob (= 5.2.4.3)
|
138
|
+
activemodel (= 5.2.4.3)
|
139
|
+
activerecord (= 5.2.4.3)
|
140
|
+
activestorage (= 5.2.4.3)
|
141
|
+
activesupport (= 5.2.4.3)
|
142
|
+
bundler (>= 1.3.0)
|
143
|
+
railties (= 5.2.4.3)
|
144
|
+
sprockets-rails (>= 2.0.0)
|
145
|
+
rails-dom-testing (2.0.3)
|
146
|
+
activesupport (>= 4.2.0)
|
147
|
+
nokogiri (>= 1.6)
|
148
|
+
rails-html-sanitizer (1.3.0)
|
149
|
+
loofah (~> 2.3)
|
150
|
+
railties (5.2.4.3)
|
151
|
+
actionpack (= 5.2.4.3)
|
152
|
+
activesupport (= 5.2.4.3)
|
153
|
+
method_source
|
154
|
+
rake (>= 0.8.7)
|
155
|
+
thor (>= 0.19.0, < 2.0)
|
156
|
+
rake (13.0.1)
|
157
|
+
regexp_parser (1.7.1)
|
158
|
+
sass-rails (6.0.0)
|
159
|
+
sassc-rails (~> 2.1, >= 2.1.1)
|
160
|
+
sassc (2.4.0)
|
161
|
+
ffi (~> 1.9)
|
162
|
+
sassc-rails (2.1.2)
|
163
|
+
railties (>= 4.0.0)
|
164
|
+
sassc (>= 2.0)
|
165
|
+
sprockets (> 3.0)
|
166
|
+
sprockets-rails
|
167
|
+
tilt
|
168
|
+
simple_form (5.0.2)
|
169
|
+
actionpack (>= 5.0)
|
170
|
+
activemodel (>= 5.0)
|
171
|
+
sprockets (4.0.2)
|
172
|
+
concurrent-ruby (~> 1.0)
|
173
|
+
rack (> 1, < 3)
|
174
|
+
sprockets-rails (3.2.1)
|
175
|
+
actionpack (>= 4.0)
|
176
|
+
activesupport (>= 4.0)
|
177
|
+
sprockets (>= 3.0.0)
|
178
|
+
temple (0.8.2)
|
179
|
+
thor (1.0.1)
|
180
|
+
thread_safe (0.3.6)
|
181
|
+
tilt (2.0.10)
|
182
|
+
tzinfo (1.2.7)
|
183
|
+
thread_safe (~> 0.1)
|
184
|
+
uber (0.1.0)
|
185
|
+
websocket-driver (0.7.3)
|
186
|
+
websocket-extensions (>= 0.1.0)
|
187
|
+
websocket-extensions (0.1.5)
|
188
|
+
xpath (3.2.0)
|
189
|
+
nokogiri (~> 1.8)
|
190
|
+
|
191
|
+
PLATFORMS
|
192
|
+
ruby
|
193
|
+
|
194
|
+
DEPENDENCIES
|
195
|
+
activerecord (~> 5.2)
|
196
|
+
appraisal
|
197
|
+
bundler
|
198
|
+
capybara_minitest_spec
|
199
|
+
cells-erb
|
200
|
+
cells-rails!
|
201
|
+
formtastic
|
202
|
+
minitest
|
203
|
+
minitest-spec-rails
|
204
|
+
my_engine!
|
205
|
+
pry-byebug
|
206
|
+
rails
|
207
|
+
railties (~> 5.2)
|
208
|
+
rake
|
209
|
+
sass-rails (~> 6.0.0)
|
210
|
+
simple_form
|
211
|
+
|
212
|
+
BUNDLED WITH
|
213
|
+
2.1.4
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "sass-rails", "~> 6.0.0"
|
6
|
+
gem "simple_form"
|
7
|
+
gem "formtastic"
|
8
|
+
gem "railties", "~> 6.0"
|
9
|
+
gem "activerecord", "~> 6.0"
|
10
|
+
gem "my_engine", path: "../test/rails6.0/engines/my_engine"
|
11
|
+
|
12
|
+
group :development, :test do
|
13
|
+
gem "minitest-spec-rails"
|
14
|
+
gem "capybara_minitest_spec"
|
15
|
+
end
|
16
|
+
|
17
|
+
gemspec path: "../"
|
@@ -0,0 +1,229 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../test/rails6.0/engines/my_engine
|
3
|
+
specs:
|
4
|
+
my_engine (0.0.1)
|
5
|
+
cells (>= 4.0.0.beta5)
|
6
|
+
cells-erb
|
7
|
+
rails (>= 6.0.0)
|
8
|
+
|
9
|
+
PATH
|
10
|
+
remote: ..
|
11
|
+
specs:
|
12
|
+
cells-rails (0.1.3)
|
13
|
+
actionpack (>= 5.0)
|
14
|
+
cells (>= 4.1.6, < 5.0.0)
|
15
|
+
|
16
|
+
GEM
|
17
|
+
remote: https://rubygems.org/
|
18
|
+
specs:
|
19
|
+
actioncable (6.0.3.2)
|
20
|
+
actionpack (= 6.0.3.2)
|
21
|
+
nio4r (~> 2.0)
|
22
|
+
websocket-driver (>= 0.6.1)
|
23
|
+
actionmailbox (6.0.3.2)
|
24
|
+
actionpack (= 6.0.3.2)
|
25
|
+
activejob (= 6.0.3.2)
|
26
|
+
activerecord (= 6.0.3.2)
|
27
|
+
activestorage (= 6.0.3.2)
|
28
|
+
activesupport (= 6.0.3.2)
|
29
|
+
mail (>= 2.7.1)
|
30
|
+
actionmailer (6.0.3.2)
|
31
|
+
actionpack (= 6.0.3.2)
|
32
|
+
actionview (= 6.0.3.2)
|
33
|
+
activejob (= 6.0.3.2)
|
34
|
+
mail (~> 2.5, >= 2.5.4)
|
35
|
+
rails-dom-testing (~> 2.0)
|
36
|
+
actionpack (6.0.3.2)
|
37
|
+
actionview (= 6.0.3.2)
|
38
|
+
activesupport (= 6.0.3.2)
|
39
|
+
rack (~> 2.0, >= 2.0.8)
|
40
|
+
rack-test (>= 0.6.3)
|
41
|
+
rails-dom-testing (~> 2.0)
|
42
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
43
|
+
actiontext (6.0.3.2)
|
44
|
+
actionpack (= 6.0.3.2)
|
45
|
+
activerecord (= 6.0.3.2)
|
46
|
+
activestorage (= 6.0.3.2)
|
47
|
+
activesupport (= 6.0.3.2)
|
48
|
+
nokogiri (>= 1.8.5)
|
49
|
+
actionview (6.0.3.2)
|
50
|
+
activesupport (= 6.0.3.2)
|
51
|
+
builder (~> 3.1)
|
52
|
+
erubi (~> 1.4)
|
53
|
+
rails-dom-testing (~> 2.0)
|
54
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
55
|
+
activejob (6.0.3.2)
|
56
|
+
activesupport (= 6.0.3.2)
|
57
|
+
globalid (>= 0.3.6)
|
58
|
+
activemodel (6.0.3.2)
|
59
|
+
activesupport (= 6.0.3.2)
|
60
|
+
activerecord (6.0.3.2)
|
61
|
+
activemodel (= 6.0.3.2)
|
62
|
+
activesupport (= 6.0.3.2)
|
63
|
+
activestorage (6.0.3.2)
|
64
|
+
actionpack (= 6.0.3.2)
|
65
|
+
activejob (= 6.0.3.2)
|
66
|
+
activerecord (= 6.0.3.2)
|
67
|
+
marcel (~> 0.3.1)
|
68
|
+
activesupport (6.0.3.2)
|
69
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
70
|
+
i18n (>= 0.7, < 2)
|
71
|
+
minitest (~> 5.1)
|
72
|
+
tzinfo (~> 1.1)
|
73
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
74
|
+
addressable (2.7.0)
|
75
|
+
public_suffix (>= 2.0.2, < 5.0)
|
76
|
+
appraisal (2.3.0)
|
77
|
+
bundler
|
78
|
+
rake
|
79
|
+
thor (>= 0.14.0)
|
80
|
+
builder (3.2.4)
|
81
|
+
byebug (11.1.3)
|
82
|
+
capybara (3.33.0)
|
83
|
+
addressable
|
84
|
+
mini_mime (>= 0.1.3)
|
85
|
+
nokogiri (~> 1.8)
|
86
|
+
rack (>= 1.6.0)
|
87
|
+
rack-test (>= 0.6.3)
|
88
|
+
regexp_parser (~> 1.5)
|
89
|
+
xpath (~> 3.2)
|
90
|
+
capybara_minitest_spec (1.0.7)
|
91
|
+
capybara (>= 2)
|
92
|
+
minitest (>= 4)
|
93
|
+
cells (4.1.7)
|
94
|
+
declarative-builder (< 0.2.0)
|
95
|
+
declarative-option (< 0.2.0)
|
96
|
+
tilt (>= 1.4, < 3)
|
97
|
+
uber (< 0.2.0)
|
98
|
+
cells-erb (0.1.0)
|
99
|
+
cells (~> 4.0)
|
100
|
+
erbse (>= 0.1.1)
|
101
|
+
coderay (1.1.3)
|
102
|
+
concurrent-ruby (1.1.6)
|
103
|
+
crass (1.0.6)
|
104
|
+
declarative-builder (0.1.0)
|
105
|
+
declarative-option (< 0.2.0)
|
106
|
+
declarative-option (0.1.0)
|
107
|
+
erbse (0.1.4)
|
108
|
+
temple
|
109
|
+
erubi (1.9.0)
|
110
|
+
ffi (1.13.1)
|
111
|
+
formtastic (3.1.5)
|
112
|
+
actionpack (>= 3.2.13)
|
113
|
+
globalid (0.4.2)
|
114
|
+
activesupport (>= 4.2.0)
|
115
|
+
i18n (1.8.3)
|
116
|
+
concurrent-ruby (~> 1.0)
|
117
|
+
loofah (2.6.0)
|
118
|
+
crass (~> 1.0.2)
|
119
|
+
nokogiri (>= 1.5.9)
|
120
|
+
mail (2.7.1)
|
121
|
+
mini_mime (>= 0.1.1)
|
122
|
+
marcel (0.3.3)
|
123
|
+
mimemagic (~> 0.3.2)
|
124
|
+
method_source (1.0.0)
|
125
|
+
mimemagic (0.3.5)
|
126
|
+
mini_mime (1.0.2)
|
127
|
+
mini_portile2 (2.4.0)
|
128
|
+
minitest (5.14.1)
|
129
|
+
minitest-spec-rails (6.0.2)
|
130
|
+
minitest (>= 5.0)
|
131
|
+
railties (>= 4.1)
|
132
|
+
nio4r (2.5.2)
|
133
|
+
nokogiri (1.10.10)
|
134
|
+
mini_portile2 (~> 2.4.0)
|
135
|
+
pry (0.13.1)
|
136
|
+
coderay (~> 1.1)
|
137
|
+
method_source (~> 1.0)
|
138
|
+
pry-byebug (3.9.0)
|
139
|
+
byebug (~> 11.0)
|
140
|
+
pry (~> 0.13.0)
|
141
|
+
public_suffix (4.0.5)
|
142
|
+
rack (2.2.3)
|
143
|
+
rack-test (1.1.0)
|
144
|
+
rack (>= 1.0, < 3)
|
145
|
+
rails (6.0.3.2)
|
146
|
+
actioncable (= 6.0.3.2)
|
147
|
+
actionmailbox (= 6.0.3.2)
|
148
|
+
actionmailer (= 6.0.3.2)
|
149
|
+
actionpack (= 6.0.3.2)
|
150
|
+
actiontext (= 6.0.3.2)
|
151
|
+
actionview (= 6.0.3.2)
|
152
|
+
activejob (= 6.0.3.2)
|
153
|
+
activemodel (= 6.0.3.2)
|
154
|
+
activerecord (= 6.0.3.2)
|
155
|
+
activestorage (= 6.0.3.2)
|
156
|
+
activesupport (= 6.0.3.2)
|
157
|
+
bundler (>= 1.3.0)
|
158
|
+
railties (= 6.0.3.2)
|
159
|
+
sprockets-rails (>= 2.0.0)
|
160
|
+
rails-dom-testing (2.0.3)
|
161
|
+
activesupport (>= 4.2.0)
|
162
|
+
nokogiri (>= 1.6)
|
163
|
+
rails-html-sanitizer (1.3.0)
|
164
|
+
loofah (~> 2.3)
|
165
|
+
railties (6.0.3.2)
|
166
|
+
actionpack (= 6.0.3.2)
|
167
|
+
activesupport (= 6.0.3.2)
|
168
|
+
method_source
|
169
|
+
rake (>= 0.8.7)
|
170
|
+
thor (>= 0.20.3, < 2.0)
|
171
|
+
rake (13.0.1)
|
172
|
+
regexp_parser (1.7.1)
|
173
|
+
sass-rails (6.0.0)
|
174
|
+
sassc-rails (~> 2.1, >= 2.1.1)
|
175
|
+
sassc (2.4.0)
|
176
|
+
ffi (~> 1.9)
|
177
|
+
sassc-rails (2.1.2)
|
178
|
+
railties (>= 4.0.0)
|
179
|
+
sassc (>= 2.0)
|
180
|
+
sprockets (> 3.0)
|
181
|
+
sprockets-rails
|
182
|
+
tilt
|
183
|
+
simple_form (5.0.2)
|
184
|
+
actionpack (>= 5.0)
|
185
|
+
activemodel (>= 5.0)
|
186
|
+
sprockets (4.0.2)
|
187
|
+
concurrent-ruby (~> 1.0)
|
188
|
+
rack (> 1, < 3)
|
189
|
+
sprockets-rails (3.2.1)
|
190
|
+
actionpack (>= 4.0)
|
191
|
+
activesupport (>= 4.0)
|
192
|
+
sprockets (>= 3.0.0)
|
193
|
+
temple (0.8.2)
|
194
|
+
thor (1.0.1)
|
195
|
+
thread_safe (0.3.6)
|
196
|
+
tilt (2.0.10)
|
197
|
+
tzinfo (1.2.7)
|
198
|
+
thread_safe (~> 0.1)
|
199
|
+
uber (0.1.0)
|
200
|
+
websocket-driver (0.7.3)
|
201
|
+
websocket-extensions (>= 0.1.0)
|
202
|
+
websocket-extensions (0.1.5)
|
203
|
+
xpath (3.2.0)
|
204
|
+
nokogiri (~> 1.8)
|
205
|
+
zeitwerk (2.4.0)
|
206
|
+
|
207
|
+
PLATFORMS
|
208
|
+
ruby
|
209
|
+
|
210
|
+
DEPENDENCIES
|
211
|
+
activerecord (~> 6.0)
|
212
|
+
appraisal
|
213
|
+
bundler
|
214
|
+
capybara_minitest_spec
|
215
|
+
cells-erb
|
216
|
+
cells-rails!
|
217
|
+
formtastic
|
218
|
+
minitest
|
219
|
+
minitest-spec-rails
|
220
|
+
my_engine!
|
221
|
+
pry-byebug
|
222
|
+
rails
|
223
|
+
railties (~> 6.0)
|
224
|
+
rake
|
225
|
+
sass-rails (~> 6.0.0)
|
226
|
+
simple_form
|
227
|
+
|
228
|
+
BUNDLED WITH
|
229
|
+
2.1.4
|
data/lib/cell/rails.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'active_support/concern'
|
1
2
|
module Cell
|
2
3
|
def self.rails_version
|
3
4
|
Gem::Version.new(ActionPack::VERSION::STRING)
|
@@ -77,8 +78,8 @@ module Cell
|
|
77
78
|
controller.send(:protect_against_forgery?)
|
78
79
|
end
|
79
80
|
|
80
|
-
def form_authenticity_token(
|
81
|
-
controller.send(:form_authenticity_token,
|
81
|
+
def form_authenticity_token(**options)
|
82
|
+
controller.send(:form_authenticity_token, **options)
|
82
83
|
end
|
83
84
|
|
84
85
|
module ClassMethods
|
data/lib/cell/rails/testing.rb
CHANGED
@@ -2,6 +2,10 @@ module Cell
|
|
2
2
|
module RailsExtensions
|
3
3
|
# This modules overrides Cell::Testing#controller_for and provides Rails-specific logic.
|
4
4
|
module Testing
|
5
|
+
RAILS_7_0 = Gem::Version.new("7.0.0")
|
6
|
+
RAILS_5_1 = Gem::Version.new("5.1.0")
|
7
|
+
RAILS_5_0 = Gem::Version.new("5.0.0")
|
8
|
+
|
5
9
|
def controller_for(controller_class)
|
6
10
|
return unless controller_class
|
7
11
|
|
@@ -12,13 +16,13 @@ module Cell
|
|
12
16
|
end
|
13
17
|
|
14
18
|
def action_controller_test_request(controller_class)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
else
|
19
|
+
version = ::Rails.gem_version
|
20
|
+
|
21
|
+
if version >= RAILS_5_1 && version < RAILS_7_0
|
22
|
+
::ActionController::TestRequest.create(controller_class)
|
23
|
+
elsif version >= RAILS_5_0 && version < RAILS_5_1
|
24
|
+
::ActionController::TestRequest.create
|
25
|
+
else
|
22
26
|
::ActionController::TestRequest.new
|
23
27
|
end
|
24
28
|
end
|
data/lib/cell/railtie.rb
CHANGED
@@ -76,6 +76,13 @@ module Cell
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
initializer "trailblazer.cells.update_view_paths" do |app|
|
80
|
+
if Object.const_defined?(:Trailblazer) && Trailblazer.const_defined?(:Cell, false)
|
81
|
+
# Add Rails.root to view_paths
|
82
|
+
Trailblazer::Cell.view_paths = [Rails.root.join("app", "concepts")]
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
79
86
|
rake_tasks do
|
80
87
|
load "tasks/cells.rake"
|
81
88
|
end
|
data/lib/cells-rails.rb
CHANGED
data/lib/cells/rails.rb
CHANGED
data/lib/cells/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cells-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cells
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '5.0'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '5.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,6 +128,34 @@ dependencies:
|
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: appraisal
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: pry-byebug
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
131
159
|
description:
|
132
160
|
email:
|
133
161
|
- apotonick@gmail.com
|
@@ -137,12 +165,21 @@ extra_rdoc_files: []
|
|
137
165
|
files:
|
138
166
|
- ".gitignore"
|
139
167
|
- ".travis.yml"
|
168
|
+
- Appraisals
|
140
169
|
- CHANGES.md
|
141
170
|
- Gemfile
|
142
171
|
- LICENSE.txt
|
143
172
|
- README.md
|
144
173
|
- Rakefile
|
145
174
|
- cells-rails.gemspec
|
175
|
+
- gemfiles/5.0.gemfile
|
176
|
+
- gemfiles/5.0.gemfile.lock
|
177
|
+
- gemfiles/5.1.gemfile
|
178
|
+
- gemfiles/5.1.gemfile.lock
|
179
|
+
- gemfiles/5.2.gemfile
|
180
|
+
- gemfiles/5.2.gemfile.lock
|
181
|
+
- gemfiles/6.0.gemfile
|
182
|
+
- gemfiles/6.0.gemfile.lock
|
146
183
|
- lib/cell/caching/notification.rb
|
147
184
|
- lib/cell/helper/asset_helper.rb
|
148
185
|
- lib/cell/rails.rb
|
@@ -188,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
225
|
- !ruby/object:Gem::Version
|
189
226
|
version: '0'
|
190
227
|
requirements: []
|
191
|
-
|
192
|
-
rubygems_version: 2.7.3
|
228
|
+
rubygems_version: 3.0.8
|
193
229
|
signing_key:
|
194
230
|
specification_version: 4
|
195
231
|
summary: Convenient Rails support for Cells.
|