githubbish_assets 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,36 +1,40 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
+ POpen4 (0.1.4)
5
+ Platform (>= 0.4.0)
6
+ open4
7
+ Platform (0.4.0)
4
8
  abstract (1.0.0)
5
- actionmailer (3.0.3)
6
- actionpack (= 3.0.3)
7
- mail (~> 2.2.9)
8
- actionpack (3.0.3)
9
- activemodel (= 3.0.3)
10
- activesupport (= 3.0.3)
9
+ actionmailer (3.0.6)
10
+ actionpack (= 3.0.6)
11
+ mail (~> 2.2.15)
12
+ actionpack (3.0.6)
13
+ activemodel (= 3.0.6)
14
+ activesupport (= 3.0.6)
11
15
  builder (~> 2.1.2)
12
16
  erubis (~> 2.6.6)
13
- i18n (~> 0.4)
17
+ i18n (~> 0.5.0)
14
18
  rack (~> 1.2.1)
15
- rack-mount (~> 0.6.13)
16
- rack-test (~> 0.5.6)
19
+ rack-mount (~> 0.6.14)
20
+ rack-test (~> 0.5.7)
17
21
  tzinfo (~> 0.3.23)
18
- activemodel (3.0.3)
19
- activesupport (= 3.0.3)
22
+ activemodel (3.0.6)
23
+ activesupport (= 3.0.6)
20
24
  builder (~> 2.1.2)
21
- i18n (~> 0.4)
22
- activerecord (3.0.3)
23
- activemodel (= 3.0.3)
24
- activesupport (= 3.0.3)
25
+ i18n (~> 0.5.0)
26
+ activerecord (3.0.6)
27
+ activemodel (= 3.0.6)
28
+ activesupport (= 3.0.6)
25
29
  arel (~> 2.0.2)
26
30
  tzinfo (~> 0.3.23)
27
- activeresource (3.0.3)
28
- activemodel (= 3.0.3)
29
- activesupport (= 3.0.3)
30
- activesupport (3.0.3)
31
- arel (2.0.6)
31
+ activeresource (3.0.6)
32
+ activemodel (= 3.0.6)
33
+ activesupport (= 3.0.6)
34
+ activesupport (3.0.6)
35
+ arel (2.0.9)
32
36
  builder (2.1.2)
33
- closure-compiler (0.3.2)
37
+ closure-compiler (1.1.1)
34
38
  erubis (2.6.6)
35
39
  abstract (>= 1.0.0)
36
40
  git (1.2.5)
@@ -39,38 +43,40 @@ GEM
39
43
  bundler (~> 1.0.0)
40
44
  git (>= 1.2.5)
41
45
  rake
42
- mail (2.2.14)
46
+ mail (2.2.15)
43
47
  activesupport (>= 2.3.6)
44
48
  i18n (>= 0.4.0)
45
49
  mime-types (~> 1.16)
46
50
  treetop (~> 1.4.8)
47
51
  mime-types (1.16)
52
+ open4 (1.0.1)
48
53
  polyglot (0.3.1)
49
- rack (1.2.1)
50
- rack-mount (0.6.13)
54
+ rack (1.2.2)
55
+ rack-mount (0.6.14)
51
56
  rack (>= 1.0.0)
52
57
  rack-test (0.5.7)
53
58
  rack (>= 1.0)
54
- rails (3.0.3)
55
- actionmailer (= 3.0.3)
56
- actionpack (= 3.0.3)
57
- activerecord (= 3.0.3)
58
- activeresource (= 3.0.3)
59
- activesupport (= 3.0.3)
59
+ rails (3.0.6)
60
+ actionmailer (= 3.0.6)
61
+ actionpack (= 3.0.6)
62
+ activerecord (= 3.0.6)
63
+ activeresource (= 3.0.6)
64
+ activesupport (= 3.0.6)
60
65
  bundler (~> 1.0)
61
- railties (= 3.0.3)
62
- railties (3.0.3)
63
- actionpack (= 3.0.3)
64
- activesupport (= 3.0.3)
66
+ railties (= 3.0.6)
67
+ railties (3.0.6)
68
+ actionpack (= 3.0.6)
69
+ activesupport (= 3.0.6)
65
70
  rake (>= 0.8.7)
66
71
  thor (~> 0.14.4)
67
72
  rake (0.8.7)
68
- rcov (0.9.8)
73
+ rcov (0.9.9)
69
74
  thor (0.14.6)
70
75
  treetop (1.4.9)
71
76
  polyglot (>= 0.3.1)
72
- tzinfo (0.3.23)
73
- yui-compressor (0.9.1)
77
+ tzinfo (0.3.26)
78
+ yui-compressor (0.9.6)
79
+ POpen4 (>= 0.1.4)
74
80
 
75
81
  PLATFORMS
76
82
  ruby
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -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.7"
8
+ s.version = "0.1.8"
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-01}
12
+ s.date = %q{2011-04-12}
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.3.7}
40
+ s.rubygems_version = %q{1.4.2}
41
41
  s.summary = %q{Github style assets bundling}
42
42
  s.test_files = [
43
43
  "test/helper.rb",
@@ -45,7 +45,6 @@ Gem::Specification.new do |s|
45
45
  ]
46
46
 
47
47
  if s.respond_to? :specification_version then
48
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
48
  s.specification_version = 3
50
49
 
51
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -34,8 +34,9 @@ module GithubbishAssets
34
34
  def javascript_dev(*sources)
35
35
  output = ""
36
36
  sources = sources.to_a
37
+ dev = Rails.env.development? || Rails.env.test?
37
38
  sources.each do |pair|
38
- output << javascript_src_tag(Rails.env.development? ? "dev/#{pair[0]}" : pair[1], {})
39
+ output << javascript_src_tag(dev ? "dev/#{pair[0]}" : pair[1], {})
39
40
  end
40
41
  output.html_safe
41
42
  end
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: 21
5
- prerelease: false
4
+ hash: 11
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oleg Dashevskii
@@ -15,13 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-01 00:00:00 +07:00
18
+ date: 2011-04-12 00:00:00 +07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
22
  type: :runtime
24
- name: rails
25
23
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
24
  none: false
27
25
  requirements:
@@ -34,10 +32,10 @@ dependencies:
34
32
  - 0
35
33
  version: 3.0.0
36
34
  requirement: *id001
37
- - !ruby/object:Gem::Dependency
38
35
  prerelease: false
36
+ name: rails
37
+ - !ruby/object:Gem::Dependency
39
38
  type: :runtime
40
- name: closure-compiler
41
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
42
40
  none: false
43
41
  requirements:
@@ -48,10 +46,10 @@ dependencies:
48
46
  - 0
49
47
  version: "0"
50
48
  requirement: *id002
51
- - !ruby/object:Gem::Dependency
52
49
  prerelease: false
50
+ name: closure-compiler
51
+ - !ruby/object:Gem::Dependency
53
52
  type: :runtime
54
- name: yui-compressor
55
53
  version_requirements: &id003 !ruby/object:Gem::Requirement
56
54
  none: false
57
55
  requirements:
@@ -62,10 +60,10 @@ dependencies:
62
60
  - 0
63
61
  version: "0"
64
62
  requirement: *id003
65
- - !ruby/object:Gem::Dependency
66
63
  prerelease: false
64
+ name: yui-compressor
65
+ - !ruby/object:Gem::Dependency
67
66
  type: :development
68
- name: bundler
69
67
  version_requirements: &id004 !ruby/object:Gem::Requirement
70
68
  none: false
71
69
  requirements:
@@ -78,10 +76,10 @@ dependencies:
78
76
  - 0
79
77
  version: 1.0.0
80
78
  requirement: *id004
81
- - !ruby/object:Gem::Dependency
82
79
  prerelease: false
80
+ name: bundler
81
+ - !ruby/object:Gem::Dependency
83
82
  type: :development
84
- name: jeweler
85
83
  version_requirements: &id005 !ruby/object:Gem::Requirement
86
84
  none: false
87
85
  requirements:
@@ -94,10 +92,10 @@ dependencies:
94
92
  - 2
95
93
  version: 1.5.2
96
94
  requirement: *id005
97
- - !ruby/object:Gem::Dependency
98
95
  prerelease: false
96
+ name: jeweler
97
+ - !ruby/object:Gem::Dependency
99
98
  type: :development
100
- name: rcov
101
99
  version_requirements: &id006 !ruby/object:Gem::Requirement
102
100
  none: false
103
101
  requirements:
@@ -108,6 +106,8 @@ dependencies:
108
106
  - 0
109
107
  version: "0"
110
108
  requirement: *id006
109
+ prerelease: false
110
+ name: rcov
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.3.7
167
+ rubygems_version: 1.4.2
168
168
  signing_key:
169
169
  specification_version: 3
170
170
  summary: Github style assets bundling