-
Notifications
You must be signed in to change notification settings - Fork 84
/
foundation_rails_helper.gemspec
38 lines (33 loc) · 1.57 KB
/
foundation_rails_helper.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# frozen_string_literal: true
require File.expand_path('../lib/foundation_rails_helper/version', __FILE__)
class Gem::Specification # rubocop:disable ClassAndModuleChildren
def self.rails_gem_version
# Allow different versions of the rails gems to be specified, for testing
@rails_gem_version ||=
ENV['RAILS_VERSION'] ? "~> #{ENV['RAILS_VERSION']}" : ['>= 4.1', '< 7.1']
end
end
Gem::Specification.new do |gem|
gem.authors = ['Sebastien Gruhier']
gem.email = ['[email protected]']
gem.description =
'Rails for zurb foundation CSS framework. Form builder, flash message, ...'
gem.summary = 'Rails helpers for zurb foundation CSS framework'
gem.homepage = 'http://github.com/sgruhier/foundation_rails_helper'
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 = 'foundation_rails_helper'
gem.require_paths = %w(lib)
gem.version = FoundationRailsHelper::VERSION
gem.license = 'MIT'
gem.add_dependency 'railties', Gem::Specification.rails_gem_version
gem.add_dependency 'actionpack', Gem::Specification.rails_gem_version
gem.add_dependency 'activemodel', Gem::Specification.rails_gem_version
gem.add_dependency 'activesupport', Gem::Specification.rails_gem_version
gem.add_development_dependency 'rspec-rails', '~> 3.1'
gem.add_development_dependency 'mime-types', '~> 2'
gem.add_development_dependency 'capybara', '~> 2.7'
gem.add_development_dependency 'rubocop', '~> 0.44.1'
end