anvil-cli 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,7 +129,11 @@ private
129
129
  ignore = options[:ignore] || []
130
130
 
131
131
  if File.exists?("#{dir}/.slugignore")
132
- ignore += File.read("#{dir}/.slugignore").split("\n")
132
+ File.read("#{dir}/.slugignore").split("\n").each do |match|
133
+ Dir["#{dir}/**/#{match}"].each do |ignored_file|
134
+ ignore.push Pathname.new(ignored_file).relative_path_from(root).to_s
135
+ end
136
+ end
133
137
  end
134
138
 
135
139
  Dir.glob(File.join(dir, "**", "*"), File::FNM_DOTMATCH).inject({}) do |hash, file|
data/lib/anvil/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Anvil
2
- VERSION = "0.10.0"
2
+ VERSION = "0.11.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anvil-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: progress
16
- requirement: &70318640662440 !ruby/object:Gem::Requirement
16
+ requirement: &70095931235780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.4.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70318640662440
24
+ version_requirements: *70095931235780
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &70318640661820 !ruby/object:Gem::Requirement
27
+ requirement: &70095931235200 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.6.7
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70318640661820
35
+ version_requirements: *70095931235200
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: thor
38
- requirement: &70318640661300 !ruby/object:Gem::Requirement
38
+ requirement: &70095931234600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.15.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70318640661300
46
+ version_requirements: *70095931234600
47
47
  description: Alternate Heroku build workflow
48
48
  email: david@dollar.io
49
49
  executables: