cowtech-rails 1.6.1.5 → 1.7.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,11 +19,11 @@ module Cowtech
19
19
  "#{controller}##{action}"
20
20
  end
21
21
 
22
- def additional_tag(what = :js)
22
+ def additional_tag(what = :js, *args)
23
23
  if what == :js then
24
- javascript_include_tag "specific/#{self.controller_name}.js"
24
+ javascript_include_tag "specific/#{self.controller_name}.js", args
25
25
  elsif what == :css then
26
- stylesheet_link_tag "#{self.controller_name}.css"
26
+ stylesheet_link_tag "#{self.controller_name}.css", args
27
27
  end
28
28
  end
29
29
 
@@ -8,9 +8,9 @@ module Cowtech
8
8
  module Rails
9
9
  module Version
10
10
  MAJOR = 1
11
- MINOR = 6
12
- PATCH = 1
13
- BUILD = 5
11
+ MINOR = 7
12
+ PATCH = 0
13
+ BUILD = 0
14
14
 
15
15
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
16
16
  end
metadata CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 6
8
- - 1
9
- - 5
10
- version: 1.6.1.5
7
+ - 7
8
+ - 0
9
+ - 0
10
+ version: 1.7.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-10 00:00:00 +02:00
18
+ date: 2011-05-21 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21