cowtech-rails 1.7.0.1 → 1.7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,9 +21,11 @@ module Cowtech
21
21
 
22
22
  def additional_tag(what = :js, *args)
23
23
  if what == :js then
24
- javascript_include_tag("specific/#{self.controller_name}.js", *args)
24
+ args.insert(0, "app/#{self.controller_name}.js")
25
+ javascript_include_tag(*args)
25
26
  elsif what == :css then
26
- stylesheet_link_tag("#{self.controller_name}.css", *args)
27
+ args.insert(0, "app/#{self.controller_name}.css")
28
+ stylesheet_link_tag(*args)
27
29
  end
28
30
  end
29
31
 
@@ -10,7 +10,7 @@ module Cowtech
10
10
  MAJOR = 1
11
11
  MINOR = 7
12
12
  PATCH = 0
13
- BUILD = 1
13
+ BUILD = 3
14
14
 
15
15
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
16
16
  end
metadata CHANGED
@@ -1,21 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cowtech-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0.1
5
- segments:
6
- - 1
7
- - 7
8
- - 0
9
- - 1
10
- prerelease: false
4
+ version: 1.7.0.3
5
+ prerelease:
11
6
  platform: ruby
12
7
  authors:
13
8
  - Shogun
14
- autorequire: !!null
9
+ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
- date: 2011-05-22 00:00:00.000000000 +02:00
18
- default_executable: !!null
12
+ date: 2011-05-22 00:00:00.000000000Z
19
13
  dependencies: []
20
14
  description: A general purpose Rails utility plugin.
21
15
  email: shogun_panda@me.com
@@ -37,11 +31,10 @@ files:
37
31
  - lib/cowtech/version.rb
38
32
  - rails/init.rb
39
33
  - README
40
- has_rdoc: true
41
34
  homepage: http://github.com/ShogunPanda/cowtech-rails
42
35
  licenses:
43
36
  - MIT
44
- post_install_message: !!null
37
+ post_install_message:
45
38
  rdoc_options: []
46
39
  require_paths:
47
40
  - lib
@@ -51,20 +44,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
44
  - - ! '>='
52
45
  - !ruby/object:Gem::Version
53
46
  version: '0'
54
- segments:
55
- - 0
56
47
  required_rubygems_version: !ruby/object:Gem::Requirement
57
48
  none: false
58
49
  requirements:
59
50
  - - ! '>='
60
51
  - !ruby/object:Gem::Version
61
52
  version: '0'
62
- segments:
63
- - 0
64
53
  requirements: []
65
- rubyforge_project: !!null
66
- rubygems_version: 1.3.7
67
- signing_key: !!null
54
+ rubyforge_project:
55
+ rubygems_version: 1.8.3
56
+ signing_key:
68
57
  specification_version: 3
69
58
  summary: A general purpose Rails utility plugin.
70
59
  test_files: []