locale_routing 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- metadata +5 -8
- data/.gitignore +0 -9
- data/MIT-LICENSE +0 -20
- data/Rakefile +0 -45
- data/VERSION.yml +0 -4
- data/locale_routing.gemspec +0 -44
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locale_routing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanel Suurhans
|
@@ -10,12 +10,14 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-
|
13
|
+
date: 2009-11-20 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
17
17
|
description: A library for configuring/parsin locales from url params or hostname for I18n.
|
18
|
-
email:
|
18
|
+
email:
|
19
|
+
- tanel.suurhans@perfectline.ee
|
20
|
+
- tarmo.lehtpuu@perfectline.ee
|
19
21
|
executables: []
|
20
22
|
|
21
23
|
extensions: []
|
@@ -23,18 +25,13 @@ extensions: []
|
|
23
25
|
extra_rdoc_files:
|
24
26
|
- README.markdown
|
25
27
|
files:
|
26
|
-
- .gitignore
|
27
|
-
- MIT-LICENSE
|
28
28
|
- README.markdown
|
29
|
-
- Rakefile
|
30
|
-
- VERSION.yml
|
31
29
|
- init.rb
|
32
30
|
- install.rb
|
33
31
|
- lib/locale_routing.rb
|
34
32
|
- lib/locale_routing/config.rb
|
35
33
|
- lib/locale_routing/locale.rb
|
36
34
|
- lib/locale_routing/locale_route_set.rb
|
37
|
-
- locale_routing.gemspec
|
38
35
|
has_rdoc: true
|
39
36
|
homepage: http://github.com/perfectline/locale_routing/tree/master
|
40
37
|
licenses: []
|
data/.gitignore
DELETED
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2009 PerfectLine LLC (www.perfectline.co.uk)
|
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,45 +0,0 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require 'rcov/rcovtask'
|
5
|
-
|
6
|
-
desc 'Default: run unit tests.'
|
7
|
-
task :default => :test
|
8
|
-
|
9
|
-
begin
|
10
|
-
require 'jeweler'
|
11
|
-
Jeweler::Tasks.new do |jewel|
|
12
|
-
jewel.name = 'locale_routing'
|
13
|
-
jewel.summary = 'LocaleRouting makes parsing I18N locale from an url parameters/hostname seamless.'
|
14
|
-
jewel.email = 'tanel.suurhans@perfectline.ee'
|
15
|
-
jewel.homepage = 'http://github.com/perfectline/locale_routing/tree/master'
|
16
|
-
jewel.description = 'A library for configuring/parsin locales from url params or hostname for I18n.'
|
17
|
-
jewel.authors = ["Tanel Suurhans", "Tarmo Lehtpuu"]
|
18
|
-
end
|
19
|
-
rescue LoadError
|
20
|
-
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
21
|
-
end
|
22
|
-
|
23
|
-
desc 'Test the LocaleRouting plugin.'
|
24
|
-
Rake::TestTask.new(:test) do |t|
|
25
|
-
t.libs << 'lib'
|
26
|
-
t.libs << 'test'
|
27
|
-
t.pattern = 'test/**/*_test.rb'
|
28
|
-
t.verbose = true
|
29
|
-
end
|
30
|
-
|
31
|
-
desc 'Generate documentation for the LocaleRouting plugin.'
|
32
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
33
|
-
rdoc.rdoc_dir = 'rdoc'
|
34
|
-
rdoc.title = 'LocaleRouting'
|
35
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
36
|
-
rdoc.rdoc_files.include('README.markdown')
|
37
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
38
|
-
end
|
39
|
-
|
40
|
-
desc 'Generate code coverage report'
|
41
|
-
Rcov::RcovTask.new(:rcov) do |rcov|
|
42
|
-
rcov.libs << 'test'
|
43
|
-
rcov.test_files = FileList['test/*_test.rb']
|
44
|
-
rcov.verbose = true
|
45
|
-
end
|
data/VERSION.yml
DELETED
data/locale_routing.gemspec
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{locale_routing}
|
5
|
-
s.version = "0.2.1"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Tanel Suurhans", "Tarmo Lehtpuu"]
|
9
|
-
s.date = %q{2009-05-26}
|
10
|
-
s.description = %q{A library for configuring/parsin locales from url params or hostname for I18n.}
|
11
|
-
s.email = %q{tanel.suurhans@perfectline.ee}
|
12
|
-
s.extra_rdoc_files = [
|
13
|
-
"README.markdown"
|
14
|
-
]
|
15
|
-
s.files = [
|
16
|
-
".gitignore",
|
17
|
-
"MIT-LICENSE",
|
18
|
-
"README.markdown",
|
19
|
-
"Rakefile",
|
20
|
-
"VERSION.yml",
|
21
|
-
"init.rb",
|
22
|
-
"install.rb",
|
23
|
-
"lib/locale_routing.rb",
|
24
|
-
"lib/locale_routing/config.rb",
|
25
|
-
"lib/locale_routing/locale.rb",
|
26
|
-
"lib/locale_routing/locale_route_set.rb",
|
27
|
-
"locale_routing.gemspec"
|
28
|
-
]
|
29
|
-
s.homepage = %q{http://github.com/perfectline/locale_routing/tree/master}
|
30
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
31
|
-
s.require_paths = ["lib"]
|
32
|
-
s.rubygems_version = %q{1.3.3}
|
33
|
-
s.summary = %q{LocaleRouting makes parsing I18N locale from an url parameters/hostname seamless.}
|
34
|
-
|
35
|
-
if s.respond_to? :specification_version then
|
36
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
37
|
-
s.specification_version = 3
|
38
|
-
|
39
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
40
|
-
else
|
41
|
-
end
|
42
|
-
else
|
43
|
-
end
|
44
|
-
end
|