From 0c2f04f73b29f0363bb9c2e88915af610daad455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Tue, 17 Sep 2013 23:46:28 +0200 Subject: [PATCH] Prepare for 2.0.0 --- Gemfile | 1 - guard-compass.gemspec | 5 ++--- lib/guard/compass/version.rb | 4 +++- spec/guard/compass_spec.rb | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 320067d..9c27b16 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,6 @@ gem 'rake' group :development do gem 'ruby_gntp' gem 'guard-rspec' - gem 'pimpmychangelog' end # The test group will be diff --git a/guard-compass.gemspec b/guard-compass.gemspec index eef0126..67e7915 100644 --- a/guard-compass.gemspec +++ b/guard-compass.gemspec @@ -1,11 +1,10 @@ -# -*- encoding: utf-8 -*- +# encoding: utf-8 $:.push File.expand_path('../lib', __FILE__) require 'guard/compass/version' Gem::Specification.new do |s| s.name = 'guard-compass' s.version = Guard::CompassVersion::VERSION - s.platform = Gem::Platform::RUBY s.license = 'MIT' s.authors = ['Olivier Amblet', 'Rémy Coutable'] s.email = ['remy@rymai.me'] @@ -13,7 +12,7 @@ Gem::Specification.new do |s| s.summary = 'Guard plugin for Compass' s.description = 'Guard::Compass automatically rebuilds scss|sass files when a modification occurs taking in account your compass configuration.' - s.add_runtime_dependency 'guard', '~> 2.0' + s.add_runtime_dependency 'guard', '2.0.0.pre.2' s.add_runtime_dependency 'compass', '>= 0.10.5' s.add_development_dependency 'bundler' diff --git a/lib/guard/compass/version.rb b/lib/guard/compass/version.rb index 5b8408e..5773896 100644 --- a/lib/guard/compass/version.rb +++ b/lib/guard/compass/version.rb @@ -1,5 +1,7 @@ module Guard module CompassVersion - VERSION = '0.0.8' + + VERSION = '1.0.0' + end end diff --git a/spec/guard/compass_spec.rb b/spec/guard/compass_spec.rb index 8727a97..073c60b 100644 --- a/spec/guard/compass_spec.rb +++ b/spec/guard/compass_spec.rb @@ -23,7 +23,7 @@ end it "might be initialized with options" do - g = Guard::Compass.new([], project_path: 'test', configuration_file: 'test_also') + g = Guard::Compass.new(project_path: 'test', configuration_file: 'test_also') g.options[:project_path].should eq 'test' g.options[:configuration_file].should eq 'test_also' end @@ -188,7 +188,7 @@ describe "with a bad configuration file parameter" do before do create_fixture(:custom_config_file) - @guard = Guard::Compass.new([], configuration_file: 'invalid.rb') + @guard = Guard::Compass.new(configuration_file: 'invalid.rb') end after do @@ -229,7 +229,7 @@ describe "in customized project" do before do create_fixture :custom_config_file - @guard = Guard::Compass.new([], project_path: "#{TMP_PATH}/custom_config_file", configuration_file: 'another_config_location/config.rb') + @guard = Guard::Compass.new(project_path: "#{TMP_PATH}/custom_config_file", configuration_file: 'another_config_location/config.rb') end after do @@ -248,7 +248,7 @@ describe "with relative return in working_directory" do before do create_fixture :custom_config_file_2 - @guard = Guard::Compass.new([], project_path: "..", configuration_file: 'another_config_location/config.rb') + @guard = Guard::Compass.new(project_path: "..", configuration_file: 'another_config_location/config.rb') end after do