guard-consistency_fail 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjY1YzNhNzExYTlmNzYwZjVhMWZiYWZhZjdjMDBmZTA4YzcyZDY1Nw==
4
+ MDM0ZTZjNTliNWE1OGM5ZmIwNzI2YmIzYjJiYzNkMGM2NjRjN2FjNQ==
5
5
  data.tar.gz: !binary |-
6
- N2VjMTRlZWMwN2QwNWQ1YzVhN2Y2MWEyODI0ZDM0ZmFmYWYyYmI4ZQ==
6
+ OTE1NWNlZWVjZGQwMDU4ZTE1MzVlNzEwZWFiZDQwNDRmODhiZTEzYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTRlODhjMmZhYjMyZTU3ZmZjZmM2Njc4MTJlZjU0YjJiNzE0YThjMzNkY2Yw
10
- MmExNWJmNmZjZDVlYjIyMzlkZTM0MDgwMjg0MjM4ZTBjOGU3NWMyNTU4Mjdk
11
- OGRkMTM1NTk2YmNmN2E0NTg0MDY5OGQ0ODdmMDMxMzlhYjUyMWU=
9
+ ZmNiM2MwYmU5ODEwM2ZjZjVlNzQ1MzZlNmRmZDM2N2Y3ZGFkZTRjZTBjY2M4
10
+ OWY3ZGFhNTVkOGIzNDI3OWE0N2Y3ZDE5MDRlZGI2YmQzZTkwOWJjMjI2OGY3
11
+ YThhODg5OTMzY2RlM2ViY2NjMDM3OWQ3YzVkZTc4NjdiNjg1OGI=
12
12
  data.tar.gz: !binary |-
13
- MzJhZGMzZmJmY2I4ZGU2ZmMyMWZmYzg1NTc0MjJhYzY0OTQ3ZDRlZDE5NGY4
14
- Y2IyNjgwYzQxYzI1NzdlNjNkZGZjNjMzODAxODc5OGJlZjdhMDg5YTBiMDRi
15
- MjU0YWE5ZjA1NTEwYzI2YmE0MDdkZWQ2YzczMTkyNmU1ODI0OGM=
13
+ MWU1YzZhNmZiNDZiYzU4YmY1YjkyODAwZjhmNGM3MjVmMWM1NjI0YTRmNGJl
14
+ Mzk4OGY2M2FkNmU0MjBmMDlhNzAwMzhjZjFkYzBjY2FmYjEwMTJjYTQzNmU0
15
+ ZDA4MzRiM2MxNjEwODNjYzI0NzBhYzRkMWI4NGI3MmE3MWU0ZTc=
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ - "2.0.0"
5
+ - jruby-19mode # JRuby in 1.9 mode
6
+ # uncomment this line if your project needs to run something other than `rake`:
7
+ script: bundle exec rspec spec
data/README.markdown CHANGED
@@ -1,6 +1,8 @@
1
1
  # Guard::ConsistencyFail
2
2
 
3
- Guard::ConsistencyFail automatically runs consistency fail when model or schema.rb changes
3
+ Guard::ConsistencyFail automates running of checks from [consistency_fail](https://github.com/trptcolin/consistency_fail) in guard when model or schema.rb changes.
4
+
5
+ [![Gem Version](https://badge.fury.io/rb/guard-consistency_fail.svg)](http://badge.fury.io/rb/guard-consistency_fail) [![Code Climate](https://codeclimate.com/github/ptyagi16/guard-consistency_fail.png)](https://codeclimate.com/github/ptyagi16/guard-consistency_fail) [![Build Status](https://travis-ci.org/ptyagi16/guard-consistency_fail.svg?branch=master)](https://travis-ci.org/ptyagi16/guard-consistency_fail)
4
6
 
5
7
  ## Install
6
8
 
@@ -20,7 +22,7 @@ Add guard definition to your Guardfile by running this command:
20
22
 
21
23
  ## Usage
22
24
 
23
- Please read [Guard usage doc](http://github.com/guard/guard#readme).
25
+ Please read [Guard usage doc](http://github.com/guard/guard#readme). Also please refer to [consistency_fail](https://github.com/trptcolin/consistency_fail) for details on how the consistency_fail gem works.
24
26
 
25
27
  ## Guardfile
26
28
 
@@ -47,11 +49,11 @@ you make.
47
49
 
48
50
  * Push to rubygems.org:
49
51
 
50
- gem push guard-consistency_fail-0.0.8.gem
52
+ gem push guard-consistency_fail-0.0.9.gem
51
53
 
52
54
  ## Testing the gem locally
53
55
 
54
- gem install guard-consistency_fail-0.0.8.gem
56
+ gem install guard-consistency_fail-0.0.9.gem
55
57
 
56
58
 
57
59
  ## Authors
@@ -60,7 +62,6 @@ you make.
60
62
 
61
63
  Ideas for this gem came from [Guard::Delayed](https://github.com/guard/guard-delayed).
62
64
 
63
- ## Note
65
+ ## License
64
66
 
65
- I originally called this `guard-consistency_fail` and had issues with pushing new gems.
66
- Anybody else encountered this? Let me know if you have. Thanks in advance.
67
+ MIT License. See License file.
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module ConsistencyFailVersion
3
- VERSION = '0.0.8'
3
+ VERSION = '0.0.9'
4
4
  end
5
5
  end
@@ -42,7 +42,7 @@ module Guard
42
42
  def cmd
43
43
  command = "consistency_fail"
44
44
  command = "export RAILS_ENV=#{@options[:environment]}; #{command}" if @options[:environment]
45
- puts "Running #{command}"
45
+ UI.info "Running consistency_fail: #{command}"
46
46
  command
47
47
  end
48
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-consistency_fail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pankaj Tyagi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-03 00:00:00.000000000 Z
11
+ date: 2014-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -103,6 +103,7 @@ extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
105
  - .gitignore
106
+ - .travis.yml
106
107
  - CHANGELOG.md
107
108
  - Gemfile
108
109
  - Guardfile