i18n-router 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -20,7 +20,7 @@ module I18nRouter
20
20
  before path do
21
21
  session[:locale] = lang.to_s
22
22
  end
23
- eval 'get path, opts, &code'
23
+ eval "#{method} path, opts, &code"
24
24
  end
25
25
  method = "helpers do \n"
26
26
  method += " def #{helper.gsub('/','_').gsub('-','_')[1..-1]}_path args={} \n"
@@ -1,3 +1,3 @@
1
1
  module I18nRouter
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Christian Mortaro
@@ -40,11 +40,14 @@ extensions: []
40
40
  extra_rdoc_files: []
41
41
 
42
42
  files:
43
+ - .Rakefile.swp
43
44
  - .gitignore
44
45
  - Gemfile
45
46
  - Rakefile
46
47
  - i18n-router.gemspec
47
48
  - lib/i18n-router.rb
49
+ - lib/i18n-router/.router.rb.swp
50
+ - lib/i18n-router/.version.rb.swp
48
51
  - lib/i18n-router/router.rb
49
52
  - lib/i18n-router/version.rb
50
53
  has_rdoc: true