Skip to content

Commit 0ef04f6

Browse files
Tidy gemspec file. Point the gem's version to CriticalPathCSS::Rails::VERSION
1 parent d55ae95 commit 0ef04f6

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

critical-path-css-rails.gemspec

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1+
require File.expand_path('../lib/critical_path_css/rails/version', __FILE__)
2+
13
Gem::Specification.new do |s|
2-
s.name = 'critical-path-css'
3-
s.version = '0.0.0'
4-
s.date = '2015-08-27'
5-
s.summary = 'Critical Path CSS'
6-
s.description = 'Critical Path CSS'
4+
s.name = 'critical-path-css-rails'
5+
s.version = CriticalPathCSS::Rails::VERSION
6+
s.platform = Gem::Platform::RUBY
77
s.authors = ['Michael Misshore']
88
s.email = 'mmisshore@gmail.com'
9-
s.homepage = 'http://rubygems.org/gems/critical-path-css'
9+
s.summary = 'Critical Path CSS for Rails!'
10+
s.description = 'Only load the CSS you need for the initial viewport in Rails!'
1011
s.license = 'MIT'
1112

12-
s.add_runtime_dependency 'phantomjs', ['~> 1.9.8.0']
13+
s.add_runtime_dependency 'phantomjs', ['~> 1.9']
1314

1415
s.files = `git ls-files`.split("\n")
1516
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
1617
s.require_path = 'lib'
17-
end
18+
end
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module CriticalPathCSS
2+
module Rails
3+
VERSION = '0.1.0'
4+
PENTHOUSE_VERSION = '0.3.4'
5+
end
6+
end

0 commit comments

Comments
 (0)