i18n_rails_helpers 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/i18n_rails_helpers/version.rb +3 -0
- metadata +15 -91
- data/MIT-LICENSE +0 -20
- data/Rakefile +0 -63
- data/rails/init.rb +0 -5
- data/test/i18n_rails_helpers_test.rb +0 -8
- data/test/test_helper.rb +0 -3
metadata
CHANGED
@@ -1,95 +1,24 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n_rails_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 37
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 14
|
9
|
-
-
|
10
|
-
version: 0.14.
|
9
|
+
- 1
|
10
|
+
version: 0.14.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
- "Simon H\xC3\xBCrlimann"
|
13
|
+
- "Simon H\xC3\xBCrlimann (CyT)"
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-07-28 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: i18n_rails_helpers
|
23
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
32
|
-
prerelease: false
|
33
|
-
type: :runtime
|
34
|
-
requirement: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rails
|
37
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 7
|
43
|
-
segments:
|
44
|
-
- 3
|
45
|
-
- 0
|
46
|
-
- 0
|
47
|
-
version: 3.0.0
|
48
|
-
prerelease: false
|
49
|
-
type: :runtime
|
50
|
-
requirement: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: jeweler
|
53
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
hash: 3
|
59
|
-
segments:
|
60
|
-
- 0
|
61
|
-
version: "0"
|
62
|
-
prerelease: false
|
63
|
-
type: :development
|
64
|
-
requirement: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: activerecord
|
67
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 3
|
73
|
-
segments:
|
74
|
-
- 0
|
75
|
-
version: "0"
|
76
|
-
prerelease: false
|
77
|
-
type: :runtime
|
78
|
-
requirement: *id004
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: i18n
|
81
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
|
-
requirements:
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
hash: 3
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
version: "0"
|
90
|
-
prerelease: false
|
91
|
-
type: :runtime
|
92
|
-
requirement: *id005
|
20
|
+
dependencies: []
|
21
|
+
|
93
22
|
description: Rails i18n view helpers for things like crud actions, models and and attributes.
|
94
23
|
email: simon.huerlimann@cyt.ch
|
95
24
|
executables: []
|
@@ -99,21 +28,17 @@ extensions: []
|
|
99
28
|
extra_rdoc_files:
|
100
29
|
- README.markdown
|
101
30
|
files:
|
102
|
-
- MIT-LICENSE
|
103
|
-
- README.markdown
|
104
|
-
- Rakefile
|
105
31
|
- config/locales/de-CH.yml
|
106
32
|
- config/locales/de.yml
|
107
33
|
- config/locales/en.yml
|
108
34
|
- lib/contextual_link_helpers.rb
|
109
35
|
- lib/i18n_rails_helpers.rb
|
110
36
|
- lib/i18n_rails_helpers/railtie.rb
|
37
|
+
- lib/i18n_rails_helpers/version.rb
|
111
38
|
- lib/list_link_helpers.rb
|
112
|
-
-
|
113
|
-
- test/i18n_rails_helpers_test.rb
|
114
|
-
- test/test_helper.rb
|
39
|
+
- README.markdown
|
115
40
|
has_rdoc: true
|
116
|
-
homepage:
|
41
|
+
homepage: https://github.com/huerlisi/i18n_rails_helpers
|
117
42
|
licenses: []
|
118
43
|
|
119
44
|
post_install_message:
|
@@ -142,10 +67,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
67
|
requirements: []
|
143
68
|
|
144
69
|
rubyforge_project:
|
145
|
-
rubygems_version: 1.
|
70
|
+
rubygems_version: 1.3.7
|
146
71
|
signing_key:
|
147
72
|
specification_version: 3
|
148
|
-
summary: Rails
|
149
|
-
test_files:
|
150
|
-
|
151
|
-
- test/test_helper.rb
|
73
|
+
summary: I18n Rails helpers
|
74
|
+
test_files: []
|
75
|
+
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2010 [name of plugin creator]
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
require 'rubygems'
|
3
|
-
begin
|
4
|
-
require 'bundler/setup'
|
5
|
-
rescue LoadError
|
6
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
7
|
-
end
|
8
|
-
|
9
|
-
require 'rake'
|
10
|
-
require 'rake/testtask'
|
11
|
-
require 'rake/rdoctask'
|
12
|
-
|
13
|
-
begin
|
14
|
-
GEM = "i18n_rails_helpers"
|
15
|
-
AUTHOR = "Simon Hürlimann"
|
16
|
-
EMAIL = "simon.huerlimann@cyt.ch"
|
17
|
-
SUMMARY = "Rails i18n view helpers for things like crud actions, models and and attributes."
|
18
|
-
HOMEPAGE = "http://github.com/huerlisi/i18n_rails_helpers/tree/master"
|
19
|
-
|
20
|
-
gem 'jeweler', '>= 1.0.0'
|
21
|
-
require 'jeweler'
|
22
|
-
|
23
|
-
Jeweler::Tasks.new do |s|
|
24
|
-
s.name = GEM
|
25
|
-
s.summary = SUMMARY
|
26
|
-
s.email = EMAIL
|
27
|
-
s.homepage = HOMEPAGE
|
28
|
-
s.description = SUMMARY
|
29
|
-
s.author = AUTHOR
|
30
|
-
|
31
|
-
s.require_path = 'lib'
|
32
|
-
s.files = %w(MIT-LICENSE README.markdown Rakefile) + Dir.glob("{lib,test,config,rails}/**/*")
|
33
|
-
|
34
|
-
# Runtime dependencies: When installing i18n_rails_helpers these will be checked if they are installed.
|
35
|
-
# Will be offered to install these if they are not already installed.
|
36
|
-
s.add_dependency 'activerecord'
|
37
|
-
s.add_dependency 'i18n'
|
38
|
-
end
|
39
|
-
|
40
|
-
Jeweler::GemcutterTasks.new
|
41
|
-
rescue LoadError
|
42
|
-
puts "[i18n_rails_helpers:] Jeweler - or one of its dependencies - is not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
|
43
|
-
end
|
44
|
-
|
45
|
-
desc 'Default: run unit tests.'
|
46
|
-
task :default => :test
|
47
|
-
|
48
|
-
desc 'Test the i18n_rails_helpers plugin.'
|
49
|
-
Rake::TestTask.new(:test) do |t|
|
50
|
-
t.libs << 'lib'
|
51
|
-
t.libs << 'test'
|
52
|
-
t.pattern = 'test/**/*_test.rb'
|
53
|
-
t.verbose = true
|
54
|
-
end
|
55
|
-
|
56
|
-
desc 'Generate documentation for the i18n_rails_helpers plugin.'
|
57
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
58
|
-
rdoc.rdoc_dir = 'rdoc'
|
59
|
-
rdoc.title = 'I18nRailsHelpers'
|
60
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
61
|
-
rdoc.rdoc_files.include('README.markdown')
|
62
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
63
|
-
end
|
data/rails/init.rb
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Register helpers for Rails < 3
|
2
|
-
require File.join(File.dirname(__FILE__), *%w[.. lib i18n_rails_helpers])
|
3
|
-
require File.join(File.dirname(__FILE__), *%w[.. lib contextual_link_helpers])
|
4
|
-
ActionView::Base.send :include, I18nRailsHelpers
|
5
|
-
ActionView::Base.send :include, ContextualLinkHelpers
|
data/test/test_helper.rb
DELETED