guard-git 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -6
- data/guard-git.gemspec +1 -1
- data/lib/guard/git/version.rb +1 -1
- metadata +1 -7
- data/.gitignore +0 -12
- data/.rspec +0 -3
- data/.rubocop.yml +0 -6
- data/.travis.yml +0 -5
- data/Guardfile +0 -24
- data/Rakefile +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a58df6cd76dba0811427366a070fbf71e18ca260
|
|
4
|
+
data.tar.gz: e3127311154efdfa4ae6468db39fb76f83e9dde2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84d6066fefb9122f0b5419875072532bb0d22d9718427c251db9d88b4b56614d99cbc71686e90d44156390a7b825e0d69d0607e3801b03f601e94fc5af8d52a0
|
|
7
|
+
data.tar.gz: 3374e816bb6f9cdcf8b04480b2f628b15b933d011899fb74428c63db58ef02b106ac1e43ca5facaa95cac88c977bb53b8d88b84c2cb5bd90e4026281f20d9b96
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -5,20 +5,17 @@ you change branches.
|
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
cloning this repo.
|
|
10
|
-
|
|
11
|
-
~Add this line to your application's Gemfile:~
|
|
8
|
+
Add this line to your application's Gemfile:
|
|
12
9
|
|
|
13
10
|
```ruby
|
|
14
11
|
gem 'guard-git'
|
|
15
12
|
```
|
|
16
13
|
|
|
17
|
-
|
|
14
|
+
And then execute:
|
|
18
15
|
|
|
19
16
|
$ bundle
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
Or install it yourself as:
|
|
22
19
|
|
|
23
20
|
$ gem install guard-git
|
|
24
21
|
|
data/guard-git.gemspec
CHANGED
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
19
19
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
20
20
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
21
|
-
f.match(%r{^(test|spec|features|test_project|bin|Rakefile)
|
|
21
|
+
f.match(%r{^((test|spec|features|test_project|bin|)/|Rakefile|Guardfile|\.)})
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
spec.bindir = 'exe'
|
data/lib/guard/git/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guard-git
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Patterson
|
|
@@ -129,16 +129,10 @@ executables: []
|
|
|
129
129
|
extensions: []
|
|
130
130
|
extra_rdoc_files: []
|
|
131
131
|
files:
|
|
132
|
-
- ".gitignore"
|
|
133
|
-
- ".rspec"
|
|
134
|
-
- ".rubocop.yml"
|
|
135
|
-
- ".travis.yml"
|
|
136
132
|
- Gemfile
|
|
137
133
|
- Gemfile.lock
|
|
138
|
-
- Guardfile
|
|
139
134
|
- LICENSE.txt
|
|
140
135
|
- README.md
|
|
141
|
-
- Rakefile
|
|
142
136
|
- guard-git.gemspec
|
|
143
137
|
- lib/guard/git.rb
|
|
144
138
|
- lib/guard/git/changed_files_matcher.rb
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/.travis.yml
DELETED
data/Guardfile
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
ignore(%r{.*test_project/.*})
|
|
4
|
-
|
|
5
|
-
group :red_green_refactor, halt_on_fail: true do
|
|
6
|
-
guard :rspec, cmd: 'bundle exec rspec' do
|
|
7
|
-
require 'guard/rspec/dsl'
|
|
8
|
-
dsl = Guard::RSpec::Dsl.new(self)
|
|
9
|
-
|
|
10
|
-
# RSpec files
|
|
11
|
-
rspec = dsl.rspec
|
|
12
|
-
watch(rspec.spec_helper) { rspec.spec_dir }
|
|
13
|
-
watch(rspec.spec_support) { rspec.spec_dir }
|
|
14
|
-
watch(rspec.spec_files)
|
|
15
|
-
|
|
16
|
-
# lib files
|
|
17
|
-
watch(%r{^lib/(.*)\.rb$}) { |m| "#{rspec.spec_dir}/#{m}_spec.rb" }
|
|
18
|
-
watch(%r{^lib/.*\.rb$}) { 'spec/guard/git_integration_spec.rb' }
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
guard :rubocop, cli: ['--auto-correct'] do
|
|
22
|
-
watch(/.+\.rb$/)
|
|
23
|
-
end
|
|
24
|
-
end
|