torba-rails 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +24 -14
- data/CHANGELOG.md +7 -0
- data/README.md +32 -1
- data/Rakefile +2 -0
- data/torba-rails.gemspec +4 -5
- metadata +12 -313
- data/test/3.2/Gemfile +0 -13
- data/test/3.2/Rakefile +0 -7
- data/test/3.2/Torbafile +0 -1
- data/test/3.2/app/assets/javascripts/application.js +0 -1
- data/test/3.2/app/assets/stylesheets/application.scss +0 -1
- data/test/3.2/app/controllers/application_controller.rb +0 -3
- data/test/3.2/app/helpers/application_helper.rb +0 -2
- data/test/3.2/app/views/layouts/application.html.erb +0 -14
- data/test/3.2/bin/rails +0 -1
- data/test/3.2/config/application.rb +0 -62
- data/test/3.2/config/boot.rb +0 -6
- data/test/3.2/config/environment.rb +0 -5
- data/test/3.2/config/environments/development.rb +0 -27
- data/test/3.2/config/environments/production.rb +0 -64
- data/test/3.2/config/environments/test.rb +0 -29
- data/test/3.2/config/initializers/backtrace_silencers.rb +0 -7
- data/test/3.2/config/initializers/secret_token.rb +0 -7
- data/test/3.2/config/initializers/wrap_parameters.rb +0 -10
- data/test/3.2/config/locales/en.yml +0 -5
- data/test/3.2/config/routes.rb +0 -58
- data/test/3.2/config.ru +0 -4
- data/test/3.2/script/rails +0 -6
- data/test/4.1/Gemfile +0 -8
- data/test/4.1/Rakefile +0 -6
- data/test/4.1/Torbafile +0 -1
- data/test/4.1/app/assets/javascripts/application.js +0 -1
- data/test/4.1/app/assets/stylesheets/application.scss +0 -1
- data/test/4.1/app/controllers/application_controller.rb +0 -5
- data/test/4.1/app/helpers/application_helper.rb +0 -2
- data/test/4.1/app/views/layouts/application.html.erb +0 -14
- data/test/4.1/bin/bundle +0 -3
- data/test/4.1/bin/rails +0 -4
- data/test/4.1/bin/rake +0 -9
- data/test/4.1/config/application.rb +0 -25
- data/test/4.1/config/boot.rb +0 -4
- data/test/4.1/config/environment.rb +0 -5
- data/test/4.1/config/environments/development.rb +0 -31
- data/test/4.1/config/environments/production.rb +0 -75
- data/test/4.1/config/environments/test.rb +0 -34
- data/test/4.1/config/initializers/assets.rb +0 -8
- data/test/4.1/config/initializers/cookies_serializer.rb +0 -3
- data/test/4.1/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/4.1/config/initializers/session_store.rb +0 -3
- data/test/4.1/config/initializers/wrap_parameters.rb +0 -14
- data/test/4.1/config/locales/en.yml +0 -23
- data/test/4.1/config/routes.rb +0 -56
- data/test/4.1/config/secrets.yml +0 -22
- data/test/4.1/config.ru +0 -4
- data/test/4.2/Gemfile +0 -7
- data/test/4.2/Rakefile +0 -6
- data/test/4.2/Torbafile +0 -1
- data/test/4.2/app/assets/javascripts/application.js +0 -1
- data/test/4.2/app/assets/stylesheets/application.scss +0 -1
- data/test/4.2/app/controllers/application_controller.rb +0 -5
- data/test/4.2/app/helpers/application_helper.rb +0 -2
- data/test/4.2/app/views/layouts/application.html.erb +0 -13
- data/test/4.2/bin/rails +0 -4
- data/test/4.2/config/application.rb +0 -25
- data/test/4.2/config/boot.rb +0 -3
- data/test/4.2/config/environment.rb +0 -5
- data/test/4.2/config/environments/development.rb +0 -35
- data/test/4.2/config/environments/production.rb +0 -76
- data/test/4.2/config/environments/test.rb +0 -37
- data/test/4.2/config/initializers/assets.rb +0 -11
- data/test/4.2/config/initializers/cookies_serializer.rb +0 -3
- data/test/4.2/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/4.2/config/initializers/session_store.rb +0 -3
- data/test/4.2/config/initializers/wrap_parameters.rb +0 -9
- data/test/4.2/config/locales/en.yml +0 -23
- data/test/4.2/config/routes.rb +0 -56
- data/test/4.2/config/secrets.yml +0 -22
- data/test/4.2/config.ru +0 -4
- data/test/5.0/Gemfile +0 -7
- data/test/5.0/Rakefile +0 -6
- data/test/5.0/Torbafile +0 -1
- data/test/5.0/app/assets/javascripts/application.js +0 -1
- data/test/5.0/app/assets/stylesheets/application.scss +0 -1
- data/test/5.0/app/controllers/application_controller.rb +0 -5
- data/test/5.0/app/helpers/application_helper.rb +0 -2
- data/test/5.0/app/views/layouts/application.html.erb +0 -13
- data/test/5.0/bin/rails +0 -4
- data/test/5.0/config/application.rb +0 -17
- data/test/5.0/config/boot.rb +0 -3
- data/test/5.0/config/cable.yml +0 -10
- data/test/5.0/config/environment.rb +0 -5
- data/test/5.0/config/environments/development.rb +0 -52
- data/test/5.0/config/environments/production.rb +0 -79
- data/test/5.0/config/environments/test.rb +0 -36
- data/test/5.0/config/initializers/assets.rb +0 -11
- data/test/5.0/config/initializers/cookies_serializer.rb +0 -5
- data/test/5.0/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/5.0/config/initializers/per_form_csrf_tokens.rb +0 -4
- data/test/5.0/config/initializers/request_forgery_protection.rb +0 -4
- data/test/5.0/config/initializers/session_store.rb +0 -3
- data/test/5.0/config/initializers/wrap_parameters.rb +0 -14
- data/test/5.0/config/locales/en.yml +0 -23
- data/test/5.0/config/puma.rb +0 -47
- data/test/5.0/config/routes.rb +0 -6
- data/test/5.0/config/secrets.yml +0 -22
- data/test/5.0/config.ru +0 -4
- data/test/5.0/db/seeds.rb +0 -7
- data/test/5.1/.gitignore +0 -14
- data/test/5.1/Gemfile +0 -11
- data/test/5.1/Rakefile +0 -6
- data/test/5.1/Torbafile +0 -1
- data/test/5.1/app/assets/config/manifest.js +0 -3
- data/test/5.1/app/assets/javascripts/application.js +0 -1
- data/test/5.1/app/assets/stylesheets/application.scss +0 -1
- data/test/5.1/app/controllers/application_controller.rb +0 -3
- data/test/5.1/app/helpers/application_helper.rb +0 -2
- data/test/5.1/app/views/layouts/application.html.erb +0 -14
- data/test/5.1/bin/rails +0 -4
- data/test/5.1/config/application.rb +0 -23
- data/test/5.1/config/boot.rb +0 -3
- data/test/5.1/config/environment.rb +0 -5
- data/test/5.1/config/environments/development.rb +0 -46
- data/test/5.1/config/environments/production.rb +0 -79
- data/test/5.1/config/environments/test.rb +0 -36
- data/test/5.1/config/initializers/application_controller_renderer.rb +0 -8
- data/test/5.1/config/initializers/assets.rb +0 -12
- data/test/5.1/config/initializers/backtrace_silencers.rb +0 -7
- data/test/5.1/config/initializers/cookies_serializer.rb +0 -5
- data/test/5.1/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/5.1/config/initializers/inflections.rb +0 -16
- data/test/5.1/config/initializers/mime_types.rb +0 -4
- data/test/5.1/config/initializers/wrap_parameters.rb +0 -9
- data/test/5.1/config/locales/en.yml +0 -33
- data/test/5.1/config/routes.rb +0 -3
- data/test/5.1/config/secrets.yml +0 -32
- data/test/5.1/config.ru +0 -5
- data/test/Torbafile +0 -8
- data/test/acceptance_test.rb +0 -73
- data/test/application.js +0 -2
- data/test/application.scss +0 -6
- data/test/compiled_assets/3.2/application-%2A.css +0 -1
- data/test/compiled_assets/3.2/application-%2A.js +0 -1
- data/test/compiled_assets/3.2/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png +0 -0
- data/test/compiled_assets/3.2/trumbowyg/icons-2x-%2A.png +0 -0
- data/test/compiled_assets/4.1/application-%2A.css +0 -1
- data/test/compiled_assets/4.1/application-%2A.js +0 -1
- data/test/compiled_assets/4.1/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png +0 -0
- data/test/compiled_assets/4.1/trumbowyg/icons-2x-%2A.png +0 -0
- data/test/compiled_assets/4.2+/application-%2A.css +0 -1
- data/test/compiled_assets/4.2+/application-%2A.js +0 -1
- data/test/compiled_assets/4.2+/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png +0 -0
- data/test/compiled_assets/4.2+/trumbowyg/icons-2x-%2A.png +0 -0
- data/test/environment.rb +0 -6
- data/test/rake_injector/lib/rake_injector.rb +0 -6
- data/test/rake_injector/rake_injector.gemspec +0 -13
- data/test/test_helper.rb +0 -36
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 338250959e7423d910647554015130b3f8b58a2a3c8f2cecb2b52d745b683f8d
|
|
4
|
+
data.tar.gz: 701c5a2f66fd7315a5506af6629a0eaadceb085e31312f95ffdc2ead729e714e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4d583229ec9584dd5122420dae816d790220da3acf9e013de0068434370e8912e80f7dce347a2642c9fbcdf4ddf1dd3b0429d96e42f3806c506f6df170ceeff
|
|
7
|
+
data.tar.gz: 862408addf8332fe7fd2fef92a7cdd9bee1ed4f5a2f5a4a67413c00e865c701053c1c1379baf4880e81eb05f72c0e42f95781599fb242a2a1b922c4e7116434c
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.7.2
|
data/.travis.yml
CHANGED
|
@@ -7,20 +7,30 @@ cache:
|
|
|
7
7
|
- test/4.2/vendor/bundle
|
|
8
8
|
- test/5.0/vendor/bundle
|
|
9
9
|
- test/5.1/vendor/bundle
|
|
10
|
+
- test/6.1/vendor/bundle
|
|
10
11
|
language: ruby
|
|
11
|
-
rvm:
|
|
12
|
-
- 2.2
|
|
13
|
-
- 2.3
|
|
14
|
-
- 2.4
|
|
15
12
|
bundler_args: --without doc debug --path=vendor/bundle
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
|
|
14
|
+
# Explicitly test each Rails version against only one Ruby version to
|
|
15
|
+
# skip any redundancy builds. Rails and Torba are tested against
|
|
16
|
+
# different Ruby versions each in their own repository, and the integration
|
|
17
|
+
# itself is written in standard Ruby. Here we only question
|
|
18
|
+
# does the torba-rails integration work with a specific Rails version
|
|
19
|
+
# or not.
|
|
20
|
+
#
|
|
21
|
+
# Ruby 2.3 has been chosen for Rails < 5 as a common denominator
|
|
22
|
+
# that satisfies https://github.com/rails/rails/issues/25125.
|
|
23
|
+
jobs:
|
|
24
|
+
include:
|
|
25
|
+
- rvm: 2.3
|
|
26
|
+
env: RAILS_VERSION=3.2
|
|
27
|
+
- rvm: 2.3
|
|
26
28
|
env: RAILS_VERSION=4.1
|
|
29
|
+
- rvm: 2.3
|
|
30
|
+
env: RAILS_VERSION=4.2
|
|
31
|
+
- rvm: 2.7
|
|
32
|
+
env: RAILS_VERSION=5.0
|
|
33
|
+
- rvm: 2.7
|
|
34
|
+
env: RAILS_VERSION=5.1
|
|
35
|
+
- rvm: 2.7
|
|
36
|
+
env: RAILS_VERSION=6.1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Production ready.
|
|
|
11
11
|
|
|
12
12
|
## Documentation
|
|
13
13
|
|
|
14
|
-
[Released version](http://rubydoc.info/gems/torba-rails/1.0.
|
|
14
|
+
[Released version](http://rubydoc.info/gems/torba-rails/1.0.3)
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
@@ -75,6 +75,37 @@ For Capistrano 3, you can set this up in `config/deploy.rb`:
|
|
|
75
75
|
set :default_env, { torba_home_path: shared_path.join('vendor/torba') }
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
## Disable torba-rails
|
|
79
|
+
|
|
80
|
+
The gem tries its best to be activated when it is needed. Currently this
|
|
81
|
+
is aligned with serving assets by Rails, i.e. torba-rails is enabled
|
|
82
|
+
for development and testing and disabled for production (where assets are
|
|
83
|
+
served by an external web-server like nginx).
|
|
84
|
+
|
|
85
|
+
This default is fine for a single running local machine or server, but may
|
|
86
|
+
conflict with a multiple server setup. For example, you may want to precompile
|
|
87
|
+
assets on one machine and copy the compiled assets to many testing
|
|
88
|
+
machines/containers. On the testing machine you still want to serve the assets
|
|
89
|
+
by Rails, but you don't want torba-rails to kick in and start verifying its
|
|
90
|
+
assets. You don't want to run `torba pack` on each machine either.
|
|
91
|
+
|
|
92
|
+
In such situations you can prevent torba-rails from loading entirely.
|
|
93
|
+
Set an environment variable on a machine you don't want torba-rails to run:
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
export TORBA_RAILS_DISABLE=true
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
then conditionally `require` the gem:
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
```ruby
|
|
103
|
+
# Gemfile
|
|
104
|
+
gem 'torba-rails', require: ENV['TORBA_RAILS_DISABLE'] != 'true'
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
The gem will be still required on a machine without the variable set.
|
|
108
|
+
|
|
78
109
|
[torba-github]: https://github.com/torba-rb/torba
|
|
79
110
|
[torba-usage]: https://github.com/torba-rb/torba#usage
|
|
80
111
|
[rails-ticket-vendoring]: https://github.com/rails/rails/pull/7968
|
data/Rakefile
CHANGED
|
@@ -3,6 +3,8 @@ require_relative "test/environment"
|
|
|
3
3
|
|
|
4
4
|
task :test do
|
|
5
5
|
Bundler.with_clean_env do
|
|
6
|
+
rm_rf "test/#{Torba::Test::RAILS_VERSION}/public/assets"
|
|
7
|
+
rm_rf "test/#{Torba::Test::RAILS_VERSION}/Gemfile.lock"
|
|
6
8
|
sh "bundle install --gemfile=test/#{Torba::Test::RAILS_VERSION}/Gemfile #{"--path=vendor/bundle" if ENV["TRAVIS"]}"
|
|
7
9
|
$LOAD_PATH.unshift("test")
|
|
8
10
|
require_relative "test/acceptance_test"
|
data/torba-rails.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "torba-rails"
|
|
3
|
-
spec.version = "1.0.
|
|
3
|
+
spec.version = "1.0.3"
|
|
4
4
|
spec.authors = ["Andrii Malyshko"]
|
|
5
5
|
spec.email = ["mail@nashbridges.me"]
|
|
6
6
|
spec.description = "Torba + Rails integration"
|
|
@@ -8,16 +8,15 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.homepage = "https://github.com/torba-rb/torba-rails"
|
|
9
9
|
spec.license = "MIT"
|
|
10
10
|
|
|
11
|
-
spec.files = `git ls-files`.split($/)
|
|
11
|
+
spec.files = `git ls-files`.split($/).grep_v(%r{^test/})
|
|
12
12
|
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
13
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
14
13
|
spec.require_paths = ["lib"]
|
|
15
14
|
|
|
16
15
|
spec.add_dependency "torba", "~> 1.0"
|
|
17
16
|
spec.add_dependency "railties", ">= 3.2"
|
|
18
17
|
|
|
19
|
-
spec.add_development_dependency "bundler"
|
|
20
|
-
spec.add_development_dependency "rake"
|
|
18
|
+
spec.add_development_dependency "bundler"
|
|
19
|
+
spec.add_development_dependency "rake"
|
|
21
20
|
spec.add_development_dependency "minitest", "~> 5.4"
|
|
22
21
|
spec.add_development_dependency "assert_dirs_equal", "~> 0.3"
|
|
23
22
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: torba-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrii Malyshko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: torba
|
|
@@ -42,30 +42,30 @@ dependencies:
|
|
|
42
42
|
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rake
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - "
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
61
|
+
version: '0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- - "
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
68
|
+
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: minitest
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -113,156 +113,6 @@ files:
|
|
|
113
113
|
- Rakefile
|
|
114
114
|
- lib/torba-rails.rb
|
|
115
115
|
- lib/torba/rails.rb
|
|
116
|
-
- test/3.2/Gemfile
|
|
117
|
-
- test/3.2/Rakefile
|
|
118
|
-
- test/3.2/Torbafile
|
|
119
|
-
- test/3.2/app/assets/javascripts/application.js
|
|
120
|
-
- test/3.2/app/assets/stylesheets/application.scss
|
|
121
|
-
- test/3.2/app/controllers/application_controller.rb
|
|
122
|
-
- test/3.2/app/helpers/application_helper.rb
|
|
123
|
-
- test/3.2/app/views/layouts/application.html.erb
|
|
124
|
-
- test/3.2/bin/rails
|
|
125
|
-
- test/3.2/config.ru
|
|
126
|
-
- test/3.2/config/application.rb
|
|
127
|
-
- test/3.2/config/boot.rb
|
|
128
|
-
- test/3.2/config/environment.rb
|
|
129
|
-
- test/3.2/config/environments/development.rb
|
|
130
|
-
- test/3.2/config/environments/production.rb
|
|
131
|
-
- test/3.2/config/environments/test.rb
|
|
132
|
-
- test/3.2/config/initializers/backtrace_silencers.rb
|
|
133
|
-
- test/3.2/config/initializers/secret_token.rb
|
|
134
|
-
- test/3.2/config/initializers/wrap_parameters.rb
|
|
135
|
-
- test/3.2/config/locales/en.yml
|
|
136
|
-
- test/3.2/config/routes.rb
|
|
137
|
-
- test/3.2/script/rails
|
|
138
|
-
- test/4.1/Gemfile
|
|
139
|
-
- test/4.1/Rakefile
|
|
140
|
-
- test/4.1/Torbafile
|
|
141
|
-
- test/4.1/app/assets/javascripts/application.js
|
|
142
|
-
- test/4.1/app/assets/stylesheets/application.scss
|
|
143
|
-
- test/4.1/app/controllers/application_controller.rb
|
|
144
|
-
- test/4.1/app/helpers/application_helper.rb
|
|
145
|
-
- test/4.1/app/views/layouts/application.html.erb
|
|
146
|
-
- test/4.1/bin/bundle
|
|
147
|
-
- test/4.1/bin/rails
|
|
148
|
-
- test/4.1/bin/rake
|
|
149
|
-
- test/4.1/config.ru
|
|
150
|
-
- test/4.1/config/application.rb
|
|
151
|
-
- test/4.1/config/boot.rb
|
|
152
|
-
- test/4.1/config/environment.rb
|
|
153
|
-
- test/4.1/config/environments/development.rb
|
|
154
|
-
- test/4.1/config/environments/production.rb
|
|
155
|
-
- test/4.1/config/environments/test.rb
|
|
156
|
-
- test/4.1/config/initializers/assets.rb
|
|
157
|
-
- test/4.1/config/initializers/cookies_serializer.rb
|
|
158
|
-
- test/4.1/config/initializers/filter_parameter_logging.rb
|
|
159
|
-
- test/4.1/config/initializers/session_store.rb
|
|
160
|
-
- test/4.1/config/initializers/wrap_parameters.rb
|
|
161
|
-
- test/4.1/config/locales/en.yml
|
|
162
|
-
- test/4.1/config/routes.rb
|
|
163
|
-
- test/4.1/config/secrets.yml
|
|
164
|
-
- test/4.2/Gemfile
|
|
165
|
-
- test/4.2/Rakefile
|
|
166
|
-
- test/4.2/Torbafile
|
|
167
|
-
- test/4.2/app/assets/javascripts/application.js
|
|
168
|
-
- test/4.2/app/assets/stylesheets/application.scss
|
|
169
|
-
- test/4.2/app/controllers/application_controller.rb
|
|
170
|
-
- test/4.2/app/helpers/application_helper.rb
|
|
171
|
-
- test/4.2/app/views/layouts/application.html.erb
|
|
172
|
-
- test/4.2/bin/rails
|
|
173
|
-
- test/4.2/config.ru
|
|
174
|
-
- test/4.2/config/application.rb
|
|
175
|
-
- test/4.2/config/boot.rb
|
|
176
|
-
- test/4.2/config/environment.rb
|
|
177
|
-
- test/4.2/config/environments/development.rb
|
|
178
|
-
- test/4.2/config/environments/production.rb
|
|
179
|
-
- test/4.2/config/environments/test.rb
|
|
180
|
-
- test/4.2/config/initializers/assets.rb
|
|
181
|
-
- test/4.2/config/initializers/cookies_serializer.rb
|
|
182
|
-
- test/4.2/config/initializers/filter_parameter_logging.rb
|
|
183
|
-
- test/4.2/config/initializers/session_store.rb
|
|
184
|
-
- test/4.2/config/initializers/wrap_parameters.rb
|
|
185
|
-
- test/4.2/config/locales/en.yml
|
|
186
|
-
- test/4.2/config/routes.rb
|
|
187
|
-
- test/4.2/config/secrets.yml
|
|
188
|
-
- test/5.0/Gemfile
|
|
189
|
-
- test/5.0/Rakefile
|
|
190
|
-
- test/5.0/Torbafile
|
|
191
|
-
- test/5.0/app/assets/javascripts/application.js
|
|
192
|
-
- test/5.0/app/assets/stylesheets/application.scss
|
|
193
|
-
- test/5.0/app/controllers/application_controller.rb
|
|
194
|
-
- test/5.0/app/helpers/application_helper.rb
|
|
195
|
-
- test/5.0/app/views/layouts/application.html.erb
|
|
196
|
-
- test/5.0/bin/rails
|
|
197
|
-
- test/5.0/config.ru
|
|
198
|
-
- test/5.0/config/application.rb
|
|
199
|
-
- test/5.0/config/boot.rb
|
|
200
|
-
- test/5.0/config/cable.yml
|
|
201
|
-
- test/5.0/config/environment.rb
|
|
202
|
-
- test/5.0/config/environments/development.rb
|
|
203
|
-
- test/5.0/config/environments/production.rb
|
|
204
|
-
- test/5.0/config/environments/test.rb
|
|
205
|
-
- test/5.0/config/initializers/assets.rb
|
|
206
|
-
- test/5.0/config/initializers/cookies_serializer.rb
|
|
207
|
-
- test/5.0/config/initializers/filter_parameter_logging.rb
|
|
208
|
-
- test/5.0/config/initializers/per_form_csrf_tokens.rb
|
|
209
|
-
- test/5.0/config/initializers/request_forgery_protection.rb
|
|
210
|
-
- test/5.0/config/initializers/session_store.rb
|
|
211
|
-
- test/5.0/config/initializers/wrap_parameters.rb
|
|
212
|
-
- test/5.0/config/locales/en.yml
|
|
213
|
-
- test/5.0/config/puma.rb
|
|
214
|
-
- test/5.0/config/routes.rb
|
|
215
|
-
- test/5.0/config/secrets.yml
|
|
216
|
-
- test/5.0/db/seeds.rb
|
|
217
|
-
- test/5.1/.gitignore
|
|
218
|
-
- test/5.1/Gemfile
|
|
219
|
-
- test/5.1/Rakefile
|
|
220
|
-
- test/5.1/Torbafile
|
|
221
|
-
- test/5.1/app/assets/config/manifest.js
|
|
222
|
-
- test/5.1/app/assets/javascripts/application.js
|
|
223
|
-
- test/5.1/app/assets/stylesheets/application.scss
|
|
224
|
-
- test/5.1/app/controllers/application_controller.rb
|
|
225
|
-
- test/5.1/app/helpers/application_helper.rb
|
|
226
|
-
- test/5.1/app/views/layouts/application.html.erb
|
|
227
|
-
- test/5.1/bin/rails
|
|
228
|
-
- test/5.1/config.ru
|
|
229
|
-
- test/5.1/config/application.rb
|
|
230
|
-
- test/5.1/config/boot.rb
|
|
231
|
-
- test/5.1/config/environment.rb
|
|
232
|
-
- test/5.1/config/environments/development.rb
|
|
233
|
-
- test/5.1/config/environments/production.rb
|
|
234
|
-
- test/5.1/config/environments/test.rb
|
|
235
|
-
- test/5.1/config/initializers/application_controller_renderer.rb
|
|
236
|
-
- test/5.1/config/initializers/assets.rb
|
|
237
|
-
- test/5.1/config/initializers/backtrace_silencers.rb
|
|
238
|
-
- test/5.1/config/initializers/cookies_serializer.rb
|
|
239
|
-
- test/5.1/config/initializers/filter_parameter_logging.rb
|
|
240
|
-
- test/5.1/config/initializers/inflections.rb
|
|
241
|
-
- test/5.1/config/initializers/mime_types.rb
|
|
242
|
-
- test/5.1/config/initializers/wrap_parameters.rb
|
|
243
|
-
- test/5.1/config/locales/en.yml
|
|
244
|
-
- test/5.1/config/routes.rb
|
|
245
|
-
- test/5.1/config/secrets.yml
|
|
246
|
-
- test/Torbafile
|
|
247
|
-
- test/acceptance_test.rb
|
|
248
|
-
- test/application.js
|
|
249
|
-
- test/application.scss
|
|
250
|
-
- test/compiled_assets/3.2/application-%2A.css
|
|
251
|
-
- test/compiled_assets/3.2/application-%2A.js
|
|
252
|
-
- test/compiled_assets/3.2/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png
|
|
253
|
-
- test/compiled_assets/3.2/trumbowyg/icons-2x-%2A.png
|
|
254
|
-
- test/compiled_assets/4.1/application-%2A.css
|
|
255
|
-
- test/compiled_assets/4.1/application-%2A.js
|
|
256
|
-
- test/compiled_assets/4.1/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png
|
|
257
|
-
- test/compiled_assets/4.1/trumbowyg/icons-2x-%2A.png
|
|
258
|
-
- test/compiled_assets/4.2+/application-%2A.css
|
|
259
|
-
- test/compiled_assets/4.2+/application-%2A.js
|
|
260
|
-
- test/compiled_assets/4.2+/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png
|
|
261
|
-
- test/compiled_assets/4.2+/trumbowyg/icons-2x-%2A.png
|
|
262
|
-
- test/environment.rb
|
|
263
|
-
- test/rake_injector/lib/rake_injector.rb
|
|
264
|
-
- test/rake_injector/rake_injector.gemspec
|
|
265
|
-
- test/test_helper.rb
|
|
266
116
|
- torba-rails.gemspec
|
|
267
117
|
homepage: https://github.com/torba-rb/torba-rails
|
|
268
118
|
licenses:
|
|
@@ -283,159 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
283
133
|
- !ruby/object:Gem::Version
|
|
284
134
|
version: '0'
|
|
285
135
|
requirements: []
|
|
286
|
-
|
|
287
|
-
rubygems_version: 2.6.14
|
|
136
|
+
rubygems_version: 3.1.6
|
|
288
137
|
signing_key:
|
|
289
138
|
specification_version: 4
|
|
290
139
|
summary: Torba + Rails integration
|
|
291
|
-
test_files:
|
|
292
|
-
- test/3.2/Gemfile
|
|
293
|
-
- test/3.2/Rakefile
|
|
294
|
-
- test/3.2/Torbafile
|
|
295
|
-
- test/3.2/app/assets/javascripts/application.js
|
|
296
|
-
- test/3.2/app/assets/stylesheets/application.scss
|
|
297
|
-
- test/3.2/app/controllers/application_controller.rb
|
|
298
|
-
- test/3.2/app/helpers/application_helper.rb
|
|
299
|
-
- test/3.2/app/views/layouts/application.html.erb
|
|
300
|
-
- test/3.2/bin/rails
|
|
301
|
-
- test/3.2/config.ru
|
|
302
|
-
- test/3.2/config/application.rb
|
|
303
|
-
- test/3.2/config/boot.rb
|
|
304
|
-
- test/3.2/config/environment.rb
|
|
305
|
-
- test/3.2/config/environments/development.rb
|
|
306
|
-
- test/3.2/config/environments/production.rb
|
|
307
|
-
- test/3.2/config/environments/test.rb
|
|
308
|
-
- test/3.2/config/initializers/backtrace_silencers.rb
|
|
309
|
-
- test/3.2/config/initializers/secret_token.rb
|
|
310
|
-
- test/3.2/config/initializers/wrap_parameters.rb
|
|
311
|
-
- test/3.2/config/locales/en.yml
|
|
312
|
-
- test/3.2/config/routes.rb
|
|
313
|
-
- test/3.2/script/rails
|
|
314
|
-
- test/4.1/Gemfile
|
|
315
|
-
- test/4.1/Rakefile
|
|
316
|
-
- test/4.1/Torbafile
|
|
317
|
-
- test/4.1/app/assets/javascripts/application.js
|
|
318
|
-
- test/4.1/app/assets/stylesheets/application.scss
|
|
319
|
-
- test/4.1/app/controllers/application_controller.rb
|
|
320
|
-
- test/4.1/app/helpers/application_helper.rb
|
|
321
|
-
- test/4.1/app/views/layouts/application.html.erb
|
|
322
|
-
- test/4.1/bin/bundle
|
|
323
|
-
- test/4.1/bin/rails
|
|
324
|
-
- test/4.1/bin/rake
|
|
325
|
-
- test/4.1/config.ru
|
|
326
|
-
- test/4.1/config/application.rb
|
|
327
|
-
- test/4.1/config/boot.rb
|
|
328
|
-
- test/4.1/config/environment.rb
|
|
329
|
-
- test/4.1/config/environments/development.rb
|
|
330
|
-
- test/4.1/config/environments/production.rb
|
|
331
|
-
- test/4.1/config/environments/test.rb
|
|
332
|
-
- test/4.1/config/initializers/assets.rb
|
|
333
|
-
- test/4.1/config/initializers/cookies_serializer.rb
|
|
334
|
-
- test/4.1/config/initializers/filter_parameter_logging.rb
|
|
335
|
-
- test/4.1/config/initializers/session_store.rb
|
|
336
|
-
- test/4.1/config/initializers/wrap_parameters.rb
|
|
337
|
-
- test/4.1/config/locales/en.yml
|
|
338
|
-
- test/4.1/config/routes.rb
|
|
339
|
-
- test/4.1/config/secrets.yml
|
|
340
|
-
- test/4.2/Gemfile
|
|
341
|
-
- test/4.2/Rakefile
|
|
342
|
-
- test/4.2/Torbafile
|
|
343
|
-
- test/4.2/app/assets/javascripts/application.js
|
|
344
|
-
- test/4.2/app/assets/stylesheets/application.scss
|
|
345
|
-
- test/4.2/app/controllers/application_controller.rb
|
|
346
|
-
- test/4.2/app/helpers/application_helper.rb
|
|
347
|
-
- test/4.2/app/views/layouts/application.html.erb
|
|
348
|
-
- test/4.2/bin/rails
|
|
349
|
-
- test/4.2/config.ru
|
|
350
|
-
- test/4.2/config/application.rb
|
|
351
|
-
- test/4.2/config/boot.rb
|
|
352
|
-
- test/4.2/config/environment.rb
|
|
353
|
-
- test/4.2/config/environments/development.rb
|
|
354
|
-
- test/4.2/config/environments/production.rb
|
|
355
|
-
- test/4.2/config/environments/test.rb
|
|
356
|
-
- test/4.2/config/initializers/assets.rb
|
|
357
|
-
- test/4.2/config/initializers/cookies_serializer.rb
|
|
358
|
-
- test/4.2/config/initializers/filter_parameter_logging.rb
|
|
359
|
-
- test/4.2/config/initializers/session_store.rb
|
|
360
|
-
- test/4.2/config/initializers/wrap_parameters.rb
|
|
361
|
-
- test/4.2/config/locales/en.yml
|
|
362
|
-
- test/4.2/config/routes.rb
|
|
363
|
-
- test/4.2/config/secrets.yml
|
|
364
|
-
- test/5.0/Gemfile
|
|
365
|
-
- test/5.0/Rakefile
|
|
366
|
-
- test/5.0/Torbafile
|
|
367
|
-
- test/5.0/app/assets/javascripts/application.js
|
|
368
|
-
- test/5.0/app/assets/stylesheets/application.scss
|
|
369
|
-
- test/5.0/app/controllers/application_controller.rb
|
|
370
|
-
- test/5.0/app/helpers/application_helper.rb
|
|
371
|
-
- test/5.0/app/views/layouts/application.html.erb
|
|
372
|
-
- test/5.0/bin/rails
|
|
373
|
-
- test/5.0/config.ru
|
|
374
|
-
- test/5.0/config/application.rb
|
|
375
|
-
- test/5.0/config/boot.rb
|
|
376
|
-
- test/5.0/config/cable.yml
|
|
377
|
-
- test/5.0/config/environment.rb
|
|
378
|
-
- test/5.0/config/environments/development.rb
|
|
379
|
-
- test/5.0/config/environments/production.rb
|
|
380
|
-
- test/5.0/config/environments/test.rb
|
|
381
|
-
- test/5.0/config/initializers/assets.rb
|
|
382
|
-
- test/5.0/config/initializers/cookies_serializer.rb
|
|
383
|
-
- test/5.0/config/initializers/filter_parameter_logging.rb
|
|
384
|
-
- test/5.0/config/initializers/per_form_csrf_tokens.rb
|
|
385
|
-
- test/5.0/config/initializers/request_forgery_protection.rb
|
|
386
|
-
- test/5.0/config/initializers/session_store.rb
|
|
387
|
-
- test/5.0/config/initializers/wrap_parameters.rb
|
|
388
|
-
- test/5.0/config/locales/en.yml
|
|
389
|
-
- test/5.0/config/puma.rb
|
|
390
|
-
- test/5.0/config/routes.rb
|
|
391
|
-
- test/5.0/config/secrets.yml
|
|
392
|
-
- test/5.0/db/seeds.rb
|
|
393
|
-
- test/5.1/.gitignore
|
|
394
|
-
- test/5.1/Gemfile
|
|
395
|
-
- test/5.1/Rakefile
|
|
396
|
-
- test/5.1/Torbafile
|
|
397
|
-
- test/5.1/app/assets/config/manifest.js
|
|
398
|
-
- test/5.1/app/assets/javascripts/application.js
|
|
399
|
-
- test/5.1/app/assets/stylesheets/application.scss
|
|
400
|
-
- test/5.1/app/controllers/application_controller.rb
|
|
401
|
-
- test/5.1/app/helpers/application_helper.rb
|
|
402
|
-
- test/5.1/app/views/layouts/application.html.erb
|
|
403
|
-
- test/5.1/bin/rails
|
|
404
|
-
- test/5.1/config.ru
|
|
405
|
-
- test/5.1/config/application.rb
|
|
406
|
-
- test/5.1/config/boot.rb
|
|
407
|
-
- test/5.1/config/environment.rb
|
|
408
|
-
- test/5.1/config/environments/development.rb
|
|
409
|
-
- test/5.1/config/environments/production.rb
|
|
410
|
-
- test/5.1/config/environments/test.rb
|
|
411
|
-
- test/5.1/config/initializers/application_controller_renderer.rb
|
|
412
|
-
- test/5.1/config/initializers/assets.rb
|
|
413
|
-
- test/5.1/config/initializers/backtrace_silencers.rb
|
|
414
|
-
- test/5.1/config/initializers/cookies_serializer.rb
|
|
415
|
-
- test/5.1/config/initializers/filter_parameter_logging.rb
|
|
416
|
-
- test/5.1/config/initializers/inflections.rb
|
|
417
|
-
- test/5.1/config/initializers/mime_types.rb
|
|
418
|
-
- test/5.1/config/initializers/wrap_parameters.rb
|
|
419
|
-
- test/5.1/config/locales/en.yml
|
|
420
|
-
- test/5.1/config/routes.rb
|
|
421
|
-
- test/5.1/config/secrets.yml
|
|
422
|
-
- test/Torbafile
|
|
423
|
-
- test/acceptance_test.rb
|
|
424
|
-
- test/application.js
|
|
425
|
-
- test/application.scss
|
|
426
|
-
- test/compiled_assets/3.2/application-%2A.css
|
|
427
|
-
- test/compiled_assets/3.2/application-%2A.js
|
|
428
|
-
- test/compiled_assets/3.2/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png
|
|
429
|
-
- test/compiled_assets/3.2/trumbowyg/icons-2x-%2A.png
|
|
430
|
-
- test/compiled_assets/4.1/application-%2A.css
|
|
431
|
-
- test/compiled_assets/4.1/application-%2A.js
|
|
432
|
-
- test/compiled_assets/4.1/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png
|
|
433
|
-
- test/compiled_assets/4.1/trumbowyg/icons-2x-%2A.png
|
|
434
|
-
- test/compiled_assets/4.2+/application-%2A.css
|
|
435
|
-
- test/compiled_assets/4.2+/application-%2A.js
|
|
436
|
-
- test/compiled_assets/4.2+/trumbowyg/icons-%3F%3F%5B%5E-%5D%2A.png
|
|
437
|
-
- test/compiled_assets/4.2+/trumbowyg/icons-2x-%2A.png
|
|
438
|
-
- test/environment.rb
|
|
439
|
-
- test/rake_injector/lib/rake_injector.rb
|
|
440
|
-
- test/rake_injector/rake_injector.gemspec
|
|
441
|
-
- test/test_helper.rb
|
|
140
|
+
test_files: []
|
data/test/3.2/Gemfile
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
source 'https://rubygems.org'
|
|
2
|
-
|
|
3
|
-
gem 'rails', '3.2.22.5'
|
|
4
|
-
gem 'torba-rails', path: '../..'
|
|
5
|
-
gem 'rake_injector', path: '../rake_injector'
|
|
6
|
-
|
|
7
|
-
# Gems used only for assets and not required
|
|
8
|
-
# in production environments by default.
|
|
9
|
-
group :assets do
|
|
10
|
-
gem 'sass-rails', '~> 3.2.3'
|
|
11
|
-
gem 'coffee-rails', '~> 3.2.1'
|
|
12
|
-
gem 'uglifier', '>= 1.0.3'
|
|
13
|
-
end
|
data/test/3.2/Rakefile
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env rake
|
|
2
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
3
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
4
|
-
|
|
5
|
-
require File.expand_path('../config/application', __FILE__)
|
|
6
|
-
|
|
7
|
-
TorbaTest::Application.load_tasks
|
data/test/3.2/Torbafile
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
test/3.2/../Torbafile
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
test/3.2/app/assets/javascripts/../../../../application.js
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
test/3.2/app/assets/stylesheets/../../../../application.scss
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>TorbaTest</title>
|
|
5
|
-
<%= stylesheet_link_tag "application", :media => "all" %>
|
|
6
|
-
<%= javascript_include_tag "application" %>
|
|
7
|
-
<%= csrf_meta_tags %>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
|
|
11
|
-
<%= yield %>
|
|
12
|
-
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|
data/test/3.2/bin/rails
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
test/3.2/bin/../script/rails
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
|
2
|
-
|
|
3
|
-
require "sprockets/railtie"
|
|
4
|
-
|
|
5
|
-
if defined?(Bundler)
|
|
6
|
-
# If you precompile assets before deploying to production, use this line
|
|
7
|
-
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
|
8
|
-
# If you want your assets lazily compiled in production, use this line
|
|
9
|
-
# Bundler.require(:default, :assets, Rails.env)
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
module TorbaTest
|
|
13
|
-
class Application < Rails::Application
|
|
14
|
-
# Settings in config/environments/* take precedence over those specified here.
|
|
15
|
-
# Application configuration should go into files in config/initializers
|
|
16
|
-
# -- all .rb files in that directory are automatically loaded.
|
|
17
|
-
|
|
18
|
-
# Custom directories with classes and modules you want to be autoloadable.
|
|
19
|
-
# config.autoload_paths += %W(#{config.root}/extras)
|
|
20
|
-
|
|
21
|
-
# Only load the plugins named here, in the order given (default is alphabetical).
|
|
22
|
-
# :all can be used as a placeholder for all plugins not explicitly named.
|
|
23
|
-
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
|
24
|
-
|
|
25
|
-
# Activate observers that should always be running.
|
|
26
|
-
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
|
27
|
-
|
|
28
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
|
29
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
|
30
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
|
31
|
-
|
|
32
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
33
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
34
|
-
# config.i18n.default_locale = :de
|
|
35
|
-
|
|
36
|
-
# Configure the default encoding used in templates for Ruby 1.9.
|
|
37
|
-
config.encoding = "utf-8"
|
|
38
|
-
|
|
39
|
-
# Configure sensitive parameters which will be filtered from the log file.
|
|
40
|
-
config.filter_parameters += [:password]
|
|
41
|
-
|
|
42
|
-
# Enable escaping HTML in JSON.
|
|
43
|
-
config.active_support.escape_html_entities_in_json = true
|
|
44
|
-
|
|
45
|
-
# Use SQL instead of Active Record's schema dumper when creating the database.
|
|
46
|
-
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
|
47
|
-
# like if you have constraints or database-specific column types
|
|
48
|
-
# config.active_record.schema_format = :sql
|
|
49
|
-
|
|
50
|
-
# Enforce whitelist mode for mass assignment.
|
|
51
|
-
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
|
52
|
-
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
|
53
|
-
# parameters by using an attr_accessible or attr_protected declaration.
|
|
54
|
-
# config.active_record.whitelist_attributes = true
|
|
55
|
-
|
|
56
|
-
# Enable the asset pipeline
|
|
57
|
-
config.assets.enabled = true
|
|
58
|
-
|
|
59
|
-
# Version of your assets, change this if you want to expire all your assets
|
|
60
|
-
config.assets.version = '1.0'
|
|
61
|
-
end
|
|
62
|
-
end
|