Skip to content

Commit

Permalink
dropping support for ruby 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GBH committed Mar 12, 2018
1 parent 3c1f17a commit 93c874f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,6 +1,5 @@
language: ruby
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@ Make sure that you have [ComfortableMexicanSofa](https://github.com/comfy/comfor
Add gem definition to your Gemfile:

```ruby
gem 'comfy_blog', '~> 2.0.0'
gem "comfy_blog", "~> 2.0.0"
```

Then from the Rails project's root run:
Expand Down
2 changes: 2 additions & 0 deletions app/controllers/comfy/admin/blog/posts_controller.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class Comfy::Admin::Blog::PostsController < Comfy::Admin::Cms::BaseController

before_action :build_post, only: %i[new create]
Expand Down
2 changes: 2 additions & 0 deletions app/controllers/comfy/admin/blog/revisions/post_controller.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class Comfy::Admin::Blog::Revisions::PostController < Comfy::Admin::Cms::Revisions::BaseController

def show
Expand Down
2 changes: 2 additions & 0 deletions app/controllers/comfy/blog/posts_controller.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class Comfy::Blog::PostsController < Comfy::Cms::BaseController

include Comfy::Paginate
Expand Down
2 changes: 2 additions & 0 deletions app/models/comfy/blog/post.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class Comfy::Blog::Post < ActiveRecord::Base

self.table_name = "comfy_blog_posts"
Expand Down
2 changes: 1 addition & 1 deletion comfy_blog.gemspec
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|

s.require_paths = ["lib"]

s.required_ruby_version = ">= 2.2.2"
s.required_ruby_version = ">= 2.3.0"

s.add_dependency "comfortable_mexican_sofa", ">= 2.0.10"
end

0 comments on commit 93c874f

Please sign in to comment.