-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from januszm/cleanup
Code cleanup
- Loading branch information
Showing
4 changed files
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ language: ruby | |
before_install: | ||
- gem install bundler | ||
rvm: | ||
- 2.2 | ||
- ruby-head | ||
- 2.2.2 | ||
- 2.1 | ||
- 2.0.0 | ||
- 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Slim | ||
module Rails | ||
VERSION = "3.0.1" | ||
VERSION = "3.0.2" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path('../lib/slim-rails/version', __FILE__) | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'slim-rails/version' | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ["Leonardo Almeida"] | ||
gem.email = ["[email protected]"] | ||
gem.description = 'Provides the generator settings required for Rails 3 and 4 to use Slim' | ||
gem.summary = 'Slim templates generator for Rails 3 and 4' | ||
gem.homepage = 'https://github.com/slim-template/slim-rails' | ||
gem.license = 'MIT' | ||
Gem::Specification.new do |spec| | ||
spec.name = 'slim-rails' | ||
spec.version = Slim::Rails::VERSION | ||
spec.authors = ["Leonardo Almeida"] | ||
spec.email = ["[email protected]"] | ||
|
||
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
gem.files = `git ls-files`.split("\n") | ||
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
gem.name = 'slim-rails' | ||
gem.require_paths = ['lib'] | ||
gem.version = Slim::Rails::VERSION | ||
spec.summary = 'Slim templates generator for Rails 3 and 4' | ||
spec.description = 'Provides the generator settings required for Rails 3 and 4 to use Slim' | ||
spec.homepage = 'https://github.com/slim-template/slim-rails' | ||
spec.license = 'MIT' | ||
|
||
gem.required_ruby_version = '>= 2.0.0' | ||
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
spec.files = `git ls-files`.split("\n") | ||
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
spec.require_paths = ['lib'] | ||
|
||
spec.required_ruby_version = '>= 2.0.0' | ||
|
||
spec.add_runtime_dependency 'actionpack', ['>= 3.1', '< 5.0'] | ||
spec.add_runtime_dependency 'railties', ['>= 3.1', '< 5.0'] | ||
spec.add_runtime_dependency 'slim', ['~> 3.0'] | ||
|
||
spec.add_development_dependency 'rocco' | ||
spec.add_development_dependency 'redcarpet' | ||
spec.add_development_dependency 'awesome_print' | ||
spec.add_development_dependency 'actionmailer', ['>= 3.1'] | ||
|
||
gem.add_development_dependency 'rake', '~> 10.4' | ||
gem.add_development_dependency 'rocco', '~> 0.8' | ||
gem.add_development_dependency 'redcarpet', '~> 3.2' | ||
gem.add_development_dependency 'awesome_print', '~> 1.2' | ||
gem.add_development_dependency 'actionmailer', ['>= 3.1'] | ||
gem.add_runtime_dependency 'actionpack', ['>= 3.1', '< 5.0'] | ||
gem.add_runtime_dependency 'railties', ['>= 3.1', '< 5.0'] | ||
gem.add_runtime_dependency 'slim', '~> 3.0' | ||
end |