rails-menu-manager 0.3.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b21bf6c2eedd8d5e888b0c0d5189dbd281099b07
4
- data.tar.gz: 844d88a9f6569104fd0c73765c105b8f212beb97
2
+ SHA256:
3
+ metadata.gz: a66020465baf8336edae4c054d31162d9469c359e8beb1904b1af3eb4180ea13
4
+ data.tar.gz: 17de76c2c9f5ecccbc63fa9370b0b4bcca6e935ea70f552a73b4d0dadc5f712b
5
5
  SHA512:
6
- metadata.gz: a4f26b5100435b389ebf6850848d3477c8ec7a218d0d0e26b7efebae7b07a2b699dee2cb4d47ba617aaab3a2b0c5420a32f18798d888edb789cc8f7a84cebf80
7
- data.tar.gz: 65eed75f15bbdea85c4362dbe36249385720a3f925596ec5f007b8cfbc27ecefdf9206f1a79112aaf8b197b53dd4dda86adf9bbb1cea9e32a06c32eea4d1ab44
6
+ metadata.gz: accdfe6956c15c0b5e8ac219d41430c151904f3b7dd807e794ca34c18f2e7d7942796a6bda4ae34af662c181b9e3b21058b2f47041187e6b7e9bd1a1e226ab6e
7
+ data.tar.gz: 326ac22a5f02bcc3709574b97ee1727bbb8665c7d93b1648828d7a11fb9d9d7c94b0503cfbe9436648b7e8081526040889e2be7652e1955cbec227045fa8bc68
data/.gitignore CHANGED
@@ -1,9 +1,3 @@
1
- /.bundle/
2
- /.yardoc
1
+ /.bundle
3
2
  /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
3
+ /pkg
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,110 @@
1
+ stages:
2
+ - build
3
+ - test
4
+ - codequality
5
+ - security
6
+
7
+ build:
8
+ stage: build
9
+ image: ruby:2.6
10
+ script:
11
+ - gem install bundler --no-document
12
+ - bundle update
13
+ artifacts:
14
+ paths:
15
+ - Gemfile.lock
16
+
17
+ .rspec: &rspec
18
+ stage: test
19
+ before_script:
20
+ - ruby -v
21
+ - echo "${RSPEC_RAILS_VERSION}"
22
+ - gem install bundler -v "~>${BUNDLER_VERSION:-2.0}" --no-document
23
+ - export BUNDLE_GEMFILE="spec/Gemfile"
24
+ - bundle install --jobs=$(nproc) --path="../cache/bundle"
25
+ - bundle list
26
+ script:
27
+ - bundle exec rake spec
28
+ cache:
29
+ key: "$CI_JOB_NAME"
30
+ paths:
31
+ - cache/
32
+
33
+ rspec-ruby2.5-rails5.0:
34
+ <<: *rspec
35
+ image: ruby:2.5
36
+ variables:
37
+ RSPEC_RAILS_VERSION: '5.0'
38
+
39
+ rspec-ruby2.6-rails5.0:
40
+ <<: *rspec
41
+ image: ruby:2.6
42
+ variables:
43
+ RSPEC_RAILS_VERSION: '5.0'
44
+
45
+ rspec-ruby2.5-rails5.1:
46
+ <<: *rspec
47
+ image: ruby:2.5
48
+ variables:
49
+ RSPEC_RAILS_VERSION: '5.1'
50
+
51
+ rspec-ruby2.6-rails5.1:
52
+ <<: *rspec
53
+ image: ruby:2.6
54
+ variables:
55
+ RSPEC_RAILS_VERSION: '5.1'
56
+
57
+ rspec-ruby2.5-rails5.2:
58
+ <<: *rspec
59
+ image: ruby:2.5
60
+ variables:
61
+ RSPEC_RAILS_VERSION: '5.2'
62
+
63
+ rspec-ruby2.6-rails5.2:
64
+ <<: *rspec
65
+ image: ruby:2.6
66
+ variables:
67
+ RSPEC_RAILS_VERSION: '5.2'
68
+
69
+ rspec-ruby2.5-rails6.0:
70
+ <<: *rspec
71
+ image: ruby:2.5
72
+ variables:
73
+ RSPEC_RAILS_VERSION: '6.0'
74
+
75
+ rspec-ruby2.6-rails6.0:
76
+ <<: *rspec
77
+ image: ruby:2.6
78
+ variables:
79
+ RSPEC_RAILS_VERSION: '6.0'
80
+
81
+ rspec-ruby2.5-rails6.1:
82
+ <<: *rspec
83
+ image: ruby:2.5
84
+ variables:
85
+ RSPEC_RAILS_VERSION: '6.1'
86
+
87
+ rspec-ruby2.6-rails6.1:
88
+ <<: *rspec
89
+ image: ruby:2.6
90
+ variables:
91
+ RSPEC_RAILS_VERSION: '6.1'
92
+
93
+ rspec-ruby2.7-rails7.0:
94
+ <<: *rspec
95
+ image: ruby:2.7
96
+ variables:
97
+ RSPEC_RAILS_VERSION: '7.0'
98
+
99
+ rspec-ruby3.0-rails7.0:
100
+ <<: *rspec
101
+ image: ruby:3.0
102
+ variables:
103
+ RSPEC_RAILS_VERSION: '7.0'
104
+
105
+ rubocop:
106
+ stage: codequality
107
+ image: ruby:2.6
108
+ script:
109
+ - gem install rubocop rubocop-performance --no-document
110
+ - rubocop
data/.rubocop.yml ADDED
@@ -0,0 +1,16 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 2.5
6
+
7
+ Layout/HashAlignment:
8
+ EnforcedHashRocketStyle: table
9
+ EnforcedColonStyle: table
10
+
11
+ Layout/LineLength:
12
+ Max: 120
13
+
14
+ Naming/FileName:
15
+ Exclude:
16
+ - 'lib/rails-menu-manager.rb'
data/CHANGELOG.md CHANGED
@@ -1,15 +1,65 @@
1
- # Change Log
1
+ # Changelog
2
2
 
3
- ## 0.3.1 (2016-09-26)
4
- ### Fixes
5
- - Prevent menu items from being highlighted which have the same last path element as other menu items
3
+ All notable changes to this project will be documented in this file.
6
4
 
7
- ## 0.3.0 (2016-07-07)
8
- ### Changes
9
- - Rails 5.0 support
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
10
7
 
11
- ## 0.2.0 (2015-04-20) (initial release)
12
- ### Changes
13
- - Renamed namespace from Rails::Menu::Manager to RailsMenuManager
8
+ ## [Unreleased]
14
9
 
15
- ## 0.1.0 (2015-04-20) (initial release)
10
+ ## [0.6.0] - 2020-12-21
11
+
12
+ ### Added
13
+
14
+ - support for Rails 7.0
15
+
16
+ ### Changed
17
+
18
+ - set supported ruby versions to >= 2.5.0 (required for rubocop, anyway legacy)
19
+ - set supported rails versions to >= 5.0.0
20
+
21
+ ## [0.5.0] - 2020-12-12
22
+
23
+ ### Added
24
+
25
+ - support for Rails 6.1
26
+
27
+ ## [0.4.1] - 2019-11-06
28
+
29
+ ### Changed
30
+
31
+ - set supported ruby versions to >= 2.4.0
32
+
33
+ ### Fixed
34
+
35
+ - support for Rails 6.0.X
36
+
37
+ ## [0.4.0] - 2019-08-22
38
+
39
+ ### Added
40
+
41
+ - support for Rails 6.0
42
+
43
+ ### Removed
44
+
45
+ - support for Rails 4.0 and 4.1
46
+
47
+ ## [0.3.1] - 2016-09-26
48
+
49
+ ### Fixed
50
+
51
+ - prevent menu items from being highlighted which have the same last path element as other menu items
52
+
53
+ ## [0.3.0] - 2016-07-07
54
+
55
+ ### Changed
56
+
57
+ - rails 5.0 support
58
+
59
+ ## [0.2.0] - 2015-04-20
60
+
61
+ ### Changed
62
+
63
+ - renamed namespace from Rails::Menu::Manager to RailsMenuManager
64
+
65
+ ## [0.1.0] - 2015-04-20
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in rails-menu-manager.gemspec
data/README.md CHANGED
@@ -1,8 +1,3 @@
1
- [![Gem Version](https://img.shields.io/gem/v/rails-menu-manager.svg)](https://rubygems.org/gems/rails-menu-manager)
2
- [![Dependencies](https://img.shields.io/gemnasium/ydkn/rails-menu-manager.svg)](https://gemnasium.com/ydkn/rails-menu-manager)
3
- [![Travis CI](https://img.shields.io/travis/ydkn/rails-menu-manager.svg)](https://travis-ci.org/ydkn/rails-menu-manager)
4
- [![Code Climate](https://img.shields.io/codeclimate/github/ydkn/rails-menu-manager.svg)](https://codeclimate.com/github/ydkn/rails-menu-manager)
5
-
6
1
  # Rails Menu Manager
7
2
 
8
3
  Simple menu manager for Rails.
@@ -47,11 +42,3 @@ link_to 'users', users_path, class: in_menu?(:main, :users) ? 'active' : nil
47
42
 
48
43
  link_to 'users', users_path, class: in_menu?(:sidebar, :users) ? 'active' : nil
49
44
  ```
50
-
51
- ## Contributing
52
-
53
- 1. Fork it ( https://github.com/ydkn/rails-menu-manager/fork )
54
- 2. Create your feature branch (`git checkout -b my-new-feature`)
55
- 3. Commit your changes (`git commit -am 'Add some feature'`)
56
- 4. Push to the branch (`git push origin my-new-feature`)
57
- 5. Create a new Pull Request
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
 
3
5
  require 'rspec/core/rake_task'
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails_menu_manager/version'
2
4
  require 'rails_menu_manager/railtie'
@@ -1,7 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'active_support/concern'
2
4
  require 'rails_menu_manager/menu_item'
3
5
 
4
6
  module RailsMenuManager
7
+ # Menu methods for ActionController
5
8
  module ActionController
6
9
  extend ActiveSupport::Concern
7
10
 
@@ -14,7 +17,7 @@ module RailsMenuManager
14
17
  # @param [Array] Menu path to check
15
18
  # @return [Boolean] Boolean indicating if at least one menu item is in path
16
19
  def in_menu?(*args)
17
- _menu_items.any? { |m| m.in?(*args) }
20
+ rails_menu_manger_items.any? { |m| m.in?(*args) }
18
21
  end
19
22
 
20
23
  # Adds a menu
@@ -22,23 +25,24 @@ module RailsMenuManager
22
25
  #
23
26
  # @param [Array/Hash] Menu path and options.
24
27
  def menu(*args)
25
- _add_menu_setting(*args)
28
+ rails_menu_manger_add_menu_setting(*args)
26
29
  end
27
30
 
28
31
  private
29
32
 
30
- def _menu_items
31
- @_menu_items ||= []
33
+ def rails_menu_manger_items
34
+ @rails_menu_manger_items ||= []
32
35
  end
33
36
 
34
- def _add_menu_setting(*args)
37
+ def rails_menu_manger_add_menu_setting(*args)
35
38
  opts = args.extract_options!
36
39
 
37
- path = args.map { |p| p.to_sym }
40
+ path = args.map(&:to_sym)
38
41
 
39
- _menu_items << MenuItem.new(path, opts)
42
+ rails_menu_manger_items << MenuItem.new(path, opts)
40
43
  end
41
44
 
45
+ # Class methods for ActionController
42
46
  module ClassMethods
43
47
  def menu(*args)
44
48
  opts = args.extract_options!
@@ -51,7 +55,7 @@ module RailsMenuManager
51
55
  }
52
56
 
53
57
  before_action before_action_opts do
54
- _add_menu_setting(*args, opts)
58
+ rails_menu_manger_add_menu_setting(*args, opts)
55
59
  end
56
60
  end
57
61
  end
@@ -1,4 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RailsMenuManager
4
+ # Representation of a single menu item
2
5
  class MenuItem
3
6
  PATH_SEPARATOR = 0x1F.chr
4
7
 
@@ -12,7 +15,7 @@ module RailsMenuManager
12
15
  def in?(*args)
13
16
  return false if path.nil?
14
17
 
15
- !!(path_as_string(path) =~ /\A#{path_as_string(args)}/i)
18
+ (path_as_string(path) =~ /\A#{path_as_string(args)}/i)
16
19
  end
17
20
 
18
21
  private
@@ -1,10 +1,13 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails/railtie'
2
4
  require 'rails_menu_manager/action_controller'
3
5
 
4
6
  module RailsMenuManager
7
+ # Railtie which will register and set up the menu manager
5
8
  class Railtie < Rails::Railtie
6
9
  initializer 'rails-menu-manager' do
7
- ::ActionController::Base.send(:include, RailsMenuManager::ActionController)
10
+ ::ActionController::Base.include(RailsMenuManager::ActionController)
8
11
  end
9
12
  end
10
13
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RailsMenuManager
2
- VERSION = '0.3.1'
4
+ VERSION = '0.6.0'
3
5
  end
@@ -1,5 +1,6 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'rails_menu_manager/version'
5
6
 
@@ -8,10 +9,9 @@ Gem::Specification.new do |spec|
8
9
  spec.version = RailsMenuManager::VERSION
9
10
  spec.authors = ['Florian Schwab']
10
11
  spec.email = ['me@ydkn.de']
11
-
12
- spec.summary = %q{Simple menu manager for Rails.}
13
- spec.description = %q{Simple menu manager for Rails.}
14
- spec.homepage = 'https://github.com/ydkn/rails-menu-manager'
12
+ spec.summary = 'Simple menu manager for Rails.'
13
+ spec.description = 'Simple menu manager for Rails.'
14
+ spec.homepage = 'https://gitlab.com/ydkn/rails-menu-manager'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -19,10 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'railties', '>= 4.0', '< 6.0'
22
+ spec.required_ruby_version = '>= 2.5.0'
23
+
24
+ spec.add_dependency 'railties', '>= 5.0', '< 7.1'
23
25
 
24
- spec.add_development_dependency 'bundler', '~> 1.9'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec', '~> 3.2'
27
- spec.add_development_dependency 'yard', '~> 0.8'
26
+ spec.add_development_dependency 'bundler'
27
+ spec.add_development_dependency 'rake'
28
+ spec.add_development_dependency 'rspec'
29
+ spec.add_development_dependency 'rubocop'
30
+ spec.add_development_dependency 'rubocop-performance'
28
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-menu-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,76 +16,90 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '5.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.0'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '4.0'
29
+ version: '5.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.0'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.9'
39
+ version: '0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '1.9'
46
+ version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '10.0'
53
+ version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '10.0'
60
+ version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubocop
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
66
80
  - !ruby/object:Gem::Version
67
- version: '3.2'
81
+ version: '0'
68
82
  type: :development
69
83
  prerelease: false
70
84
  version_requirements: !ruby/object:Gem::Requirement
71
85
  requirements:
72
- - - "~>"
86
+ - - ">="
73
87
  - !ruby/object:Gem::Version
74
- version: '3.2'
88
+ version: '0'
75
89
  - !ruby/object:Gem::Dependency
76
- name: yard
90
+ name: rubocop-performance
77
91
  requirement: !ruby/object:Gem::Requirement
78
92
  requirements:
79
- - - "~>"
93
+ - - ">="
80
94
  - !ruby/object:Gem::Version
81
- version: '0.8'
95
+ version: '0'
82
96
  type: :development
83
97
  prerelease: false
84
98
  version_requirements: !ruby/object:Gem::Requirement
85
99
  requirements:
86
- - - "~>"
100
+ - - ">="
87
101
  - !ruby/object:Gem::Version
88
- version: '0.8'
102
+ version: '0'
89
103
  description: Simple menu manager for Rails.
90
104
  email:
91
105
  - me@ydkn.de
@@ -94,28 +108,25 @@ extensions: []
94
108
  extra_rdoc_files: []
95
109
  files:
96
110
  - ".gitignore"
111
+ - ".gitlab-ci.yml"
97
112
  - ".rspec"
98
- - ".travis.yml"
113
+ - ".rubocop.yml"
99
114
  - CHANGELOG.md
100
115
  - Gemfile
101
116
  - LICENSE.txt
102
117
  - README.md
103
118
  - Rakefile
104
- - gemfiles/rails40
105
- - gemfiles/rails41
106
- - gemfiles/rails42
107
- - gemfiles/rails50
108
119
  - lib/rails-menu-manager.rb
109
120
  - lib/rails_menu_manager/action_controller.rb
110
121
  - lib/rails_menu_manager/menu_item.rb
111
122
  - lib/rails_menu_manager/railtie.rb
112
123
  - lib/rails_menu_manager/version.rb
113
124
  - rails-menu-manager.gemspec
114
- homepage: https://github.com/ydkn/rails-menu-manager
125
+ homepage: https://gitlab.com/ydkn/rails-menu-manager
115
126
  licenses:
116
127
  - MIT
117
128
  metadata: {}
118
- post_install_message:
129
+ post_install_message:
119
130
  rdoc_options: []
120
131
  require_paths:
121
132
  - lib
@@ -123,16 +134,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
134
  requirements:
124
135
  - - ">="
125
136
  - !ruby/object:Gem::Version
126
- version: '0'
137
+ version: 2.5.0
127
138
  required_rubygems_version: !ruby/object:Gem::Requirement
128
139
  requirements:
129
140
  - - ">="
130
141
  - !ruby/object:Gem::Version
131
142
  version: '0'
132
143
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 2.5.1
135
- signing_key:
144
+ rubygems_version: 3.2.32
145
+ signing_key:
136
146
  specification_version: 4
137
147
  summary: Simple menu manager for Rails.
138
148
  test_files: []
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- sudo: false
2
-
3
- language: ruby
4
-
5
- rvm:
6
- - 2.2.5
7
- - 2.3.1
8
-
9
- gemfile:
10
- - gemfiles/rails40
11
- - gemfiles/rails41
12
- - gemfiles/rails42
13
- - gemfiles/rails50
14
-
15
- script: bundle exec rake spec
16
-
17
- before_install:
18
- - gem install bundler -v '~> 1.12'
data/gemfiles/rails40 DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rails-menu-manager.gemspec
4
- gemspec path: '..'
5
-
6
-
7
- gem 'railties', '~> 4.0'
data/gemfiles/rails41 DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rails-menu-manager.gemspec
4
- gemspec path: '..'
5
-
6
-
7
- gem 'railties', '~> 4.1'
data/gemfiles/rails42 DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rails-menu-manager.gemspec
4
- gemspec path: '..'
5
-
6
-
7
- gem 'railties', '~> 4.2'
data/gemfiles/rails50 DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rails-menu-manager.gemspec
4
- gemspec path: '..'
5
-
6
-
7
- gem 'railties', '~> 5.0'