keynote 1.1.1 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +71 -27
  3. data/{LICENSE → LICENSE.txt} +2 -6
  4. data/README.md +120 -47
  5. data/lib/generators/presenter_generator.rb +16 -24
  6. data/lib/keynote/cache.rb +1 -1
  7. data/lib/keynote/controller.rb +4 -5
  8. data/lib/keynote/core.rb +64 -0
  9. data/lib/keynote/helper.rb +4 -5
  10. data/lib/keynote/inline.rb +51 -109
  11. data/lib/keynote/presenter.rb +13 -19
  12. data/lib/keynote/railtie.rb +7 -24
  13. data/lib/keynote/rumble.rb +21 -12
  14. data/lib/keynote/testing/{minitest_rails.rb → minitest.rb} +1 -2
  15. data/lib/keynote/testing/rspec.rb +5 -5
  16. data/lib/keynote/testing/test_present_method.rb +2 -2
  17. data/lib/keynote/testing/test_unit.rb +1 -1
  18. data/lib/keynote/version.rb +2 -2
  19. data/lib/keynote.rb +7 -65
  20. metadata +80 -94
  21. data/.editorconfig +0 -14
  22. data/.gitignore +0 -18
  23. data/.travis.yml +0 -11
  24. data/.yardopts +0 -4
  25. data/Gemfile +0 -4
  26. data/Rakefile +0 -21
  27. data/keynote.gemspec +0 -37
  28. data/lib/generators/templates/keynote_mini_test_unit.rb +0 -11
  29. data/lib/keynote/testing/minitest_rails.rake +0 -7
  30. data/scenarios/rails31.docker-compose.yml +0 -15
  31. data/scenarios/rails31.dockerfile +0 -5
  32. data/scenarios/rails31.gemfile +0 -7
  33. data/scenarios/rails32.docker-compose.yml +0 -15
  34. data/scenarios/rails32.dockerfile +0 -5
  35. data/scenarios/rails32.gemfile +0 -6
  36. data/scenarios/rails40.docker-compose.yml +0 -15
  37. data/scenarios/rails40.dockerfile +0 -5
  38. data/scenarios/rails40.gemfile +0 -6
  39. data/scenarios/rails41.docker-compose.yml +0 -15
  40. data/scenarios/rails41.dockerfile +0 -5
  41. data/scenarios/rails41.gemfile +0 -6
  42. data/scenarios/rails42.docker-compose.yml +0 -15
  43. data/scenarios/rails42.dockerfile +0 -5
  44. data/scenarios/rails42.gemfile +0 -6
  45. data/scenarios/rails50.docker-compose.yml +0 -15
  46. data/scenarios/rails50.dockerfile +0 -5
  47. data/scenarios/rails50.gemfile +0 -6
  48. data/scenarios/rails51.docker-compose.yml +0 -15
  49. data/scenarios/rails51.dockerfile +0 -5
  50. data/scenarios/rails51.gemfile +0 -6
  51. data/scenarios.yml +0 -25
  52. data/spec/benchmarks.rb +0 -73
  53. data/spec/generator_spec.rb +0 -159
  54. data/spec/helper.rb +0 -90
  55. data/spec/inline_spec.rb +0 -157
  56. data/spec/keynote_spec.rb +0 -130
  57. data/spec/presenter_spec.rb +0 -179
  58. data/spec/railtie_spec.rb +0 -33
  59. data/spec/rumble_spec.rb +0 -277
  60. data/spec/test_case_spec.rb +0 -12
  61. /data/lib/generators/templates/{keynote_mini_test_spec.rb → keynote_mini_test_spec.rb.tt} +0 -0
  62. /data/lib/generators/templates/{keynote_test_unit.rb → keynote_mini_test_unit.rb.tt} +0 -0
  63. /data/lib/generators/templates/{keynote_presenter.rb → keynote_presenter.rb.tt} +0 -0
  64. /data/lib/generators/templates/{keynote_rspec.rb → keynote_rspec.rb.tt} +0 -0
metadata CHANGED
@@ -1,87 +1,116 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keynote
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Fitzgerald
8
- autorequire:
8
+ - Vladimir Dementyev
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2017-07-26 00:00:00.000000000 Z
12
+ date: 2025-01-13 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
- name: rails
15
+ name: actionview
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - - ">="
18
19
  - !ruby/object:Gem::Version
19
- version: 3.1.0
20
+ version: 7.0.0
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - ">="
25
26
  - !ruby/object:Gem::Version
26
- version: 3.1.0
27
+ version: 7.0.0
27
28
  - !ruby/object:Gem::Dependency
28
- name: appraisal
29
+ name: ammeter
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.1'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
29
44
  requirement: !ruby/object:Gem::Requirement
30
45
  requirements:
31
46
  - - ">="
32
47
  - !ruby/object:Gem::Version
33
- version: '0'
48
+ version: '1.15'
34
49
  type: :development
35
50
  prerelease: false
36
51
  version_requirements: !ruby/object:Gem::Requirement
37
52
  requirements:
38
53
  - - ">="
39
54
  - !ruby/object:Gem::Version
40
- version: '0'
55
+ version: '1.15'
41
56
  - !ruby/object:Gem::Dependency
42
- name: minitest
57
+ name: rake
43
58
  requirement: !ruby/object:Gem::Requirement
44
59
  requirements:
45
60
  - - ">="
46
61
  - !ruby/object:Gem::Version
47
- version: '0'
62
+ version: '13.0'
48
63
  type: :development
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
52
67
  - - ">="
53
68
  - !ruby/object:Gem::Version
54
- version: '0'
69
+ version: '13.0'
55
70
  - !ruby/object:Gem::Dependency
56
- name: mocha
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '3.9'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '3.9'
84
+ - !ruby/object:Gem::Dependency
85
+ name: minitest
57
86
  requirement: !ruby/object:Gem::Requirement
58
87
  requirements:
59
88
  - - "~>"
60
89
  - !ruby/object:Gem::Version
61
- version: 1.0.0
90
+ version: '5.0'
62
91
  type: :development
63
92
  prerelease: false
64
93
  version_requirements: !ruby/object:Gem::Requirement
65
94
  requirements:
66
95
  - - "~>"
67
96
  - !ruby/object:Gem::Version
68
- version: 1.0.0
97
+ version: '5.0'
69
98
  - !ruby/object:Gem::Dependency
70
- name: pry
99
+ name: combustion
71
100
  requirement: !ruby/object:Gem::Requirement
72
101
  requirements:
73
102
  - - ">="
74
103
  - !ruby/object:Gem::Version
75
- version: '0'
104
+ version: '1.1'
76
105
  type: :development
77
106
  prerelease: false
78
107
  version_requirements: !ruby/object:Gem::Requirement
79
108
  requirements:
80
109
  - - ">="
81
110
  - !ruby/object:Gem::Version
82
- version: '0'
111
+ version: '1.1'
83
112
  - !ruby/object:Gem::Dependency
84
- name: simplecov
113
+ name: slim
85
114
  requirement: !ruby/object:Gem::Requirement
86
115
  requirements:
87
116
  - - ">="
@@ -95,7 +124,7 @@ dependencies:
95
124
  - !ruby/object:Gem::Version
96
125
  version: '0'
97
126
  - !ruby/object:Gem::Dependency
98
- name: yard
127
+ name: haml
99
128
  requirement: !ruby/object:Gem::Requirement
100
129
  requirements:
101
130
  - - ">="
@@ -109,7 +138,7 @@ dependencies:
109
138
  - !ruby/object:Gem::Version
110
139
  version: '0'
111
140
  - !ruby/object:Gem::Dependency
112
- name: slim
141
+ name: redcarpet
113
142
  requirement: !ruby/object:Gem::Requirement
114
143
  requirements:
115
144
  - - ">="
@@ -123,7 +152,7 @@ dependencies:
123
152
  - !ruby/object:Gem::Version
124
153
  version: '0'
125
154
  - !ruby/object:Gem::Dependency
126
- name: haml
155
+ name: yard
127
156
  requirement: !ruby/object:Gem::Requirement
128
157
  requirements:
129
158
  - - ">="
@@ -137,93 +166,61 @@ dependencies:
137
166
  - !ruby/object:Gem::Version
138
167
  version: '0'
139
168
  - !ruby/object:Gem::Dependency
140
- name: redcarpet
169
+ name: ruby-next
141
170
  requirement: !ruby/object:Gem::Requirement
142
171
  requirements:
143
- - - ">="
172
+ - - "~>"
144
173
  - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
174
+ version: '1.0'
175
+ type: :runtime
147
176
  prerelease: false
148
177
  version_requirements: !ruby/object:Gem::Requirement
149
178
  requirements:
150
- - - ">="
179
+ - - "~>"
151
180
  - !ruby/object:Gem::Version
152
- version: '0'
181
+ version: '1.0'
153
182
  description: " A presenter is an object that encapsulates view logic. Like Rails helpers,
154
183
  presenters help you keep complex logic out of your templates. Keynote provides a
155
184
  consistent interface for defining and instantiating presenters. "
156
185
  email:
157
186
  - rwfitzge@gmail.com
187
+ - dementiev.vm@gmail.com
158
188
  executables: []
159
189
  extensions: []
160
190
  extra_rdoc_files: []
161
191
  files:
162
- - ".editorconfig"
163
- - ".gitignore"
164
- - ".travis.yml"
165
- - ".yardopts"
166
192
  - CHANGELOG.md
167
- - Gemfile
168
- - LICENSE
193
+ - LICENSE.txt
169
194
  - README.md
170
- - Rakefile
171
- - keynote.gemspec
172
195
  - lib/generators/presenter_generator.rb
173
- - lib/generators/templates/keynote_mini_test_spec.rb
174
- - lib/generators/templates/keynote_mini_test_unit.rb
175
- - lib/generators/templates/keynote_presenter.rb
176
- - lib/generators/templates/keynote_rspec.rb
177
- - lib/generators/templates/keynote_test_unit.rb
196
+ - lib/generators/templates/keynote_mini_test_spec.rb.tt
197
+ - lib/generators/templates/keynote_mini_test_unit.rb.tt
198
+ - lib/generators/templates/keynote_presenter.rb.tt
199
+ - lib/generators/templates/keynote_rspec.rb.tt
178
200
  - lib/keynote.rb
179
201
  - lib/keynote/cache.rb
180
202
  - lib/keynote/controller.rb
203
+ - lib/keynote/core.rb
181
204
  - lib/keynote/helper.rb
182
205
  - lib/keynote/inline.rb
183
206
  - lib/keynote/presenter.rb
184
207
  - lib/keynote/railtie.rb
185
208
  - lib/keynote/rumble.rb
186
- - lib/keynote/testing/minitest_rails.rake
187
- - lib/keynote/testing/minitest_rails.rb
209
+ - lib/keynote/testing/minitest.rb
188
210
  - lib/keynote/testing/rspec.rb
189
211
  - lib/keynote/testing/test_present_method.rb
190
212
  - lib/keynote/testing/test_unit.rb
191
213
  - lib/keynote/version.rb
192
- - scenarios.yml
193
- - scenarios/rails31.docker-compose.yml
194
- - scenarios/rails31.dockerfile
195
- - scenarios/rails31.gemfile
196
- - scenarios/rails32.docker-compose.yml
197
- - scenarios/rails32.dockerfile
198
- - scenarios/rails32.gemfile
199
- - scenarios/rails40.docker-compose.yml
200
- - scenarios/rails40.dockerfile
201
- - scenarios/rails40.gemfile
202
- - scenarios/rails41.docker-compose.yml
203
- - scenarios/rails41.dockerfile
204
- - scenarios/rails41.gemfile
205
- - scenarios/rails42.docker-compose.yml
206
- - scenarios/rails42.dockerfile
207
- - scenarios/rails42.gemfile
208
- - scenarios/rails50.docker-compose.yml
209
- - scenarios/rails50.dockerfile
210
- - scenarios/rails50.gemfile
211
- - scenarios/rails51.docker-compose.yml
212
- - scenarios/rails51.dockerfile
213
- - scenarios/rails51.gemfile
214
- - spec/benchmarks.rb
215
- - spec/generator_spec.rb
216
- - spec/helper.rb
217
- - spec/inline_spec.rb
218
- - spec/keynote_spec.rb
219
- - spec/presenter_spec.rb
220
- - spec/railtie_spec.rb
221
- - spec/rumble_spec.rb
222
- - spec/test_case_spec.rb
223
- homepage: https://github.com/rf-/keynote
224
- licenses: []
225
- metadata: {}
226
- post_install_message:
214
+ homepage: https://github.com/evilmartians/keynote
215
+ licenses:
216
+ - MIT
217
+ metadata:
218
+ bug_tracker_uri: https://github.com/evilmartians/keynote/issues
219
+ changelog_uri: https://github.com/evilmartians/keynote/blob/master/CHANGELOG.md
220
+ documentation_uri: https://rubydoc.info/gems/keynote
221
+ homepage_uri: https://github.com/evilmartians/keynote
222
+ source_code_uri: https://github.com/evilmartians/keynote
223
+ post_install_message:
227
224
  rdoc_options: []
228
225
  require_paths:
229
226
  - lib
@@ -231,26 +228,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
228
  requirements:
232
229
  - - ">="
233
230
  - !ruby/object:Gem::Version
234
- version: '0'
231
+ version: '3.0'
235
232
  required_rubygems_version: !ruby/object:Gem::Requirement
236
233
  requirements:
237
234
  - - ">="
238
235
  - !ruby/object:Gem::Version
239
236
  version: '0'
240
237
  requirements: []
241
- rubyforge_project:
242
- rubygems_version: 2.6.8
243
- signing_key:
238
+ rubygems_version: 3.5.22
239
+ signing_key:
244
240
  specification_version: 4
245
- summary: Flexible presenters for Rails.
246
- test_files:
247
- - spec/benchmarks.rb
248
- - spec/generator_spec.rb
249
- - spec/helper.rb
250
- - spec/inline_spec.rb
251
- - spec/keynote_spec.rb
252
- - spec/presenter_spec.rb
253
- - spec/railtie_spec.rb
254
- - spec/rumble_spec.rb
255
- - spec/test_case_spec.rb
256
- has_rdoc:
241
+ summary: Flexible presenters for Rails
242
+ test_files: []
data/.editorconfig DELETED
@@ -1,14 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = space
5
- indent_size = 2
6
- end_of_line = lf
7
- charset = utf-8
8
- trim_trailing_whitespace = true
9
- insert_final_newline = true
10
-
11
- [*.md]
12
- indent_size = 4
13
- trim_trailing_whitespace = false
14
-
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- *emfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- log
data/.travis.yml DELETED
@@ -1,11 +0,0 @@
1
- sudo: required
2
- services:
3
- - docker
4
- before_install:
5
- - wget https://github.com/rf-/roadshow/releases/download/v1.0.0/roadshow-linux64
6
- - chmod +x roadshow-linux64
7
- install: "true" # disable default `bundle install`
8
- script:
9
- - ./roadshow-linux64 run
10
- notifications:
11
- email: false
data/.yardopts DELETED
@@ -1,4 +0,0 @@
1
- --markup markdown
2
- --no-private
3
- --exclude lib/generators
4
- --exclude keynote/testing
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in keynote.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env rake
2
-
3
- require "bundler/gem_tasks"
4
- require "rake/testtask"
5
- require "appraisal"
6
- require "yard"
7
-
8
- Rake::TestTask.new do |t|
9
- t.libs.concat %w(keynote spec)
10
- t.pattern = "spec/*_spec.rb"
11
- end
12
-
13
- YARD::Rake::YardocTask.new do |t|
14
- t.files = ['lib/**/*.rb']
15
- end
16
-
17
- task :benchmark do
18
- exec "ruby -Ilib spec/benchmarks.rb"
19
- end
20
-
21
- task :default => [:test]
data/keynote.gemspec DELETED
@@ -1,37 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/keynote/version', __FILE__)
3
-
4
- Gem::Specification.new do |gem|
5
- gem.authors = ["Ryan Fitzgerald"]
6
- gem.email = ["rwfitzge@gmail.com"]
7
- gem.summary = %q{Flexible presenters for Rails.}
8
- gem.description = %q{
9
- A presenter is an object that encapsulates view logic. Like Rails helpers,
10
- presenters help you keep complex logic out of your templates. Keynote
11
- provides a consistent interface for defining and instantiating presenters.
12
- }.gsub(/\s+/, ' ')
13
- gem.homepage = "https://github.com/rf-/keynote"
14
-
15
- gem.files = `git ls-files`.split($\)
16
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
- gem.name = "keynote"
19
- gem.require_paths = ["lib"]
20
- gem.version = Keynote::VERSION
21
-
22
- gem.add_dependency 'rails', '>= 3.1.0'
23
-
24
- gem.add_development_dependency 'appraisal'
25
- gem.add_development_dependency 'minitest'
26
- gem.add_development_dependency 'mocha', '~> 1.0.0'
27
- gem.add_development_dependency 'pry'
28
- gem.add_development_dependency 'simplecov'
29
- gem.add_development_dependency 'yard'
30
-
31
- gem.add_development_dependency 'slim'
32
- gem.add_development_dependency 'haml'
33
-
34
- unless RbConfig::CONFIG['ruby_install_name'] == 'jruby'
35
- gem.add_development_dependency 'redcarpet'
36
- end
37
- end
@@ -1,11 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- class <%= class_name %>PresenterTest < Keynote::TestCase
4
- setup do
5
- @presenter = present(<%= presenter_name_and_target_list %>)
6
- end
7
-
8
- # test "the truth" do
9
- # assert true
10
- # end
11
- end
@@ -1,7 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- Rails::TestTask.new("test:presenters" => "test:prepare") do |t|
4
- t.pattern = "test/presenters/**/*_test.rb"
5
- end
6
-
7
- Rake::Task["test:run"].enhance ["test:presenters"]
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails31.dockerfile
8
- image: keynote_scenario_rails31
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails31:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails31.gemfile
14
- volumes:
15
- bundle_rails31: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.0
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,7 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 3.1.0"
4
- gem "minitest", "< 5"
5
- gem "haml", "~> 4.0.4"
6
-
7
- gemspec :path => "../"
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails32.dockerfile
8
- image: keynote_scenario_rails32
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails32:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails32.gemfile
14
- volumes:
15
- bundle_rails32: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.0
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 3.2.0"
4
- gem "minitest", "< 5"
5
-
6
- gemspec :path => "../"
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails40.dockerfile
8
- image: keynote_scenario_rails40
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails40:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails40.gemfile
14
- volumes:
15
- bundle_rails40: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.3
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 4.0.0"
4
- gem "minitest", "< 5"
5
-
6
- gemspec :path => "../"
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails41.dockerfile
8
- image: keynote_scenario_rails41
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails41:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails41.gemfile
14
- volumes:
15
- bundle_rails41: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.3
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 4.1.0"
4
- gem "minitest", "~> 5.0"
5
-
6
- gemspec :path => "../"
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails42.dockerfile
8
- image: keynote_scenario_rails42
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails42:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails42.gemfile
14
- volumes:
15
- bundle_rails42: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.4
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 4.2.0"
4
- gem "minitest", "~> 5.0"
5
-
6
- gemspec :path => "../"
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails50.dockerfile
8
- image: keynote_scenario_rails50
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails50:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails50.gemfile
14
- volumes:
15
- bundle_rails50: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.4
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 5.0.0"
4
- gem "minitest", "~> 5.0"
5
-
6
- gemspec :path => "../"
@@ -1,15 +0,0 @@
1
- ---
2
- version: "2"
3
- services:
4
- scenario:
5
- build:
6
- context: ..
7
- dockerfile: scenarios/rails51.dockerfile
8
- image: keynote_scenario_rails51
9
- volumes:
10
- - "..:/scenario"
11
- - "bundle_rails51:/usr/local/bundle"
12
- environment:
13
- BUNDLE_GEMFILE: scenarios/rails51.gemfile
14
- volumes:
15
- bundle_rails51: {}
@@ -1,5 +0,0 @@
1
- FROM ruby:2.4
2
- RUN mkdir -p /scenario
3
- WORKDIR /scenario
4
- ENV LANG=C.UTF-8
5
- CMD (bundle check || bundle install) && bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "rails", "~> 5.1.0"
4
- gem "minitest", "~> 5.0"
5
-
6
- gemspec :path => "../"