guard-consistency_fail 0.0.9 → 0.0.10

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
- MDM0ZTZjNTliNWE1OGM5ZmIwNzI2YmIzYjJiYzNkMGM2NjRjN2FjNQ==
4
+ MmU1MzU4NzFlNDc1MDEzYjI0ZTQyZWZhYzQzNjgxOWY0MjFlMzNkNw==
5
5
  data.tar.gz: !binary |-
6
- OTE1NWNlZWVjZGQwMDU4ZTE1MzVlNzEwZWFiZDQwNDRmODhiZTEzYw==
6
+ YTgzMzdmZTZhMzNmZmJkZjZkNWViZDkzNzllMDFmNTc5YTFhYTkyYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZmNiM2MwYmU5ODEwM2ZjZjVlNzQ1MzZlNmRmZDM2N2Y3ZGFkZTRjZTBjY2M4
10
- OWY3ZGFhNTVkOGIzNDI3OWE0N2Y3ZDE5MDRlZGI2YmQzZTkwOWJjMjI2OGY3
11
- YThhODg5OTMzY2RlM2ViY2NjMDM3OWQ3YzVkZTc4NjdiNjg1OGI=
9
+ NGYwNTAwNGU3MThjZTZlMTVkNTkzYzgwNDRkMGFhZmI2NTA4M2ZkOGViNDFh
10
+ MGJhMzJiZmQwYWEwODQ4NWEzYTQ5ZGEwM2RkYjlkMDEwM2YwMzRlYTJlNDNh
11
+ NmQwZjk2ZDA1MjhhNTUyODkxMmM2YWQzMjBiYWE3ZTY1MzZmZjg=
12
12
  data.tar.gz: !binary |-
13
- MWU1YzZhNmZiNDZiYzU4YmY1YjkyODAwZjhmNGM3MjVmMWM1NjI0YTRmNGJl
14
- Mzk4OGY2M2FkNmU0MjBmMDlhNzAwMzhjZjFkYzBjY2FmYjEwMTJjYTQzNmU0
15
- ZDA4MzRiM2MxNjEwODNjYzI0NzBhYzRkMWI4NGI3MmE3MWU0ZTc=
13
+ YjQxZDgwNDZkMThmMGUwNzJiZDA0YjVjNGMyZTZhZjI4Y2U4YjZlOTAzMGU5
14
+ ZTJmOWNlYjE3NzgwMTcwZGI0MjI0ZDhhOTc1NTI5ZjA0ODA1YzAxNzczMzQy
15
+ MjA0N2JiZWJkMzlmMTM5NjY3OWJiNWMxYmM0N2JhM2M3YzU2NzE=
data/README.markdown CHANGED
@@ -12,7 +12,7 @@ Install the gem:
12
12
 
13
13
  gem install guard-delayed
14
14
 
15
- Add it to your Gemfile (inside test group):
15
+ Add it to your Gemfile (inside development group):
16
16
 
17
17
  gem 'guard-consistency_fail'
18
18
 
@@ -41,26 +41,26 @@ you make.
41
41
 
42
42
  ## Building and deploying gem
43
43
 
44
- * Update the version number in `lib/guard/consistency_fail/version.rb`
45
- * Update `CHANGELOG.md`
46
- * Build the gem:
44
+ * Update the version number in `lib/guard/consistency_fail/version.rb`
45
+ * Update `CHANGELOG.md`
46
+ * Build the gem
47
47
 
48
- gem build guard-consistency_fail.gemspec
48
+ `gem build guard-consistency_fail.gemspec`
49
49
 
50
- * Push to rubygems.org:
51
-
52
- gem push guard-consistency_fail-0.0.9.gem
50
+ * Push to rubygems.org
51
+
52
+ `gem push guard-consistency_fail-0.0.10.gem`
53
53
 
54
54
  ## Testing the gem locally
55
55
 
56
- gem install guard-consistency_fail-0.0.9.gem
56
+ gem install guard-consistency_fail-0.0.10.gem
57
57
 
58
58
 
59
59
  ## Authors
60
60
 
61
61
  [Pankaj Tyagi](https://github.com/ptyagi16)
62
62
 
63
- Ideas for this gem came from [Guard::Delayed](https://github.com/guard/guard-delayed).
63
+ Ideas for this gem came from [consistency_fail](https://github.com/trptcolin/consistency_fail) and [Guard::Delayed](https://github.com/guard/guard-delayed).
64
64
 
65
65
  ## License
66
66
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module ConsistencyFailVersion
3
- VERSION = '0.0.9'
3
+ VERSION = '0.0.10'
4
4
  end
5
5
  end
@@ -40,7 +40,7 @@ module Guard
40
40
  private
41
41
 
42
42
  def cmd
43
- command = "consistency_fail"
43
+ command = 'consistency_fail'
44
44
  command = "export RAILS_ENV=#{@options[:environment]}; #{command}" if @options[:environment]
45
45
  UI.info "Running consistency_fail: #{command}"
46
46
  command
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.9
4
+ version: 0.0.10
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-04 00:00:00.000000000 Z
11
+ date: 2014-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -100,21 +100,16 @@ email:
100
100
  - ptyagi@tyagination.com
101
101
  executables: []
102
102
  extensions: []
103
- extra_rdoc_files: []
104
- files:
105
- - .gitignore
106
- - .travis.yml
107
- - CHANGELOG.md
108
- - Gemfile
109
- - Guardfile
110
- - LICENSE
103
+ extra_rdoc_files:
111
104
  - README.markdown
112
- - Rakefile
113
- - guard-consistency_fail.gemspec
114
- - lib/guard-consistency_fail.rb
115
- - lib/guard/consistency_fail.rb
105
+ - LICENSE
106
+ files:
116
107
  - lib/guard/consistency_fail/templates/Guardfile
117
108
  - lib/guard/consistency_fail/version.rb
109
+ - lib/guard/consistency_fail.rb
110
+ - lib/guard-consistency_fail.rb
111
+ - README.markdown
112
+ - LICENSE
118
113
  - spec/guard/consistency_fail_spec.rb
119
114
  - spec/spec_helper.rb
120
115
  homepage: http://rubygems.org/gems/guard-consistency_fail
data/.gitignore DELETED
@@ -1,7 +0,0 @@
1
- *.gem
2
- .bundle
3
- Gemfile.lock
4
- pkg/*
5
- tmp/*
6
- .idea/*
7
-
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
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/CHANGELOG.md DELETED
@@ -1,3 +0,0 @@
1
- ## 0.0.3 (2014-04-03)
2
-
3
- * Initial release.
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Specify your gem's dependencies in guard-consistency_fail.gemspec
4
- gemspec
data/Guardfile DELETED
@@ -1,10 +0,0 @@
1
- guard 'bundler' do
2
- watch(/^Gemfile/)
3
- watch(/^.+\.gemspec/)
4
- end
5
-
6
- guard 'rspec' do
7
- watch(/^spec\/.*_spec\.rb/)
8
- watch(/^lib\/(.*)\.rb/) { |m| "spec/#{m[1]}_spec.rb" }
9
- watch(/^spec\/spec_helper\.rb/) { "spec" }
10
- end
data/Rakefile DELETED
@@ -1,32 +0,0 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks
3
-
4
- require 'rspec/core/rake_task'
5
- RSpec::Core::RakeTask.new(:spec)
6
- task :default => :spec
7
-
8
- namespace(:spec) do
9
- desc "Run all specs on multiple ruby versions (requires rvm)"
10
- task(:portability) do
11
- rubies = if ENV['RUBIES']
12
- ENV['RUBIES'].split(' ')
13
- else
14
- %w[1.8.7 1.9.2 ree jruby]
15
- end
16
- rubies.each do |version|
17
- rvm_ruby = if ENV['GEMSET']
18
- "#{version}@#{ENV['GEMSET']}"
19
- else
20
- version
21
- end
22
- system <<-BASH
23
- bash -c '
24
- source ~/.rvm/scripts/rvm;
25
- rvm #{rvm_ruby};
26
- echo "--------- version #{rvm_ruby} ----------\n";
27
- bundle install;
28
- rake spec'
29
- BASH
30
- end
31
- end
32
- end
@@ -1,31 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "guard/consistency_fail/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "guard-consistency_fail"
7
- s.version = Guard::ConsistencyFailVersion::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Pankaj Tyagi"]
10
- s.email = ["ptyagi@tyagination.com"]
11
- s.homepage = 'http://rubygems.org/gems/guard-consistency_fail'
12
- s.summary = %q{guard gem for consistency_fail}
13
- s.description = %q{Guard::ConsistencyFail automatically runs consistency fail when model or schema.rb changes}
14
- s.license = 'MIT'
15
-
16
- s.required_rubygems_version = '>= 1.3.6'
17
- s.rubyforge_project = "guard-consistency_fail"
18
-
19
- s.add_dependency 'guard', '>= 0.3.0'
20
- s.add_dependency 'consistency_fail'
21
-
22
- s.add_development_dependency 'bundler', '> 1.0.10'
23
- s.add_development_dependency 'rspec', '> 2.5.0'
24
- s.add_development_dependency 'guard-rspec', '> 0.2.0'
25
- s.add_development_dependency 'guard-bundler', '> 0.1.1'
26
-
27
- s.files = `git ls-files`.split("\n")
28
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
29
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
30
- s.require_paths = ["lib"]
31
- end