i18n_rails_helpers 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,12 @@ module ContextualLinkHelpers
22
22
  end
23
23
 
24
24
  def icon_link_to(action, url = nil, options = {})
25
- classes = ["btn"]
25
+ classes = []
26
+ if class_options = options.delete(:class)
27
+ classes << class_options.split(' ')
28
+ end
29
+
30
+ classes << "btn"
26
31
 
27
32
  url ||= {:action => action}
28
33
 
@@ -1,3 +1,3 @@
1
1
  module I18nRailsHelpers
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_rails_helpers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
4
+ hash: 25
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 6
10
- version: 1.0.6
9
+ - 7
10
+ version: 1.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-14 00:00:00 Z
18
+ date: 2012-09-06 00:00:00 +02:00
19
+ default_executable:
19
20
  dependencies: []
20
21
 
21
22
  description: Rails i18n view helpers for things like crud actions, models and and attributes.
@@ -37,6 +38,7 @@ files:
37
38
  - lib/i18n_rails_helpers/version.rb
38
39
  - rails/init.rb
39
40
  - README.markdown
41
+ has_rdoc: true
40
42
  homepage: https://github.com/huerlisi/i18n_rails_helpers
41
43
  licenses: []
42
44
 
@@ -66,10 +68,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
68
  requirements: []
67
69
 
68
70
  rubyforge_project:
69
- rubygems_version: 1.8.24
71
+ rubygems_version: 1.3.7
70
72
  signing_key:
71
73
  specification_version: 3
72
74
  summary: I18n Rails helpers
73
75
  test_files: []
74
76
 
75
- has_rdoc: