slayer_rails 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
+ SHA1:
3
+ metadata.gz: 168816481569527f37b1a92ee9aa4b0d636b96ad
4
+ data.tar.gz: 08a3b55a61a6ca2b01acf6bb3b0da7481ddc8ee6
5
+ SHA512:
6
+ metadata.gz: ad22be50b305d0159c6968a26c6c71156ae7e759b6a9cf8e5709717923f8ba65ae62e76b1286e13f382966ea3ea674b872c196c28da07988df8df87390976e10
7
+ data.tar.gz: 6a7bcbd9327b55364257e1f8983a1d27cfde5fbcfbf44fe110afe171cbfd7bd23d17d60cbfb25fa7d8d0ad39ee14ab468e921b9568e9dc118b96ecae7591908e
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ *Gemfile.lock
12
+ .byebug_history
13
+
14
+ /test/sample/tmp/
15
+ *.sqlite3
16
+ *.log
@@ -0,0 +1 @@
1
+ 2.3.0
@@ -0,0 +1,15 @@
1
+ sudo: false
2
+ language: ruby
3
+ cache: bundler
4
+ before_install:
5
+ - gem update --system
6
+ - gem update bundler
7
+ - gem cleanup bundler
8
+ matrix:
9
+ include:
10
+ - rvm: 2.4.0
11
+ gemfile: gemfiles/rails_5.0.gemfile
12
+ - rvm: 2.3.0
13
+ gemfile: gemfiles/rails_4.2.gemfile
14
+ - rvm: 2.3.0
15
+ gemfile: gemfiles/rails_5.0.gemfile
@@ -0,0 +1,7 @@
1
+ appraise "rails-4.2" do
2
+ gem "rails", "4.2.0"
3
+ end
4
+
5
+ appraise "rails-5.0" do
6
+ gem "rails", "5.0.0"
7
+ end
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in slayer_rails.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Wyatt Kirby
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
13
+ all 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
21
+ THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ # SlayerRails
2
+
3
+ [![Build Status](https://travis-ci.org/apsislabs/slayer_rails.svg?branch=master)](https://travis-ci.org/apsislabs/slayer_rails) [![Coverage Status](https://coveralls.io/repos/github/apsislabs/slayer_rails/badge.svg)](https://coveralls.io/github/apsislabs/slayer_rails)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'slayer_rails'
11
+ ```
12
+
13
+ ## Development
14
+
15
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec appraisal rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
16
+
17
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
18
+
19
+ ## Appraisal
20
+
21
+ Testing against various `Rails` versions is handled with [appraisal](https://github.com/thoughtbot/appraisal).
22
+
23
+ ## Contributing
24
+
25
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Wyatt Kirby/slayer_rails.
26
+
27
+ ## License
28
+
29
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,15 @@
1
+ require "rubygems"
2
+ require "bundler/setup"
3
+
4
+ require "bundler/gem_tasks"
5
+ require "rake/testtask"
6
+
7
+ require "./tasks/db"
8
+
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << "test"
11
+ t.libs << "lib"
12
+ t.test_files = FileList['test/**/*_test.rb']
13
+ end
14
+
15
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "slayer_rails"
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,7 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+ bundle exec appraisal install
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "4.2.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "5.0.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,14 @@
1
+ module Slayer
2
+ module Generators
3
+ class CommandGenerator < NamedBase
4
+ desc "This generator creates new Slayer::Commands"
5
+
6
+ source_root File.expand_path("../templates", __FILE__)
7
+ check_class_collision suffix: "Command"
8
+
9
+ def create_command_files
10
+ template "command.rb", File.join("app", "commands", class_path, "#{file_name}_command.rb")
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,6 @@
1
+ <% module_namespacing do -%>
2
+ class <%= class_name %>Command < Slayer::Command
3
+ def call
4
+ end
5
+ end
6
+ <% end -%>
@@ -0,0 +1,14 @@
1
+ module Slayer
2
+ module Generators
3
+ class FormGenerator < NamedBase
4
+ desc "This generator creates new Slayer::Forms"
5
+
6
+ source_root File.expand_path("../templates", __FILE__)
7
+ check_class_collision suffix: "Form"
8
+
9
+ def create_form_files
10
+ template "form.rb", File.join("app", "forms", class_path, "#{file_name}_form.rb")
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,4 @@
1
+ <% module_namespacing do -%>
2
+ class <%= class_name %>Form < Slayer::Form
3
+ end
4
+ <% end -%>
@@ -0,0 +1,14 @@
1
+ module Slayer
2
+ module Generators
3
+ class ServiceGenerator < NamedBase
4
+ desc "This generator creates new Slayer::Services"
5
+
6
+ source_root File.expand_path("../templates", __FILE__)
7
+ check_class_collision suffix: "Service"
8
+
9
+ def create_service_files
10
+ template "service.rb", File.join("app", "services", class_path, "#{file_name}_service.rb")
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,6 @@
1
+ <% module_namespacing do -%>
2
+ class <%= class_name %>Service < Slayer::Service
3
+ class << self
4
+ end
5
+ end
6
+ <% end -%>
@@ -0,0 +1,9 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/named_base'
3
+
4
+ module Slayer
5
+ module Generators
6
+ class NamedBase < Rails::Generators::NamedBase
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,27 @@
1
+ require 'active_support'
2
+ require 'active_model'
3
+ require 'active_record'
4
+ require 'slayer'
5
+
6
+ require 'slayer_rails/version'
7
+ require 'slayer_rails/extensions/form'
8
+ require 'slayer_rails/extensions/transaction'
9
+
10
+ require 'generators/slayer_base'
11
+ require 'generators/command/command_generator'
12
+ require 'generators/service/service_generator'
13
+ require 'generators/form/form_generator'
14
+
15
+ module Slayer
16
+ class Form
17
+ include SlayerRails::Extensions::Form
18
+ end
19
+
20
+ class Command
21
+ include SlayerRails::Extensions::Transaction
22
+ end
23
+
24
+ class Service
25
+ include SlayerRails::Extensions::Transaction
26
+ end
27
+ end
@@ -0,0 +1,66 @@
1
+ require 'json'
2
+
3
+ module SlayerRails
4
+ module Extensions
5
+ module Form
6
+ extend ActiveSupport::Concern
7
+
8
+ included do
9
+ include ActiveModel::Validations
10
+
11
+ def validate!
12
+ raise Slayer::FormValidationError, errors unless valid?
13
+ end
14
+
15
+ class << self
16
+ def from_params(params, additional_params: {}, root_key: nil)
17
+ params = params.respond_to?(:to_unsafe_h) ? params.to_unsafe_h : params.to_h
18
+ params = params.deep_symbolize_keys
19
+ attr_names = attribute_set.map(&:name)
20
+
21
+ root_key ||= param_key
22
+
23
+ attr_hash = params
24
+ .fetch(root_key, {})
25
+ .merge(params.slice(*attr_names))
26
+ .merge(additional_params)
27
+
28
+ new(attr_hash)
29
+ end
30
+
31
+ def from_model(model)
32
+ attr_hash = attribute_set.map(&:name)
33
+ .select { |attr_name| model.respond_to?(attr_name) }
34
+ .map { |attr_name| [attr_name, model.public_send(attr_name)] }
35
+
36
+ new(attr_hash.to_h)
37
+ end
38
+
39
+ def from_json(json)
40
+ from_params(JSON.parse(json))
41
+ end
42
+
43
+ def set_param_key(model_name)
44
+ @model_name = model_name.to_s.underscore.to_sym
45
+ end
46
+
47
+ def param_key
48
+ @model_name || infer_param_key
49
+ end
50
+
51
+ def infer_param_key
52
+ class_name = name.split('::').last
53
+ return :form if class_name == 'Form'
54
+ class_name.chomp('Form').underscore.to_sym
55
+ end
56
+
57
+ # Used by Rails to determine the path and param when
58
+ # used with `form_for`
59
+ def model_name
60
+ ActiveModel::Name.new(self, nil, param_key.to_s.camelize)
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,17 @@
1
+ module SlayerRails
2
+ module Extensions
3
+ module Transaction
4
+ extend ActiveSupport::Concern
5
+
6
+ included do
7
+ def transaction(&block)
8
+ ActiveRecord::Base.transaction(&block) if block_given?
9
+ end
10
+
11
+ def self.transaction(&block)
12
+ ActiveRecord::Base.transaction(&block) if block_given?
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,3 @@
1
+ module SlayerRails
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'slayer_rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "slayer_rails"
8
+ spec.version = SlayerRails::VERSION
9
+ spec.authors = ["Wyatt Kirby"]
10
+ spec.email = ["wyatt@apsis.io"]
11
+
12
+ spec.summary = %q{Rails extensions for Slayer.}
13
+ spec.homepage = "http://www.apsis.io"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_runtime_dependency 'slayer', '~> 0.2'
25
+ spec.add_runtime_dependency 'rails', '>= 4.2.0'
26
+
27
+ spec.add_development_dependency 'coveralls'
28
+ spec.add_development_dependency 'bundler', '~> 1.14'
29
+ spec.add_development_dependency 'rake', '~> 10.0'
30
+ spec.add_development_dependency 'appraisal', '~> 2.1'
31
+ spec.add_development_dependency 'minitest', '~> 5.0'
32
+ spec.add_development_dependency 'minitest-reporters', '~> 1.1'
33
+ spec.add_development_dependency 'mocha', '~> 1.2'
34
+ spec.add_development_dependency 'byebug', '~> 9.0'
35
+ spec.add_development_dependency 'sqlite3', '~> 1.3'
36
+ spec.add_development_dependency 'combustion', '~> 0.5.5'
37
+ end
@@ -0,0 +1,54 @@
1
+ # source: https://gist.github.com/schickling/6762581
2
+
3
+ require 'slayer_rails'
4
+ require 'active_record'
5
+ require 'yaml'
6
+
7
+ GEM_ROOT = File.dirname( __dir__ )
8
+ DB_CONFIG = YAML.load(File.open('test/sample/config/database.yml'))
9
+ SCHEMA_FILE = "#{GEM_ROOT}/test/sample/db/schema.rb"
10
+ MIGRATION_DIR = "#{GEM_ROOT}/test/sample/db/migrate"
11
+
12
+ namespace :db do
13
+ desc "Migrate the database"
14
+ task :migrate do
15
+ ActiveRecord::Base.establish_connection(DB_CONFIG)
16
+ ActiveRecord::Migrator.migrate(MIGRATION_DIR)
17
+ Rake::Task["db:schema"].invoke
18
+ puts "Database migrated."
19
+ end
20
+
21
+ desc "Create a db/schema.rb file that is portable against any supported DB"
22
+ task :schema do
23
+ ActiveRecord::Base.establish_connection(DB_CONFIG)
24
+ require 'active_record/schema_dumper'
25
+
26
+ File.open(SCHEMA_FILE, "w:utf-8") do |file|
27
+ ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, file)
28
+ end
29
+ end
30
+ end
31
+
32
+
33
+ namespace :g do
34
+ desc "Generate migration"
35
+ task :migration do
36
+ name = ARGV[1] || raise("Specify name: rake g:migration name")
37
+ timestamp = Time.now.strftime("%Y%m%d%H%M%S")
38
+ path = File.expand_path("#{MIGRATION_DIR}/#{timestamp}_#{name}.rb", __FILE__)
39
+
40
+ migration_class = name.split("_").map(&:capitalize).join
41
+
42
+ File.open(path, "w") do |file|
43
+ file.write <<-EOF.strip_heredoc
44
+ class #{migration_class} < ActiveRecord::Migration
45
+ def change
46
+ end
47
+ end
48
+ EOF
49
+ end
50
+
51
+ puts "Migration #{path} created"
52
+ abort # needed stop other tasks
53
+ end
54
+ end
metadata ADDED
@@ -0,0 +1,237 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: slayer_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Wyatt Kirby
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-02-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: slayer
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 4.2.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: coveralls
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
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: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.14'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: appraisal
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.1'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '5.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '5.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: minitest-reporters
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.1'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: mocha
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: byebug
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '9.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '9.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: sqlite3
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.3'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.3'
167
+ - !ruby/object:Gem::Dependency
168
+ name: combustion
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 0.5.5
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 0.5.5
181
+ description:
182
+ email:
183
+ - wyatt@apsis.io
184
+ executables: []
185
+ extensions: []
186
+ extra_rdoc_files: []
187
+ files:
188
+ - ".gitignore"
189
+ - ".ruby-version"
190
+ - ".travis.yml"
191
+ - Appraisals
192
+ - Gemfile
193
+ - LICENSE.txt
194
+ - README.md
195
+ - Rakefile
196
+ - bin/console
197
+ - bin/setup
198
+ - gemfiles/rails_4.2.gemfile
199
+ - gemfiles/rails_5.0.gemfile
200
+ - lib/generators/command/command_generator.rb
201
+ - lib/generators/command/templates/command.rb
202
+ - lib/generators/form/form_generator.rb
203
+ - lib/generators/form/templates/form.rb
204
+ - lib/generators/service/service_generator.rb
205
+ - lib/generators/service/templates/service.rb
206
+ - lib/generators/slayer_base.rb
207
+ - lib/slayer_rails.rb
208
+ - lib/slayer_rails/extensions/form.rb
209
+ - lib/slayer_rails/extensions/transaction.rb
210
+ - lib/slayer_rails/version.rb
211
+ - slayer_rails.gemspec
212
+ - tasks/db.rb
213
+ homepage: http://www.apsis.io
214
+ licenses:
215
+ - MIT
216
+ metadata: {}
217
+ post_install_message:
218
+ rdoc_options: []
219
+ require_paths:
220
+ - lib
221
+ required_ruby_version: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: '0'
226
+ required_rubygems_version: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ requirements: []
232
+ rubyforge_project:
233
+ rubygems_version: 2.5.1
234
+ signing_key:
235
+ specification_version: 4
236
+ summary: Rails extensions for Slayer.
237
+ test_files: []