anvil-cli 0.9.3 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -128,6 +128,10 @@ private
128
128
  root = Pathname.new(dir)
129
129
  ignore = options[:ignore] || []
130
130
 
131
+ if File.exists?("#{dir}/.slugignore")
132
+ ignore += File.read("#{dir}/.slugignore").split("\n")
133
+ end
134
+
131
135
  Dir.glob(File.join(dir, "**", "*"), File::FNM_DOTMATCH).inject({}) do |hash, file|
132
136
  relative = Pathname.new(file).relative_path_from(root).to_s
133
137
  next(hash) if ignore.include?(relative)
data/lib/anvil/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Anvil
2
- VERSION = "0.9.3"
2
+ VERSION = "0.10.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.9.3
4
+ version: 0.10.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-12 00:00:00.000000000 Z
12
+ date: 2012-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: progress
16
- requirement: &70178382004820 !ruby/object:Gem::Requirement
16
+ requirement: &70318640662440 !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: *70178382004820
24
+ version_requirements: *70318640662440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &70178382003860 !ruby/object:Gem::Requirement
27
+ requirement: &70318640661820 !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: *70178382003860
35
+ version_requirements: *70318640661820
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: thor
38
- requirement: &70178382003000 !ruby/object:Gem::Requirement
38
+ requirement: &70318640661300 !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: *70178382003000
46
+ version_requirements: *70318640661300
47
47
  description: Alternate Heroku build workflow
48
48
  email: david@dollar.io
49
49
  executables: