torba-rails 1.0.0 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -1
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +35 -3
  5. data/CHANGELOG.md +20 -0
  6. data/CONTRIBUTING.md +7 -1
  7. data/README.md +32 -1
  8. data/Rakefile +11 -17
  9. data/lib/torba/rails.rb +8 -4
  10. data/torba-rails.gemspec +5 -6
  11. metadata +15 -198
  12. data/test/3.2/Gemfile +0 -12
  13. data/test/3.2/Gemfile.lock +0 -116
  14. data/test/3.2/Rakefile +0 -7
  15. data/test/3.2/Torbafile +0 -8
  16. data/test/3.2/app/assets/javascripts/application.js +0 -2
  17. data/test/3.2/app/assets/stylesheets/application.scss +0 -6
  18. data/test/3.2/app/controllers/application_controller.rb +0 -3
  19. data/test/3.2/app/helpers/application_helper.rb +0 -2
  20. data/test/3.2/app/views/layouts/application.html.erb +0 -14
  21. data/test/3.2/bin/rails +0 -6
  22. data/test/3.2/config/application.rb +0 -62
  23. data/test/3.2/config/boot.rb +0 -6
  24. data/test/3.2/config/environment.rb +0 -5
  25. data/test/3.2/config/environments/development.rb +0 -27
  26. data/test/3.2/config/environments/production.rb +0 -64
  27. data/test/3.2/config/environments/test.rb +0 -29
  28. data/test/3.2/config/initializers/backtrace_silencers.rb +0 -7
  29. data/test/3.2/config/initializers/secret_token.rb +0 -7
  30. data/test/3.2/config/initializers/wrap_parameters.rb +0 -10
  31. data/test/3.2/config/locales/en.yml +0 -5
  32. data/test/3.2/config/routes.rb +0 -58
  33. data/test/3.2/config.ru +0 -4
  34. data/test/3.2/script/rails +0 -6
  35. data/test/4.2/Gemfile +0 -6
  36. data/test/4.2/Gemfile.lock +0 -128
  37. data/test/4.2/Rakefile +0 -6
  38. data/test/4.2/Torbafile +0 -8
  39. data/test/4.2/app/assets/javascripts/application.js +0 -2
  40. data/test/4.2/app/assets/stylesheets/application.scss +0 -6
  41. data/test/4.2/app/controllers/application_controller.rb +0 -5
  42. data/test/4.2/app/helpers/application_helper.rb +0 -2
  43. data/test/4.2/app/views/layouts/application.html.erb +0 -13
  44. data/test/4.2/bin/rails +0 -4
  45. data/test/4.2/config/application.rb +0 -25
  46. data/test/4.2/config/boot.rb +0 -3
  47. data/test/4.2/config/environment.rb +0 -5
  48. data/test/4.2/config/environments/development.rb +0 -35
  49. data/test/4.2/config/environments/production.rb +0 -76
  50. data/test/4.2/config/environments/test.rb +0 -37
  51. data/test/4.2/config/initializers/assets.rb +0 -11
  52. data/test/4.2/config/initializers/cookies_serializer.rb +0 -3
  53. data/test/4.2/config/initializers/filter_parameter_logging.rb +0 -4
  54. data/test/4.2/config/initializers/session_store.rb +0 -3
  55. data/test/4.2/config/initializers/wrap_parameters.rb +0 -9
  56. data/test/4.2/config/locales/en.yml +0 -23
  57. data/test/4.2/config/routes.rb +0 -56
  58. data/test/4.2/config/secrets.yml +0 -22
  59. data/test/4.2/config.ru +0 -4
  60. data/test/5.0/Gemfile +0 -6
  61. data/test/5.0/Gemfile.lock +0 -138
  62. data/test/5.0/Rakefile +0 -6
  63. data/test/5.0/Torbafile +0 -8
  64. data/test/5.0/app/assets/javascripts/application.js +0 -2
  65. data/test/5.0/app/assets/stylesheets/application.scss +0 -6
  66. data/test/5.0/app/controllers/application_controller.rb +0 -5
  67. data/test/5.0/app/helpers/application_helper.rb +0 -2
  68. data/test/5.0/app/views/layouts/application.html.erb +0 -13
  69. data/test/5.0/bin/rails +0 -4
  70. data/test/5.0/config/application.rb +0 -17
  71. data/test/5.0/config/boot.rb +0 -3
  72. data/test/5.0/config/cable.yml +0 -10
  73. data/test/5.0/config/environment.rb +0 -5
  74. data/test/5.0/config/environments/development.rb +0 -52
  75. data/test/5.0/config/environments/production.rb +0 -79
  76. data/test/5.0/config/environments/test.rb +0 -36
  77. data/test/5.0/config/initializers/assets.rb +0 -11
  78. data/test/5.0/config/initializers/cookies_serializer.rb +0 -5
  79. data/test/5.0/config/initializers/filter_parameter_logging.rb +0 -4
  80. data/test/5.0/config/initializers/per_form_csrf_tokens.rb +0 -4
  81. data/test/5.0/config/initializers/request_forgery_protection.rb +0 -4
  82. data/test/5.0/config/initializers/session_store.rb +0 -3
  83. data/test/5.0/config/initializers/wrap_parameters.rb +0 -14
  84. data/test/5.0/config/locales/en.yml +0 -23
  85. data/test/5.0/config/puma.rb +0 -47
  86. data/test/5.0/config/routes.rb +0 -6
  87. data/test/5.0/config/secrets.yml +0 -22
  88. data/test/5.0/config.ru +0 -4
  89. data/test/5.0/db/seeds.rb +0 -7
  90. data/test/Torbafile +0 -8
  91. data/test/acceptance_test.rb +0 -68
  92. data/test/application.js +0 -2
  93. data/test/application.scss +0 -6
  94. data/test/compiled_assets/3.2/application-32cc93d3c658f24842cdb4028d7f6a6a.js +0 -1
  95. data/test/compiled_assets/3.2/application-406b208e73b83fe37135274c5157c8e3.css +0 -1
  96. data/test/compiled_assets/3.2/trumbowyg/icons-0b2826fbd974348c269c2b8017a14314.png +0 -0
  97. data/test/compiled_assets/3.2/trumbowyg/icons-2x-cc69d8bc62651602e75c2f7097cf5187.png +0 -0
  98. data/test/compiled_assets/4.2+/application-7cdb22c682ee9bf44774492034be6952becd2c75184c101017152af1476b12a8.css +0 -1
  99. data/test/compiled_assets/4.2+/application-c7e50f0b91ececdd620e1c86789b65677d9bbe0f35ab4717a9a522e6c89a56f9.js +0 -1
  100. data/test/compiled_assets/4.2+/trumbowyg/icons-2x-39fe92cd396082eb94f0c92103537209ba97ffa3079377bbe55fea857abe5341.png +0 -0
  101. data/test/compiled_assets/4.2+/trumbowyg/icons-efc940454e4e764063875def5c909a2f9c8b2c4d2a41c6a98dc41fb111868f1f.png +0 -0
  102. data/test/test_helper.rb +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 01b6c3577cb9d061eb867c3163227e5be3fae9c5
4
- data.tar.gz: bf9f1c67a94004096714ebd28941b094996b57c2
2
+ SHA256:
3
+ metadata.gz: 338250959e7423d910647554015130b3f8b58a2a3c8f2cecb2b52d745b683f8d
4
+ data.tar.gz: 701c5a2f66fd7315a5506af6629a0eaadceb085e31312f95ffdc2ead729e714e
5
5
  SHA512:
6
- metadata.gz: 0bf77c82ea973080c6504224348ddc7d673204158a18856acc18349db95ea71a7ddbbd7271e3ff274981ff8b32b400f9ee3e91f5a8cf6947dda501d0a0098b40
7
- data.tar.gz: b5c494929426b215f47599f41d2b47dc6cf9ccf200f37ddf6583524e1fedd03d9b5d144cb77c5b9c736dd5fe4dbd2049972c86809815b319aa6ec79256df2d0e
6
+ metadata.gz: e4d583229ec9584dd5122420dae816d790220da3acf9e013de0068434370e8912e80f7dce347a2642c9fbcdf4ddf1dd3b0429d96e42f3806c506f6df170ceeff
7
+ data.tar.gz: 862408addf8332fe7fd2fef92a7cdd9bee1ed4f5a2f5a4a67413c00e865c701053c1c1379baf4880e81eb05f72c0e42f95781599fb242a2a1b922c4e7116434c
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
3
+ Gemfile.lock
4
4
  /_yardoc/
5
5
  /coverage/
6
6
  /doc/
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.2
data/.travis.yml CHANGED
@@ -1,4 +1,36 @@
1
+ sudo: false
2
+ cache:
3
+ directories:
4
+ - vendor/bundle
5
+ - test/3.2/vendor/bundle
6
+ - test/4.1/vendor/bundle
7
+ - test/4.2/vendor/bundle
8
+ - test/5.0/vendor/bundle
9
+ - test/5.1/vendor/bundle
10
+ - test/6.1/vendor/bundle
1
11
  language: ruby
2
- rvm:
3
- - 2.2.2
4
- bundler_args: --without doc debug
12
+ bundler_args: --without doc debug --path=vendor/bundle
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
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
@@ -1 +1,21 @@
1
1
  ## Unreleased
2
+
3
+ ## Version 1.0.3
4
+
5
+ ### Enhancements
6
+
7
+ * Test files have been removed from the package to reduce
8
+ file size (and to spend less internet traffic too).
9
+
10
+ ## Version 1.0.2
11
+
12
+ ### Bug fixes
13
+
14
+ * Fix broken Heroku deploy
15
+ * Fix "undefined method `application' for Rake:Module"
16
+
17
+ ## Version 1.0.1
18
+
19
+ ### Bug fixes
20
+
21
+ * Fix `config.assets.paths` were populated too late when precompiling assets.
data/CONTRIBUTING.md CHANGED
@@ -36,7 +36,13 @@
36
36
  ## Running the tests
37
37
 
38
38
  ```
39
- bundle exec rake bundle
39
+ # Runs the test suite against the latest version of Rails.
40
+ bundle exec rake test
41
+
42
+ # Runs the test suite for a specific version of Rails.
43
+ bundle exec rake test RAILS_VERSION=4.2
44
+
45
+ # Runs the test suite for all supported versions of Rails.
40
46
  bundle exec rake test_all
41
47
  ```
42
48
 
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.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
@@ -1,26 +1,20 @@
1
1
  require "bundler/gem_tasks"
2
-
3
- rails_versions = %w[3.2 4.2 5.0]
4
-
5
- task :bundle do
6
- rails_versions.each do |version|
7
- Bundler.with_clean_env do
8
- sh "BUNDLE_GEMFILE=test/#{version}/Gemfile bundle install"
9
- end
10
- end
11
- end
2
+ require_relative "test/environment"
12
3
 
13
4
  task :test do
14
- $LOAD_PATH.unshift("test")
15
- Dir.glob("./test/**/*_test.rb").each { |file| require file}
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"
8
+ sh "bundle install --gemfile=test/#{Torba::Test::RAILS_VERSION}/Gemfile #{"--path=vendor/bundle" if ENV["TRAVIS"]}"
9
+ $LOAD_PATH.unshift("test")
10
+ require_relative "test/acceptance_test"
11
+ end
16
12
  end
17
13
 
18
14
  task :test_all do
19
- rails_versions.each do |version|
20
- Bundler.with_clean_env do
21
- sh "RAILS_VERSION=#{version} bundle exec rake test"
22
- end
15
+ Torba::Test::SUPPORTED_RAILS_VERSIONS.each do |version|
16
+ exit 1 unless sh "bundle exec rake test RAILS_VERSION=#{version}"
23
17
  end
24
18
  end
25
19
 
26
- task :default => [:bundle, :test_all]
20
+ task :default => :test
data/lib/torba/rails.rb CHANGED
@@ -12,8 +12,14 @@ module Torba
12
12
  ENV["RAILS_GROUPS"] == "assets" # Rails 3
13
13
  end
14
14
 
15
+ def self.precompile_assets?
16
+ defined?(Rake.application) && Rake.application.top_level_tasks.include?("assets:precompile")
17
+ end
18
+
15
19
  initializer "torba.assets" do
16
- if Engine.serve_static_files?
20
+ if Engine.precompile_assets?
21
+ Engine.setup
22
+ elsif Engine.serve_static_files?
17
23
  require "torba/verify"
18
24
  Engine.setup
19
25
  end
@@ -21,9 +27,7 @@ module Torba
21
27
 
22
28
  rake_tasks do
23
29
  require "torba/rake_task"
24
- Torba::RakeTask.new("torba:pack", :before => "assets:precompile") do
25
- Engine.setup
26
- end
30
+ Torba::RakeTask.new("torba:pack", :before => "assets:precompile")
27
31
  end
28
32
  end
29
33
  end
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.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", "~> 1.6"
20
- spec.add_development_dependency "rake", "~> 10.0"
18
+ spec.add_development_dependency "bundler"
19
+ spec.add_development_dependency "rake"
21
20
  spec.add_development_dependency "minitest", "~> 5.4"
22
- spec.add_development_dependency "assert_dirs_equal", "~> 0.2"
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.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: 2016-04-10 00:00:00.000000000 Z
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: '1.6'
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: '1.6'
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: '10.0'
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: '10.0'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.2'
89
+ version: '0.3'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.2'
96
+ version: '0.3'
97
97
  description: Torba + Rails integration
98
98
  email:
99
99
  - mail@nashbridges.me
@@ -102,6 +102,7 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
+ - ".ruby-version"
105
106
  - ".travis.yml"
106
107
  - ".yardopts"
107
108
  - CHANGELOG.md
@@ -112,97 +113,6 @@ files:
112
113
  - Rakefile
113
114
  - lib/torba-rails.rb
114
115
  - lib/torba/rails.rb
115
- - test/3.2/Gemfile
116
- - test/3.2/Gemfile.lock
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.2/Gemfile
139
- - test/4.2/Gemfile.lock
140
- - test/4.2/Rakefile
141
- - test/4.2/Torbafile
142
- - test/4.2/app/assets/javascripts/application.js
143
- - test/4.2/app/assets/stylesheets/application.scss
144
- - test/4.2/app/controllers/application_controller.rb
145
- - test/4.2/app/helpers/application_helper.rb
146
- - test/4.2/app/views/layouts/application.html.erb
147
- - test/4.2/bin/rails
148
- - test/4.2/config.ru
149
- - test/4.2/config/application.rb
150
- - test/4.2/config/boot.rb
151
- - test/4.2/config/environment.rb
152
- - test/4.2/config/environments/development.rb
153
- - test/4.2/config/environments/production.rb
154
- - test/4.2/config/environments/test.rb
155
- - test/4.2/config/initializers/assets.rb
156
- - test/4.2/config/initializers/cookies_serializer.rb
157
- - test/4.2/config/initializers/filter_parameter_logging.rb
158
- - test/4.2/config/initializers/session_store.rb
159
- - test/4.2/config/initializers/wrap_parameters.rb
160
- - test/4.2/config/locales/en.yml
161
- - test/4.2/config/routes.rb
162
- - test/4.2/config/secrets.yml
163
- - test/5.0/Gemfile
164
- - test/5.0/Gemfile.lock
165
- - test/5.0/Rakefile
166
- - test/5.0/Torbafile
167
- - test/5.0/app/assets/javascripts/application.js
168
- - test/5.0/app/assets/stylesheets/application.scss
169
- - test/5.0/app/controllers/application_controller.rb
170
- - test/5.0/app/helpers/application_helper.rb
171
- - test/5.0/app/views/layouts/application.html.erb
172
- - test/5.0/bin/rails
173
- - test/5.0/config.ru
174
- - test/5.0/config/application.rb
175
- - test/5.0/config/boot.rb
176
- - test/5.0/config/cable.yml
177
- - test/5.0/config/environment.rb
178
- - test/5.0/config/environments/development.rb
179
- - test/5.0/config/environments/production.rb
180
- - test/5.0/config/environments/test.rb
181
- - test/5.0/config/initializers/assets.rb
182
- - test/5.0/config/initializers/cookies_serializer.rb
183
- - test/5.0/config/initializers/filter_parameter_logging.rb
184
- - test/5.0/config/initializers/per_form_csrf_tokens.rb
185
- - test/5.0/config/initializers/request_forgery_protection.rb
186
- - test/5.0/config/initializers/session_store.rb
187
- - test/5.0/config/initializers/wrap_parameters.rb
188
- - test/5.0/config/locales/en.yml
189
- - test/5.0/config/puma.rb
190
- - test/5.0/config/routes.rb
191
- - test/5.0/config/secrets.yml
192
- - test/5.0/db/seeds.rb
193
- - test/Torbafile
194
- - test/acceptance_test.rb
195
- - test/application.js
196
- - test/application.scss
197
- - test/compiled_assets/3.2/application-32cc93d3c658f24842cdb4028d7f6a6a.js
198
- - test/compiled_assets/3.2/application-406b208e73b83fe37135274c5157c8e3.css
199
- - test/compiled_assets/3.2/trumbowyg/icons-0b2826fbd974348c269c2b8017a14314.png
200
- - test/compiled_assets/3.2/trumbowyg/icons-2x-cc69d8bc62651602e75c2f7097cf5187.png
201
- - test/compiled_assets/4.2+/application-7cdb22c682ee9bf44774492034be6952becd2c75184c101017152af1476b12a8.css
202
- - test/compiled_assets/4.2+/application-c7e50f0b91ececdd620e1c86789b65677d9bbe0f35ab4717a9a522e6c89a56f9.js
203
- - test/compiled_assets/4.2+/trumbowyg/icons-2x-39fe92cd396082eb94f0c92103537209ba97ffa3079377bbe55fea857abe5341.png
204
- - test/compiled_assets/4.2+/trumbowyg/icons-efc940454e4e764063875def5c909a2f9c8b2c4d2a41c6a98dc41fb111868f1f.png
205
- - test/test_helper.rb
206
116
  - torba-rails.gemspec
207
117
  homepage: https://github.com/torba-rb/torba-rails
208
118
  licenses:
@@ -223,101 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
133
  - !ruby/object:Gem::Version
224
134
  version: '0'
225
135
  requirements: []
226
- rubyforge_project:
227
- rubygems_version: 2.4.5.1
136
+ rubygems_version: 3.1.6
228
137
  signing_key:
229
138
  specification_version: 4
230
139
  summary: Torba + Rails integration
231
- test_files:
232
- - test/3.2/Gemfile
233
- - test/3.2/Gemfile.lock
234
- - test/3.2/Rakefile
235
- - test/3.2/Torbafile
236
- - test/3.2/app/assets/javascripts/application.js
237
- - test/3.2/app/assets/stylesheets/application.scss
238
- - test/3.2/app/controllers/application_controller.rb
239
- - test/3.2/app/helpers/application_helper.rb
240
- - test/3.2/app/views/layouts/application.html.erb
241
- - test/3.2/bin/rails
242
- - test/3.2/config.ru
243
- - test/3.2/config/application.rb
244
- - test/3.2/config/boot.rb
245
- - test/3.2/config/environment.rb
246
- - test/3.2/config/environments/development.rb
247
- - test/3.2/config/environments/production.rb
248
- - test/3.2/config/environments/test.rb
249
- - test/3.2/config/initializers/backtrace_silencers.rb
250
- - test/3.2/config/initializers/secret_token.rb
251
- - test/3.2/config/initializers/wrap_parameters.rb
252
- - test/3.2/config/locales/en.yml
253
- - test/3.2/config/routes.rb
254
- - test/3.2/script/rails
255
- - test/4.2/Gemfile
256
- - test/4.2/Gemfile.lock
257
- - test/4.2/Rakefile
258
- - test/4.2/Torbafile
259
- - test/4.2/app/assets/javascripts/application.js
260
- - test/4.2/app/assets/stylesheets/application.scss
261
- - test/4.2/app/controllers/application_controller.rb
262
- - test/4.2/app/helpers/application_helper.rb
263
- - test/4.2/app/views/layouts/application.html.erb
264
- - test/4.2/bin/rails
265
- - test/4.2/config.ru
266
- - test/4.2/config/application.rb
267
- - test/4.2/config/boot.rb
268
- - test/4.2/config/environment.rb
269
- - test/4.2/config/environments/development.rb
270
- - test/4.2/config/environments/production.rb
271
- - test/4.2/config/environments/test.rb
272
- - test/4.2/config/initializers/assets.rb
273
- - test/4.2/config/initializers/cookies_serializer.rb
274
- - test/4.2/config/initializers/filter_parameter_logging.rb
275
- - test/4.2/config/initializers/session_store.rb
276
- - test/4.2/config/initializers/wrap_parameters.rb
277
- - test/4.2/config/locales/en.yml
278
- - test/4.2/config/routes.rb
279
- - test/4.2/config/secrets.yml
280
- - test/5.0/Gemfile
281
- - test/5.0/Gemfile.lock
282
- - test/5.0/Rakefile
283
- - test/5.0/Torbafile
284
- - test/5.0/app/assets/javascripts/application.js
285
- - test/5.0/app/assets/stylesheets/application.scss
286
- - test/5.0/app/controllers/application_controller.rb
287
- - test/5.0/app/helpers/application_helper.rb
288
- - test/5.0/app/views/layouts/application.html.erb
289
- - test/5.0/bin/rails
290
- - test/5.0/config.ru
291
- - test/5.0/config/application.rb
292
- - test/5.0/config/boot.rb
293
- - test/5.0/config/cable.yml
294
- - test/5.0/config/environment.rb
295
- - test/5.0/config/environments/development.rb
296
- - test/5.0/config/environments/production.rb
297
- - test/5.0/config/environments/test.rb
298
- - test/5.0/config/initializers/assets.rb
299
- - test/5.0/config/initializers/cookies_serializer.rb
300
- - test/5.0/config/initializers/filter_parameter_logging.rb
301
- - test/5.0/config/initializers/per_form_csrf_tokens.rb
302
- - test/5.0/config/initializers/request_forgery_protection.rb
303
- - test/5.0/config/initializers/session_store.rb
304
- - test/5.0/config/initializers/wrap_parameters.rb
305
- - test/5.0/config/locales/en.yml
306
- - test/5.0/config/puma.rb
307
- - test/5.0/config/routes.rb
308
- - test/5.0/config/secrets.yml
309
- - test/5.0/db/seeds.rb
310
- - test/Torbafile
311
- - test/acceptance_test.rb
312
- - test/application.js
313
- - test/application.scss
314
- - test/compiled_assets/3.2/application-32cc93d3c658f24842cdb4028d7f6a6a.js
315
- - test/compiled_assets/3.2/application-406b208e73b83fe37135274c5157c8e3.css
316
- - test/compiled_assets/3.2/trumbowyg/icons-0b2826fbd974348c269c2b8017a14314.png
317
- - test/compiled_assets/3.2/trumbowyg/icons-2x-cc69d8bc62651602e75c2f7097cf5187.png
318
- - test/compiled_assets/4.2+/application-7cdb22c682ee9bf44774492034be6952becd2c75184c101017152af1476b12a8.css
319
- - test/compiled_assets/4.2+/application-c7e50f0b91ececdd620e1c86789b65677d9bbe0f35ab4717a9a522e6c89a56f9.js
320
- - test/compiled_assets/4.2+/trumbowyg/icons-2x-39fe92cd396082eb94f0c92103537209ba97ffa3079377bbe55fea857abe5341.png
321
- - test/compiled_assets/4.2+/trumbowyg/icons-efc940454e4e764063875def5c909a2f9c8b2c4d2a41c6a98dc41fb111868f1f.png
322
- - test/test_helper.rb
323
- has_rdoc:
140
+ test_files: []
data/test/3.2/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '3.2.22.2'
4
- gem 'torba-rails', path: '../..'
5
-
6
- # Gems used only for assets and not required
7
- # in production environments by default.
8
- group :assets do
9
- gem 'sass-rails', '~> 3.2.3'
10
- gem 'coffee-rails', '~> 3.2.1'
11
- gem 'uglifier', '>= 1.0.3'
12
- end
@@ -1,116 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- torba-rails (1.0.0)
5
- railties (>= 3.2)
6
- torba (~> 1.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionmailer (3.2.22.2)
12
- actionpack (= 3.2.22.2)
13
- mail (~> 2.5.4)
14
- actionpack (3.2.22.2)
15
- activemodel (= 3.2.22.2)
16
- activesupport (= 3.2.22.2)
17
- builder (~> 3.0.0)
18
- erubis (~> 2.7.0)
19
- journey (~> 1.0.4)
20
- rack (~> 1.4.5)
21
- rack-cache (~> 1.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.2.1)
24
- activemodel (3.2.22.2)
25
- activesupport (= 3.2.22.2)
26
- builder (~> 3.0.0)
27
- activerecord (3.2.22.2)
28
- activemodel (= 3.2.22.2)
29
- activesupport (= 3.2.22.2)
30
- arel (~> 3.0.2)
31
- tzinfo (~> 0.3.29)
32
- activeresource (3.2.22.2)
33
- activemodel (= 3.2.22.2)
34
- activesupport (= 3.2.22.2)
35
- activesupport (3.2.22.2)
36
- i18n (~> 0.6, >= 0.6.4)
37
- multi_json (~> 1.0)
38
- arel (3.0.3)
39
- builder (3.0.4)
40
- coffee-rails (3.2.2)
41
- coffee-script (>= 2.2.0)
42
- railties (~> 3.2.0)
43
- coffee-script (2.4.1)
44
- coffee-script-source
45
- execjs
46
- coffee-script-source (1.10.0)
47
- erubis (2.7.0)
48
- execjs (2.6.0)
49
- hike (1.2.3)
50
- i18n (0.7.0)
51
- journey (1.0.4)
52
- json (1.8.3)
53
- mail (2.5.4)
54
- mime-types (~> 1.16)
55
- treetop (~> 1.4.8)
56
- mime-types (1.25.1)
57
- multi_json (1.11.2)
58
- polyglot (0.3.5)
59
- rack (1.4.7)
60
- rack-cache (1.6.1)
61
- rack (>= 0.4)
62
- rack-ssl (1.3.4)
63
- rack
64
- rack-test (0.6.3)
65
- rack (>= 1.0)
66
- rails (3.2.22.2)
67
- actionmailer (= 3.2.22.2)
68
- actionpack (= 3.2.22.2)
69
- activerecord (= 3.2.22.2)
70
- activeresource (= 3.2.22.2)
71
- activesupport (= 3.2.22.2)
72
- bundler (~> 1.0)
73
- railties (= 3.2.22.2)
74
- railties (3.2.22.2)
75
- actionpack (= 3.2.22.2)
76
- activesupport (= 3.2.22.2)
77
- rack-ssl (~> 1.3.2)
78
- rake (>= 0.8.7)
79
- rdoc (~> 3.4)
80
- thor (>= 0.14.6, < 2.0)
81
- rake (11.1.2)
82
- rdoc (3.12.2)
83
- json (~> 1.4)
84
- sass (3.4.22)
85
- sass-rails (3.2.6)
86
- railties (~> 3.2.0)
87
- sass (>= 3.1.10)
88
- tilt (~> 1.3)
89
- sprockets (2.2.3)
90
- hike (~> 1.2)
91
- multi_json (~> 1.0)
92
- rack (~> 1.0)
93
- tilt (~> 1.1, != 1.3.0)
94
- thor (0.19.1)
95
- tilt (1.4.1)
96
- torba (1.0.0)
97
- thor (~> 0.19.1)
98
- treetop (1.4.15)
99
- polyglot
100
- polyglot (>= 0.3.1)
101
- tzinfo (0.3.48)
102
- uglifier (3.0.0)
103
- execjs (>= 0.3.0, < 3)
104
-
105
- PLATFORMS
106
- ruby
107
-
108
- DEPENDENCIES
109
- coffee-rails (~> 3.2.1)
110
- rails (= 3.2.22.2)
111
- sass-rails (~> 3.2.3)
112
- torba-rails!
113
- uglifier (>= 1.0.3)
114
-
115
- BUNDLED WITH
116
- 1.10.6
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,8 +0,0 @@
1
- gh_release "trumbowyg",
2
- source: "torba-rb/Trumbowyg",
3
- tag: "1.1.6",
4
- import: %w[
5
- dist/trumbowyg.js
6
- dist/ui/trumbowyg.css
7
- dist/ui/images/
8
- ]
@@ -1,2 +0,0 @@
1
- //= require trumbowyg/trumbowyg
2
- //= require_tree .