fragment.gemspec in fragment-1.0.0 vs fragment.gemspec in fragment-1.1.0
- old
+ new
@@ -1,13 +1,21 @@
+require_relative './lib/fragment/version'
+
Gem::Specification.new do |s|
+
s.name = 'fragment'
- s.version = "1.0.0"
- s.platform = Gem::Platform::RUBY
+ s.version = Fragment.version
s.summary = "Lightweight HTML builder"
s.description = "An HTML builder heavily based on Gestalt from the Ramaze framework. Its main purpose is to create fragments (hence the name), but is perfectly suited for building full pages."
- s.files = `git ls-files`.split("\n").sort
- s.require_path = './lib'
s.author = "Mickael Riga"
s.email = "mig@mypeplum.com"
s.homepage = "https://github.com/mig-hub/fragment"
- s.add_development_dependency(%q<bacon>, "~> 1.1.0")
+ s.licenses = ['MIT']
+
+ s.platform = Gem::Platform::RUBY
+ s.require_path = './lib'
+ s.files = `git ls-files`.split("\n").sort
+ s.test_files = s.files.select { |p| p =~ /^spec\/.*_spec.rb/ }
+
+ s.add_development_dependency("rspec")
end
+