morse_controller_helpers 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 46e15d41e62743c79fda03351a2bbf02e9f88ad9
4
+ data.tar.gz: 928b786bbbce2589184e64d6d88468c43313bfde
5
+ SHA512:
6
+ metadata.gz: f46bb96751f27acc672230bcb8967a7db7762aeb7a831223b8344070824b01e5764438ab263f21fc301a4241cda802584c4144cc7370de89f5339fa2c2b0840a
7
+ data.tar.gz: fa52650448facaf49c89b11adc9d8fe1c207e2fbbbeeb3ec40c0d3b9e723e184b59a7966bb646ab85d0a15fc4228fffd35badbe7a9e0c5c1f77055913087f55b
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,17 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'Gemfile'
4
+ - 'Guardfile'
5
+ - 'Rakefile'
6
+ - '.git-hooks/**/*'
7
+ - 'bin/**/*'
8
+ - 'db/**/*'
9
+ - 'config/**/*'
10
+ - 'lib/**/*'
11
+ - 'log/**/*'
12
+ - 'spec/**/*'
13
+ - '*.gemspec'
14
+ Lint/HandleExceptions:
15
+ Enabled: false
16
+ Style/AccessorMethodName:
17
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.14.4
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in morse_controller_helpers.gemspec
4
+ gemspec
5
+ gem 'rails'
data/Guardfile ADDED
@@ -0,0 +1,48 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :rubocop do
19
+ watch(%r{.+\.rb$})
20
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
21
+ end
22
+
23
+ # Note: The cmd option is now required due to the increasing number of ways
24
+ # rspec may be run, below are examples of the most common uses.
25
+ # * bundler: 'bundle exec rspec'
26
+ # * bundler binstubs: 'bin/rspec'
27
+ # * spring: 'bin/rspec' (This will use spring if running and you have
28
+ # installed the spring binstubs per the docs)
29
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
30
+ # * 'just' rspec: 'rspec'
31
+
32
+ guard :rspec, cmd: "bundle exec rspec" do
33
+ require "guard/rspec/dsl"
34
+ dsl = Guard::RSpec::Dsl.new(self)
35
+
36
+ # Feel free to open issues for suggestions and improvements
37
+
38
+ # RSpec files
39
+ rspec = dsl.rspec
40
+ watch(rspec.spec_helper) { rspec.spec_dir }
41
+ watch(rspec.spec_support) { rspec.spec_dir }
42
+ watch(rspec.spec_files)
43
+
44
+ # Ruby files
45
+ ruby = dsl.ruby
46
+ dsl.watch_spec_files_for(ruby.lib_files)
47
+
48
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Terry S
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.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # MorseControllerHelpers
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/morse_controller_helpers`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'morse_controller_helpers'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install morse_controller_helpers
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Terry S/morse_controller_helpers.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -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
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "morse_controller_helpers"
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__)
data/bin/setup ADDED
@@ -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,44 @@
1
+ module MorseControllerHelpers
2
+ # module FlashHelpers
3
+ module CrudHelpers
4
+ def create
5
+ @current_instance = klass.new(params_resource)
6
+ if current_instance.save
7
+ flash_create_yes
8
+ redirect_to path_edit(current_instance)
9
+ else
10
+ flash_create_no
11
+ render("#{resource_symbols}/new")
12
+ end
13
+ end
14
+
15
+ def destroy
16
+ if current_instance.destroy
17
+ flash_destroy_yes
18
+ else
19
+ flash_destroy_no
20
+ end
21
+ redirect_to path_index
22
+ end
23
+
24
+ def edit; end
25
+
26
+ def index; end
27
+
28
+ def new
29
+ @current_instance = klass.new
30
+ end
31
+
32
+ def show; end
33
+
34
+ def update
35
+ if current_instance.update_attributes(params_resource)
36
+ flash_update_yes
37
+ redirect_to path_edit
38
+ else
39
+ flash_update_no
40
+ render("#{resource_symbols}/edit")
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,32 @@
1
+ module MorseControllerHelpers
2
+ # module FlashHelpers
3
+ module FlashHelpers
4
+ def flash_create_yes
5
+ flash[:success] = "#{klass_humanized} succesfully created."
6
+ end
7
+
8
+ def flash_create_no
9
+ flash[:warning] = 'Failed to create, please check the form for errors.'
10
+ end
11
+
12
+ def flash_destroy_yes
13
+ flash[:notice] = "#{klass_humanized} succesfully deleted."
14
+ end
15
+
16
+ def flash_destroy_no
17
+ flash[:warning] = "#{klass_humanized} failed to delete."
18
+ end
19
+
20
+ def flash_update_yes
21
+ flash[:notice] = "#{klass_humanized} succesfully updated."
22
+ end
23
+
24
+ def flash_update_no
25
+ flash[:warning] = 'Failed to update, please check the form for errors.'
26
+ end
27
+
28
+ def flash_404_error
29
+ flash[:error] = 'Unable to locate record.'
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,3 @@
1
+ module MorseControllerHelpers
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,121 @@
1
+ require 'action_controller'
2
+ require 'active_support/all'
3
+ require 'morse_controller_helpers/version'
4
+ require 'morse_controller_helpers/crud_helpers'
5
+ require 'morse_controller_helpers/flash_helpers'
6
+
7
+ module MorseControllerHelpers
8
+ extend ActiveSupport::Concern
9
+ include MorseControllerHelpers::CrudHelpers
10
+ include MorseControllerHelpers::FlashHelpers
11
+
12
+ included do
13
+ helper_method :params_resources,
14
+ :path_edit,
15
+ :path_index,
16
+ :path_new,
17
+ :path_show
18
+ before_filter :dynamic_current_instance
19
+ end
20
+
21
+ def assign_current_instance_from_params(pri)
22
+ klass_us = pri.gsub('_id', '')
23
+ klass = klass_us.classify.constantize
24
+ if klass.respond_to?(:friendly)
25
+ instance_variable_set "@#{klass_us}", klass.friendly.find(params[pri])
26
+ else
27
+ instance_variable_set "@#{klass_us}", klass.find(params[pri])
28
+ end
29
+ @current_instance = set_current_instance(klass_us)
30
+ end
31
+
32
+ def dynamic_current_instance
33
+ params_resource_ids.each do |pri|
34
+ begin
35
+ if try(:dynamic_current_instance_exceptions)
36
+ next if dynamic_current_instance_exceptions.include? pri
37
+ end
38
+ assign_current_instance_from_params(pri)
39
+ rescue ActiveRecord::RecordNotFound
40
+ render_404
41
+ end
42
+ end
43
+ end
44
+
45
+ def klass(str = klass_camel)
46
+ str.classify.constantize
47
+ end
48
+
49
+ def klass_camel
50
+ controller_name.singularize
51
+ end
52
+
53
+ def klass_humanized
54
+ klass_camel.humanize
55
+ end
56
+
57
+ def klass_id
58
+ "#{klass_snake}_id"
59
+ end
60
+
61
+ def klass_pluralized
62
+ klass_snake.pluralize
63
+ end
64
+
65
+ def klass_snake(str = klass_camel)
66
+ str.underscore
67
+ end
68
+
69
+ def params_resource_ids
70
+ params.keys.collect { |p| p if p.include?('_id') }.compact
71
+ end
72
+
73
+ def params_resources
74
+ params_resource_ids.map { |p| p.gsub('_id', '') }
75
+ end
76
+
77
+ def params_resource
78
+ params.require(resource_symbol).permit!
79
+ end
80
+
81
+ def path_edit(cp = current_instance)
82
+ path_show(cp).unshift(:edit)
83
+ end
84
+
85
+ def path_index
86
+ [resource_symbols]
87
+ end
88
+
89
+ def path_new
90
+ [:new, resource_symbol]
91
+ end
92
+
93
+ def path_show(instance = current_instance)
94
+ [instance]
95
+ end
96
+
97
+ def resource_symbol
98
+ klass_snake.to_sym
99
+ end
100
+
101
+ def resource_symbols
102
+ klass_pluralized
103
+ end.to_sym
104
+
105
+ def render_404
106
+ flash_404_error
107
+ respond_to do |format|
108
+ format.html do
109
+ render file: "#{Rails.root}/public/404",
110
+ layout: false,
111
+ status: :not_found
112
+ end
113
+ format.xml { head :not_found }
114
+ format.any { head :not_found }
115
+ end
116
+ end
117
+
118
+ def set_current_instance(k)
119
+ instance_variable_get("@#{k}") unless action_name == 'index'
120
+ end
121
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'morse_controller_helpers/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "morse_controller_helpers"
8
+ spec.version = MorseControllerHelpers::VERSION
9
+ spec.authors = ["Terry S"]
10
+ spec.email = ["itsterry@gmail.com"]
11
+
12
+ spec.summary = %q{Morse Controller Helpers}
13
+ spec.description = %q{Morse Controller Helpers}
14
+ spec.homepage = "https://github.com/morsedigital/morse_controller_helpers"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
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_development_dependency "bundler", "~> 1.14"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "guard-rspec"
28
+ spec.add_development_dependency "guard-rubocop"
29
+ spec.add_dependency 'activesupport'
30
+ spec.add_dependency 'rails'
31
+ end
data/tags ADDED
@@ -0,0 +1,48 @@
1
+ !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
2
+ !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
3
+ !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
4
+ !_TAG_PROGRAM_NAME Exuberant Ctags //
5
+ !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6
+ !_TAG_PROGRAM_VERSION 5.8 //
7
+ CrudHelpers lib/morse_controller_helpers/crud_helpers.rb /^ module CrudHelpers$/;" m class:MorseControllerHelpers
8
+ FlashHelpers lib/morse_controller_helpers/flash_helpers.rb /^ module FlashHelpers$/;" m class:MorseControllerHelpers
9
+ GenericController spec/morse_controller_helpers_spec.rb /^class GenericController < ActionController::Base$/;" c
10
+ MorseControllerHelpers lib/morse_controller_helpers.rb /^module MorseControllerHelpers$/;" m
11
+ MorseControllerHelpers lib/morse_controller_helpers/crud_helpers.rb /^module MorseControllerHelpers$/;" m
12
+ MorseControllerHelpers lib/morse_controller_helpers/flash_helpers.rb /^module MorseControllerHelpers$/;" m
13
+ MorseControllerHelpers lib/morse_controller_helpers/version.rb /^module MorseControllerHelpers$/;" m
14
+ Thing spec/morse_controller_helpers_spec.rb /^class Thing; end$/;" c
15
+ ThingStuff spec/morse_controller_helpers_spec.rb /^class ThingStuff; end$/;" c
16
+ assign_current_instance_from_params lib/morse_controller_helpers.rb /^ def assign_current_instance_from_params(pri)$/;" f class:MorseControllerHelpers
17
+ create lib/morse_controller_helpers/crud_helpers.rb /^ def create$/;" f class:MorseControllerHelpers.CrudHelpers
18
+ destroy lib/morse_controller_helpers/crud_helpers.rb /^ def destroy$/;" f class:MorseControllerHelpers.CrudHelpers
19
+ dynamic_current_instance lib/morse_controller_helpers.rb /^ def dynamic_current_instance$/;" f class:MorseControllerHelpers
20
+ edit lib/morse_controller_helpers/crud_helpers.rb /^ def edit; end$/;" f class:MorseControllerHelpers.CrudHelpers
21
+ flash_404_error lib/morse_controller_helpers/flash_helpers.rb /^ def flash_404_error$/;" f class:MorseControllerHelpers.FlashHelpers
22
+ flash_create_no lib/morse_controller_helpers/flash_helpers.rb /^ def flash_create_no$/;" f class:MorseControllerHelpers.FlashHelpers
23
+ flash_create_yes lib/morse_controller_helpers/flash_helpers.rb /^ def flash_create_yes$/;" f class:MorseControllerHelpers.FlashHelpers
24
+ flash_destroy_no lib/morse_controller_helpers/flash_helpers.rb /^ def flash_destroy_no$/;" f class:MorseControllerHelpers.FlashHelpers
25
+ flash_destroy_yes lib/morse_controller_helpers/flash_helpers.rb /^ def flash_destroy_yes$/;" f class:MorseControllerHelpers.FlashHelpers
26
+ flash_update_no lib/morse_controller_helpers/flash_helpers.rb /^ def flash_update_no$/;" f class:MorseControllerHelpers.FlashHelpers
27
+ flash_update_yes lib/morse_controller_helpers/flash_helpers.rb /^ def flash_update_yes$/;" f class:MorseControllerHelpers.FlashHelpers
28
+ index lib/morse_controller_helpers/crud_helpers.rb /^ def index; end$/;" f class:MorseControllerHelpers.CrudHelpers
29
+ klass lib/morse_controller_helpers.rb /^ def klass(str = klass_camel)$/;" f class:MorseControllerHelpers
30
+ klass_camel lib/morse_controller_helpers.rb /^ def klass_camel$/;" f class:MorseControllerHelpers
31
+ klass_humanized lib/morse_controller_helpers.rb /^ def klass_humanized$/;" f class:MorseControllerHelpers
32
+ klass_id lib/morse_controller_helpers.rb /^ def klass_id$/;" f class:MorseControllerHelpers
33
+ klass_pluralized lib/morse_controller_helpers.rb /^ def klass_pluralized$/;" f class:MorseControllerHelpers
34
+ klass_snake lib/morse_controller_helpers.rb /^ def klass_snake(str = klass_camel)$/;" f class:MorseControllerHelpers
35
+ new lib/morse_controller_helpers/crud_helpers.rb /^ def new$/;" f class:MorseControllerHelpers.CrudHelpers
36
+ params_resource lib/morse_controller_helpers.rb /^ def params_resource$/;" f class:MorseControllerHelpers
37
+ params_resource_ids lib/morse_controller_helpers.rb /^ def params_resource_ids$/;" f class:MorseControllerHelpers
38
+ params_resources lib/morse_controller_helpers.rb /^ def params_resources$/;" f class:MorseControllerHelpers
39
+ path_edit lib/morse_controller_helpers.rb /^ def path_edit(cp = current_instance)$/;" f class:MorseControllerHelpers
40
+ path_index lib/morse_controller_helpers.rb /^ def path_index$/;" f class:MorseControllerHelpers
41
+ path_new lib/morse_controller_helpers.rb /^ def path_new$/;" f class:MorseControllerHelpers
42
+ path_show lib/morse_controller_helpers.rb /^ def path_show(instance = current_instance)$/;" f class:MorseControllerHelpers
43
+ render_404 lib/morse_controller_helpers.rb /^ def render_404$/;" f class:MorseControllerHelpers.resource_symbols
44
+ resource_symbol lib/morse_controller_helpers.rb /^ def resource_symbol$/;" f class:MorseControllerHelpers
45
+ resource_symbols lib/morse_controller_helpers.rb /^ def resource_symbols$/;" f class:MorseControllerHelpers
46
+ set_current_instance lib/morse_controller_helpers.rb /^ def set_current_instance(k)$/;" f class:MorseControllerHelpers.resource_symbols
47
+ show lib/morse_controller_helpers/crud_helpers.rb /^ def show; end$/;" f class:MorseControllerHelpers.CrudHelpers
48
+ update lib/morse_controller_helpers/crud_helpers.rb /^ def update$/;" f class:MorseControllerHelpers.CrudHelpers
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: morse_controller_helpers
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Terry S
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard-rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
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: guard-rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
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: activesupport
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
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: rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Morse Controller Helpers
112
+ email:
113
+ - itsterry@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".rubocop.yml"
121
+ - ".travis.yml"
122
+ - Gemfile
123
+ - Guardfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - lib/morse_controller_helpers.rb
130
+ - lib/morse_controller_helpers/crud_helpers.rb
131
+ - lib/morse_controller_helpers/flash_helpers.rb
132
+ - lib/morse_controller_helpers/version.rb
133
+ - morse_controller_helpers.gemspec
134
+ - tags
135
+ homepage: https://github.com/morsedigital/morse_controller_helpers
136
+ licenses:
137
+ - MIT
138
+ metadata: {}
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ requirements: []
154
+ rubyforge_project:
155
+ rubygems_version: 2.6.8
156
+ signing_key:
157
+ specification_version: 4
158
+ summary: Morse Controller Helpers
159
+ test_files: []