guard-rails 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,3 +3,4 @@
3
3
  Gemfile.lock
4
4
  pkg/*
5
5
  .rvmrc
6
+ tmp/
data/Gemfile CHANGED
@@ -6,15 +6,12 @@ gem 'rake'
6
6
  gem 'fakefs', :require => nil
7
7
  gem 'guard'
8
8
  gem 'guard-rspec'
9
- gem 'mocha', '~> 0.12.3'
10
9
 
11
- require 'rbconfig'
12
- if RbConfig::CONFIG['target_os'] =~ /darwin/i
10
+ case RUBY_PLATFORM.downcase
11
+ when /darwin/
13
12
  gem 'rb-fsevent', '>= 0.3.9'
14
- gem 'growl', '~> 1.0.3'
15
- end
16
- if RbConfig::CONFIG['target_os'] =~ /linux/i
13
+ gem 'growl', '>= 1.0.3'
14
+ when /linux/
17
15
  gem 'rb-inotify', '>= 0.5.1'
18
- gem 'libnotify', '~> 0.1.3'
16
+ gem 'libnotify', '>= 0.1.3'
19
17
  end
20
-
data/Guardfile CHANGED
@@ -1,7 +1,7 @@
1
1
  # A sample Guardfile
2
2
  # More info at https://github.com/guard/guard#readme
3
3
 
4
- guard 'rspec', :version => 2 do
4
+ guard 'rspec' do
5
5
  watch(%r{^spec/.+_spec\.rb})
6
6
  watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
7
  watch('spec/spec_helper.rb') { "spec" }
data/README.md CHANGED
@@ -1,4 +1,9 @@
1
+ # Guard-rails is watching on your railses!
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/guard-rails.png)](http://badge.fury.io/rb/guard-rails)
1
4
  [![Build Status](https://travis-ci.org/ranmocy/guard-rails.png)](https://travis-ci.org/ranmocy/guard-rails)
5
+ [![Dependency Status](https://gemnasium.com/ranmocy/guard-rails.png)](https://gemnasium.com/ranmocy/guard-rails)
6
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/ranmocy/guard-rails)
2
7
 
3
8
  Want to restart your Rails development server whilst you work? Now you can!
4
9
 
data/guard-rails.gemspec CHANGED
@@ -20,6 +20,6 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_dependency 'guard', '>= 0.2.2'
22
22
 
23
- s.add_development_dependency 'rspec', '~> 2.6.0'
24
- s.add_development_dependency 'mocha', '~> 0.12.3'
23
+ s.add_development_dependency 'rspec', '>= 2.6.0'
24
+ s.add_development_dependency 'mocha', '>= 0.13.1'
25
25
  end
@@ -1,4 +1,4 @@
1
1
  module GuardRails
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
4
4
 
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'mocha_standalone'
1
+ require 'mocha/api'
2
2
 
3
3
  RSpec.configure do |c|
4
4
  c.mock_with :mocha
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -33,14 +33,14 @@ dependencies:
33
33
  prerelease: false
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
- - - ~>
36
+ - - ! '>='
37
37
  - !ruby/object:Gem::Version
38
38
  version: 2.6.0
39
39
  none: false
40
40
  type: :development
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: 2.6.0
46
46
  none: false
@@ -49,16 +49,16 @@ dependencies:
49
49
  prerelease: false
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.12.3
54
+ version: 0.13.1
55
55
  none: false
56
56
  type: :development
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.12.3
61
+ version: 0.13.1
62
62
  none: false
63
63
  description: Restart Rails when things change in your app
64
64
  email: