fishplate 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2b2c5ebac4868292c22367ebc36351daafb8f3b6ff7c68f69ef121e87385eedb
4
+ data.tar.gz: '083427c0dc89dfde0224c6bc7ca6087d273799fc844e93633a255d696a536674'
5
+ SHA512:
6
+ metadata.gz: 586e4beeee0673841f0e7528692d4126050185f3ef1ecb5522748cdbebb251b732e467a05fede334c3ebea6a1cb9bb4da511d2f5ebf48490c103fd4bd1238053
7
+ data.tar.gz: 599466aabca96e0753c983ddb61fd40c6a9233c95ff521943552d9eaa4df1b6133d1cb5cf11490b8838c6b3424bf41a686d6d6f8b1a3d27cb2098eb6b837b4c4
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ # Cached rubocop config files
14
+ .rubocop-http*
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,12 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ inherit_from:
5
+ - https://raw.githubusercontent.com/RenoFi/rubocop/master/ruby.yml
6
+
7
+ AllCops:
8
+ TargetRubyVersion: 2.6
9
+
10
+ Naming/FileName:
11
+ Exclude:
12
+ - 'lib/*.rb'
@@ -0,0 +1 @@
1
+ fishplate
@@ -0,0 +1 @@
1
+ ruby-2.6.5
@@ -0,0 +1,11 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.7
7
+ - 2.6.5
8
+ before_install: gem install bundler -v 2.0.2
9
+ script:
10
+ - bundle exec rspec
11
+ - bundle exec rubocop
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in fishplate.gemspec
4
+ gemspec
@@ -0,0 +1,87 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ fishplate (0.1.0)
5
+ a9n (>= 0.9.1)
6
+ activemodel
7
+ activerecord
8
+ activesupport
9
+ tzinfo-data
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ a9n (0.9.1)
15
+ activemodel (6.0.0)
16
+ activesupport (= 6.0.0)
17
+ activerecord (6.0.0)
18
+ activemodel (= 6.0.0)
19
+ activesupport (= 6.0.0)
20
+ activesupport (6.0.0)
21
+ concurrent-ruby (~> 1.0, >= 1.0.2)
22
+ i18n (>= 0.7, < 2)
23
+ minitest (~> 5.1)
24
+ tzinfo (~> 1.1)
25
+ zeitwerk (~> 2.1, >= 2.1.8)
26
+ ast (2.4.0)
27
+ coderay (1.1.2)
28
+ concurrent-ruby (1.1.5)
29
+ diff-lcs (1.3)
30
+ i18n (1.7.0)
31
+ concurrent-ruby (~> 1.0)
32
+ jaro_winkler (1.5.3)
33
+ method_source (0.9.2)
34
+ minitest (5.12.2)
35
+ parallel (1.18.0)
36
+ parser (2.6.5.0)
37
+ ast (~> 2.4.0)
38
+ pry (0.12.2)
39
+ coderay (~> 1.1.0)
40
+ method_source (~> 0.9.0)
41
+ rainbow (3.0.0)
42
+ rake (13.0.0)
43
+ rspec (3.9.0)
44
+ rspec-core (~> 3.9.0)
45
+ rspec-expectations (~> 3.9.0)
46
+ rspec-mocks (~> 3.9.0)
47
+ rspec-core (3.9.0)
48
+ rspec-support (~> 3.9.0)
49
+ rspec-expectations (3.9.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.9.0)
52
+ rspec-mocks (3.9.0)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.9.0)
55
+ rspec-support (3.9.0)
56
+ rubocop (0.75.1)
57
+ jaro_winkler (~> 1.5.1)
58
+ parallel (~> 1.10)
59
+ parser (>= 2.6)
60
+ rainbow (>= 2.2.2, < 4.0)
61
+ ruby-progressbar (~> 1.7)
62
+ unicode-display_width (>= 1.4.0, < 1.7)
63
+ rubocop-performance (1.5.0)
64
+ rubocop (>= 0.71.0)
65
+ ruby-progressbar (1.10.1)
66
+ thread_safe (0.3.6)
67
+ tzinfo (1.2.5)
68
+ thread_safe (~> 0.1)
69
+ tzinfo-data (1.2019.3)
70
+ tzinfo (>= 1.0.0)
71
+ unicode-display_width (1.6.0)
72
+ zeitwerk (2.2.0)
73
+
74
+ PLATFORMS
75
+ ruby
76
+
77
+ DEPENDENCIES
78
+ bundler
79
+ fishplate!
80
+ pry
81
+ rake
82
+ rspec
83
+ rubocop
84
+ rubocop-performance
85
+
86
+ BUNDLED WITH
87
+ 1.17.3
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 RenoFi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,44 @@
1
+ # Fishplate
2
+
3
+ Fishplate is a library allowing running ActiveRecord without Railties
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'fishplate'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install fishplate
20
+
21
+ ## Usage
22
+
23
+ Add to your environment.rb file:
24
+
25
+
26
+ ```ruby
27
+ Fishplate.logger = A9n.logger # or any other logger
28
+ Fishplate.time_zone = 'UTC'
29
+ Fishplate.setup!
30
+ ```
31
+
32
+ To load rake tasks, add to your `Rakefile`:
33
+
34
+ ```ruby
35
+ Fishplate.load_tasks
36
+ ```
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/RenoFi/fishplate. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
41
+
42
+ ## License
43
+
44
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "fishplate"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,39 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'fishplate/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'fishplate'
7
+ spec.version = Fishplate::VERSION
8
+ spec.authors = ['Krzysztof Knapik']
9
+ spec.email = ['knapo@knapo.net']
10
+
11
+ spec.summary = 'Fishplate is a library allowing running ActiveRecord without Railties.'
12
+ spec.homepage = 'https://github.com/RenoFi/fishplate'
13
+ spec.license = 'MIT'
14
+
15
+ spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/fishplate'
16
+ spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/fishplate'
17
+
18
+ spec.files = Dir.chdir(__dir__) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.required_ruby_version = '>= 2.6'
26
+
27
+ spec.add_dependency 'a9n', '>= 0.9.1'
28
+ spec.add_dependency 'activemodel'
29
+ spec.add_dependency 'activerecord'
30
+ spec.add_dependency 'activesupport'
31
+ spec.add_dependency 'tzinfo-data'
32
+
33
+ spec.add_development_dependency 'bundler'
34
+ spec.add_development_dependency 'pry'
35
+ spec.add_development_dependency 'rake'
36
+ spec.add_development_dependency 'rspec'
37
+ spec.add_development_dependency 'rubocop'
38
+ spec.add_development_dependency 'rubocop-performance'
39
+ end
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.5
7
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,64 @@
1
+ require 'fishplate/version'
2
+ require 'a9n'
3
+ require 'active_model'
4
+ require 'active_record'
5
+ require 'active_support/all'
6
+ require 'logger'
7
+
8
+ module Fishplate
9
+ class << self
10
+ def load_seed
11
+ return unless A9n.root.join('db/seeds.rb').exist?
12
+ Kernel.load A9n.root.join('db/seeds.rb')
13
+ end
14
+
15
+ def load_tasks
16
+ Kernel.load 'active_record/railties/databases.rake'
17
+ Kernel.load File.expand_path('fishplate/tasks.rake', __dir__)
18
+ A9n.root.join('lib/tasks').glob('*.rake').each { |f| Kernel.load f }
19
+ end
20
+
21
+ def database_configuration
22
+ @database_configuration ||= YAML.load(ERB.new(A9n.root.join('config/database.yml').read).result) # rubocop:disable Security/YAMLLoad
23
+ end
24
+
25
+ def time_zone=(value)
26
+ TZInfo::DataSource.get
27
+ Time.find_zone!(value).tap do |zone|
28
+ Time.zone = zone
29
+ Time.zone_default = zone
30
+ end
31
+ end
32
+
33
+ attr_writer :logger
34
+
35
+ def logger
36
+ @logger ||= ::Logger.new(STDOUT)
37
+ end
38
+
39
+ def setup!
40
+ Dir.glob(A9n.root.join('config/initializers/*.rb')).each { |f| require f }
41
+
42
+ # Check active_record/railtie for default config
43
+ ActiveRecord::Base.logger = logger
44
+ ActiveRecord::Base.time_zone_aware_attributes = true
45
+ ActiveRecord::Base.default_timezone = :utc
46
+ ActiveRecord::Base.connection_handlers = { ActiveRecord::Base.writing_role => ActiveRecord::Base.default_connection_handler }
47
+ ActiveRecord::Base.configurations = database_configuration
48
+
49
+ # Check active_record/tasks/database_tasks.rb for possible config values
50
+ ActiveRecord::Tasks::DatabaseTasks.env = A9n.env
51
+ ActiveRecord::Tasks::DatabaseTasks.database_configuration = database_configuration
52
+ ActiveRecord::Tasks::DatabaseTasks.db_dir = A9n.root.join('db')
53
+ ActiveRecord::Tasks::DatabaseTasks.fixtures_path = A9n.root.join('db/fixtures')
54
+ ActiveRecord::Tasks::DatabaseTasks.migrations_paths = A9n.root.join('db/migrate')
55
+ ActiveRecord::Tasks::DatabaseTasks.seed_loader = self
56
+ ActiveRecord::Tasks::DatabaseTasks.root = A9n.root
57
+
58
+ ActiveRecord::Base.clear_active_connections!
59
+ ActiveRecord::Base.flush_idle_connections!
60
+
61
+ ActiveRecord::Base.establish_connection
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,52 @@
1
+ desc "Load application environment"
2
+ task :environment do
3
+ A9n.root.join("config/environment.rb").tap do |path|
4
+ require path if path.exist?
5
+ end
6
+ end
7
+
8
+ desc "Run application console"
9
+ task console: :environment do
10
+ require "irb"
11
+ ARGV.clear
12
+ IRB.start
13
+ end
14
+
15
+ desc "Ensure that task is not run in production environment"
16
+ task fail_if_prod: :environment do
17
+ fail "Task cannot be run in production environment!" if A9n.env.production?
18
+ end
19
+
20
+ desc "Setup database"
21
+ task "db:setup" => ["fail_if_prod", "db:create", "db:schema:load"]
22
+
23
+ desc "Generate new migration with name given, e.g. rake generate:migration[CreateUsers]"
24
+ namespace :generate do
25
+ task :migration, [:name] do |name, args|
26
+ klass = args[:name].camelize
27
+ number = ActiveRecord::Migration.next_migration_number(0)
28
+ file_name = "#{number}_#{args[:name].underscore}.rb"
29
+ file_path = A9n.root.join("db/migrate", file_name)
30
+ content = <<-CONTENT
31
+ |class #{klass} < ActiveRecord::Migration[#{ActiveRecord::Migration.current_version}]
32
+ | def change
33
+ | end
34
+ |end
35
+ CONTENT
36
+ File.open(file_path, "w+") { |f| f.write(content.gsub(/( +\|)/, '')) }
37
+ end
38
+ end
39
+
40
+ begin
41
+ require "rspec/core/rake_task"
42
+ RSpec::Core::RakeTask.new(:spec)
43
+ rescue LoadError
44
+ # ignore
45
+ end
46
+
47
+ begin
48
+ require "rubocop/rake_task"
49
+ RuboCop::RakeTask.new
50
+ rescue LoadError
51
+ # ignore
52
+ end
@@ -0,0 +1,3 @@
1
+ module Fishplate
2
+ VERSION = "0.1.0".freeze
3
+ end
metadata ADDED
@@ -0,0 +1,219 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fishplate
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Krzysztof Knapik
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: a9n
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: activemodel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activerecord
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: tzinfo-data
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-performance
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description:
168
+ email:
169
+ - knapo@knapo.net
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - ".rspec"
176
+ - ".rubocop.yml"
177
+ - ".ruby-gemset"
178
+ - ".ruby-version"
179
+ - ".travis.yml"
180
+ - Gemfile
181
+ - Gemfile.lock
182
+ - LICENSE
183
+ - README.md
184
+ - Rakefile
185
+ - bin/console
186
+ - bin/setup
187
+ - fishplate.gemspec
188
+ - fishplate/.gitignore
189
+ - fishplate/.rspec
190
+ - fishplate/.travis.yml
191
+ - lib/fishplate.rb
192
+ - lib/fishplate/tasks.rake
193
+ - lib/fishplate/version.rb
194
+ homepage: https://github.com/RenoFi/fishplate
195
+ licenses:
196
+ - MIT
197
+ metadata:
198
+ homepage_uri: https://github.com/RenoFi/fishplate
199
+ source_code_uri: https://github.com/RenoFi/fishplate
200
+ post_install_message:
201
+ rdoc_options: []
202
+ require_paths:
203
+ - lib
204
+ required_ruby_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '2.6'
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ requirements: []
215
+ rubygems_version: 3.0.6
216
+ signing_key:
217
+ specification_version: 4
218
+ summary: Fishplate is a library allowing running ActiveRecord without Railties.
219
+ test_files: []