githubbish_assets 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{githubbish_assets}
8
- s.version = "0.1.8"
8
+ s.version = "0.1.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Dashevskii"]
12
- s.date = %q{2011-04-12}
12
+ s.date = %q{2011-04-25}
13
13
  s.description = %q{Github style assets bundling in a Rails 3 engine}
14
14
  s.email = %q{olegdashevski@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  s.homepage = %q{http://github.com/be9/githubbish_assets}
38
38
  s.licenses = ["MIT"]
39
39
  s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.4.2}
40
+ s.rubygems_version = %q{1.6.2}
41
41
  s.summary = %q{Github style assets bundling}
42
42
  s.test_files = [
43
43
  "test/helper.rb",
@@ -4,7 +4,11 @@ module GithubbishAssets
4
4
  files = []
5
5
 
6
6
  root.find do |path|
7
- files << path if path.file? && path.extname == ext
7
+ if path.file? && path.extname == ext
8
+ files << path
9
+ elsif path.directory? && path.basename.to_s[0] == ?.
10
+ Find.prune
11
+ end
8
12
  end
9
13
 
10
14
  files.sort
@@ -45,8 +45,8 @@ module GithubbishAssets
45
45
  def self.pack(path, ext)
46
46
  targets = []
47
47
  get_top_level_directories(path).each do |bundle_directory|
48
- bundle_name = bundle_directory.basename
49
- next if bundle_name.to_s == 'dev'
48
+ bundle_name = bundle_directory.basename.to_s
49
+ next if bundle_name == 'dev' || bundle_name =~ /^\./
50
50
 
51
51
  files = RecursiveLister[bundle_directory, ext]
52
52
  next if files.empty?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubbish_assets
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oleg Dashevskii
@@ -15,12 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-12 00:00:00 +07:00
18
+ date: 2011-04-25 00:00:00 +07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  type: :runtime
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
26
  - - ~>
@@ -31,12 +31,12 @@ dependencies:
31
31
  - 0
32
32
  - 0
33
33
  version: 3.0.0
34
- requirement: *id001
35
- prerelease: false
36
34
  name: rails
35
+ version_requirements: *id001
36
+ prerelease: false
37
37
  - !ruby/object:Gem::Dependency
38
38
  type: :runtime
39
- version_requirements: &id002 !ruby/object:Gem::Requirement
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ">="
@@ -45,12 +45,12 @@ dependencies:
45
45
  segments:
46
46
  - 0
47
47
  version: "0"
48
- requirement: *id002
49
- prerelease: false
50
48
  name: closure-compiler
49
+ version_requirements: *id002
50
+ prerelease: false
51
51
  - !ruby/object:Gem::Dependency
52
52
  type: :runtime
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
54
  none: false
55
55
  requirements:
56
56
  - - ">="
@@ -59,12 +59,12 @@ dependencies:
59
59
  segments:
60
60
  - 0
61
61
  version: "0"
62
- requirement: *id003
63
- prerelease: false
64
62
  name: yui-compressor
63
+ version_requirements: *id003
64
+ prerelease: false
65
65
  - !ruby/object:Gem::Dependency
66
66
  type: :development
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
67
+ requirement: &id004 !ruby/object:Gem::Requirement
68
68
  none: false
69
69
  requirements:
70
70
  - - ~>
@@ -75,12 +75,12 @@ dependencies:
75
75
  - 0
76
76
  - 0
77
77
  version: 1.0.0
78
- requirement: *id004
79
- prerelease: false
80
78
  name: bundler
79
+ version_requirements: *id004
80
+ prerelease: false
81
81
  - !ruby/object:Gem::Dependency
82
82
  type: :development
83
- version_requirements: &id005 !ruby/object:Gem::Requirement
83
+ requirement: &id005 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -91,12 +91,12 @@ dependencies:
91
91
  - 5
92
92
  - 2
93
93
  version: 1.5.2
94
- requirement: *id005
95
- prerelease: false
96
94
  name: jeweler
95
+ version_requirements: *id005
96
+ prerelease: false
97
97
  - !ruby/object:Gem::Dependency
98
98
  type: :development
99
- version_requirements: &id006 !ruby/object:Gem::Requirement
99
+ requirement: &id006 !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
102
102
  - - ">="
@@ -105,9 +105,9 @@ dependencies:
105
105
  segments:
106
106
  - 0
107
107
  version: "0"
108
- requirement: *id006
109
- prerelease: false
110
108
  name: rcov
109
+ version_requirements: *id006
110
+ prerelease: false
111
111
  description: Github style assets bundling in a Rails 3 engine
112
112
  email: olegdashevski@gmail.com
113
113
  executables: []
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  requirements: []
165
165
 
166
166
  rubyforge_project:
167
- rubygems_version: 1.4.2
167
+ rubygems_version: 1.6.2
168
168
  signing_key:
169
169
  specification_version: 3
170
170
  summary: Github style assets bundling