i18n_rails_helpers 2.0.0.beta2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/contextual_link_helpers.rb +1 -1
- data/app/helpers/list_link_helpers.rb +1 -20
- data/lib/i18n_rails_helpers/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e394b4e86a0b7729fa667282e6df6b921ad7faf
|
4
|
+
data.tar.gz: 8ed25b324b7639ab6e634e9ce8a3173897f1763c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8750b8420c7d0b91cd41773e6101c36da2340c5f6bfc732e47c71d3bf19ba49c7587c73985e1e4b5aa7ef71903d02e7eeb5e82165fd96119d58d1e92d60a3992
|
7
|
+
data.tar.gz: cb640403467b9d2881d796a7c22d6aae1e83952b13feb55ec6221d99b990e7a544bec0194bdf613893e7dba3dcf711ee01eed34a1f2122b437609541d6e936f2
|
@@ -1,24 +1,5 @@
|
|
1
1
|
module ListLinkHelpers
|
2
|
-
|
3
|
-
case action.to_s
|
4
|
-
when 'new'
|
5
|
-
"plus"
|
6
|
-
when 'show'
|
7
|
-
"eye-open"
|
8
|
-
when 'edit'
|
9
|
-
"edit"
|
10
|
-
when 'delete'
|
11
|
-
"trash"
|
12
|
-
when "index", "list"
|
13
|
-
"list-alt"
|
14
|
-
when "update"
|
15
|
-
"refresh"
|
16
|
-
when "copy"
|
17
|
-
"repeat"
|
18
|
-
else
|
19
|
-
action
|
20
|
-
end
|
21
|
-
end
|
2
|
+
include ContextualLinkHelpers
|
22
3
|
|
23
4
|
# List link helpers
|
24
5
|
def list_link_to(action, url, options = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n_rails_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Huerlimann (CyT)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -122,9 +122,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
|
-
- - "
|
125
|
+
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
127
|
+
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
130
|
rubygems_version: 2.4.5
|