From ee3b263e1efb9461df8ff795b45f744252cf2e21 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Fri, 5 Jan 2018 20:27:10 -0800 Subject: [PATCH 1/5] Increment version to 4.0.0.dev --- lib/bootstrap_form/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootstrap_form/version.rb b/lib/bootstrap_form/version.rb index b8ef5efb2..603ffe175 100644 --- a/lib/bootstrap_form/version.rb +++ b/lib/bootstrap_form/version.rb @@ -1,3 +1,3 @@ module BootstrapForm - VERSION = "2.7.0".freeze + VERSION = "4.0.0.dev".freeze end From 2e77274fdf4d33d26c9656a80b9b7ab977afc547 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Fri, 5 Jan 2018 20:27:32 -0800 Subject: [PATCH 2/5] Clarify in gemspec that we target Bootstrap v4 --- bootstrap_form.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap_form.gemspec b/bootstrap_form.gemspec index 2510a7eaa..78ec57c38 100644 --- a/bootstrap_form.gemspec +++ b/bootstrap_form.gemspec @@ -10,8 +10,8 @@ Gem::Specification.new do |s| s.authors = ["Stephen Potenza", "Carlos Lopes"] s.email = ["potenza@gmail.com", "carlos.el.lopes@gmail.com"] s.homepage = "http://github.com/bootstrap-ruby/rails-bootstrap-forms" - s.summary = "Rails form builder that makes it easy to style forms using Twitter Bootstrap 3+" - s.description = "bootstrap_form is a rails form builder that makes it super easy to create beautiful-looking forms using Twitter Bootstrap 3+" + s.summary = "Rails form builder that makes it easy to style forms using Bootstrap 4" + s.description = "bootstrap_form is a rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 4" s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"] s.test_files = Dir["test/**/*"] From 7b7cf60d3501df07b20b33c8e082b947b909e014 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Fri, 5 Jan 2018 20:32:14 -0800 Subject: [PATCH 3/5] Clean up gemspec * Based on latest `bundle gem` template * Alphabetize dependencies * Add license * Homepage http -> https --- bootstrap_form.gemspec | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/bootstrap_form.gemspec b/bootstrap_form.gemspec index 78ec57c38..02eefe81e 100644 --- a/bootstrap_form.gemspec +++ b/bootstrap_form.gemspec @@ -1,6 +1,5 @@ -$:.push File.expand_path("../lib", __FILE__) - -# Maintain your gem's version: +lib = File.expand_path("../lib", __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "bootstrap_form/version" # Describe your gem and declare its dependencies: @@ -9,20 +8,25 @@ Gem::Specification.new do |s| s.version = BootstrapForm::VERSION s.authors = ["Stephen Potenza", "Carlos Lopes"] s.email = ["potenza@gmail.com", "carlos.el.lopes@gmail.com"] - s.homepage = "http://github.com/bootstrap-ruby/rails-bootstrap-forms" - s.summary = "Rails form builder that makes it easy to style forms using Bootstrap 4" - s.description = "bootstrap_form is a rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 4" + s.homepage = "https://github.com/bootstrap-ruby/rails-bootstrap-forms" + s.summary = "Rails form builder that makes it easy to style forms using "\ + "Bootstrap 4" + s.description = "bootstrap_form is a rails form builder that makes it super "\ + "easy to create beautiful-looking forms using Bootstrap 4" + s.license = "MIT" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"] - s.test_files = Dir["test/**/*"] + s.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) + end + s.bindir = "exe" + s.add_development_dependency "appraisal" + s.add_development_dependency "diffy" + s.add_development_dependency "equivalent-xml" s.add_development_dependency "mime-types", "~> 2.6.2" + s.add_development_dependency "mocha" + s.add_development_dependency "nokogiri" s.add_development_dependency "rails", ">= 4.0" s.add_development_dependency "sqlite3" s.add_development_dependency "timecop", "~> 0.7.1" - s.add_development_dependency "mocha" - s.add_development_dependency "appraisal" - s.add_development_dependency "equivalent-xml" - s.add_development_dependency "nokogiri" - s.add_development_dependency "diffy" end From 3d4ba3de7063b86175b9025d26b45645501a3906 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Fri, 5 Jan 2018 20:34:05 -0800 Subject: [PATCH 4/5] Move license to well-known location --- MIT-LICENSE => LICENSE.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename MIT-LICENSE => LICENSE.txt (100%) diff --git a/MIT-LICENSE b/LICENSE.txt similarity index 100% rename from MIT-LICENSE rename to LICENSE.txt From 910f24b495480331b66ff9c6cbb873f3967d8a7d Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Fri, 5 Jan 2018 20:34:23 -0800 Subject: [PATCH 5/5] =?UTF-8?q?Happy=20new=20year!=20=F0=9F=8E=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index f2e4d631a..97cb890a0 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright 2012-2014 Stephen Potenza +Copyright 2012-2018 Stephen Potenza Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the