githubbish_assets 0.1.9 → 0.1.10

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.9
1
+ 0.1.10
@@ -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.9"
8
+ s.version = "0.1.10"
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-25}
12
+ s.date = %q{2011-08-17}
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.6.2}
40
+ s.rubygems_version = %q{1.3.9.2}
41
41
  s.summary = %q{Github style assets bundling}
42
42
  s.test_files = [
43
43
  "test/helper.rb",
@@ -13,14 +13,10 @@ module GithubbishAssets
13
13
  pack(Rails.root + 'public/javascripts', '.js') do |target, files|
14
14
  case GithubbishAssets.js_compressor
15
15
  when :closure
16
- opts = [ [:js_output_file, target] ]
16
+ opts = { :js_output_file => target, :js => files }
17
17
 
18
18
  if GithubbishAssets.closure_source_map
19
- opts << [:create_source_map, "#{target}.map"]
20
- end
21
-
22
- files.each do |file|
23
- opts << [:js, file]
19
+ opts[:create_source_map] = "#{target}.map"
24
20
  end
25
21
 
26
22
  Closure::Compiler.new(opts).compile('')
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: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 9
10
- version: 0.1.9
9
+ - 10
10
+ version: 0.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oleg Dashevskii
@@ -15,10 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-25 00:00:00 +07:00
18
+ date: 2011-08-17 00:00:00 +07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
+ prerelease: false
22
23
  type: :runtime
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
24
25
  none: false
@@ -33,8 +34,8 @@ dependencies:
33
34
  version: 3.0.0
34
35
  name: rails
35
36
  version_requirements: *id001
36
- prerelease: false
37
37
  - !ruby/object:Gem::Dependency
38
+ prerelease: false
38
39
  type: :runtime
39
40
  requirement: &id002 !ruby/object:Gem::Requirement
40
41
  none: false
@@ -47,8 +48,8 @@ dependencies:
47
48
  version: "0"
48
49
  name: closure-compiler
49
50
  version_requirements: *id002
50
- prerelease: false
51
51
  - !ruby/object:Gem::Dependency
52
+ prerelease: false
52
53
  type: :runtime
53
54
  requirement: &id003 !ruby/object:Gem::Requirement
54
55
  none: false
@@ -61,8 +62,8 @@ dependencies:
61
62
  version: "0"
62
63
  name: yui-compressor
63
64
  version_requirements: *id003
64
- prerelease: false
65
65
  - !ruby/object:Gem::Dependency
66
+ prerelease: false
66
67
  type: :development
67
68
  requirement: &id004 !ruby/object:Gem::Requirement
68
69
  none: false
@@ -77,8 +78,8 @@ dependencies:
77
78
  version: 1.0.0
78
79
  name: bundler
79
80
  version_requirements: *id004
80
- prerelease: false
81
81
  - !ruby/object:Gem::Dependency
82
+ prerelease: false
82
83
  type: :development
83
84
  requirement: &id005 !ruby/object:Gem::Requirement
84
85
  none: false
@@ -93,8 +94,8 @@ dependencies:
93
94
  version: 1.5.2
94
95
  name: jeweler
95
96
  version_requirements: *id005
96
- prerelease: false
97
97
  - !ruby/object:Gem::Dependency
98
+ prerelease: false
98
99
  type: :development
99
100
  requirement: &id006 !ruby/object:Gem::Requirement
100
101
  none: false
@@ -107,7 +108,6 @@ dependencies:
107
108
  version: "0"
108
109
  name: rcov
109
110
  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.6.2
167
+ rubygems_version: 1.3.9.2
168
168
  signing_key:
169
169
  specification_version: 3
170
170
  summary: Github style assets bundling