actionmailer-localized_preview 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d862fc0f1e806a26ad89e18ef376a0fec4500c18
4
- data.tar.gz: b999b907118c85e32eacc6214d8e3eb04657dd98
3
+ metadata.gz: aabdfc9e2a1506a404e9fc37a520d6ff55f95593
4
+ data.tar.gz: be28db42db180bca822dd82abe035f89013d8064
5
5
  SHA512:
6
- metadata.gz: e634c1b7dd129c9bc1ef02ea87aa89127b5c69cb0e14cd86445f53686daa29fc3e719837c21b0d5168dedba1484a170aa79a28809da10ddca627ce4bf516a4d9
7
- data.tar.gz: e380dda48f44858da2674dbb42840662620a5dc6b37a7f4aba4e14363a36fc35db7a76e60fabac42b0d447dfafc97b50dd68ff319f3394e799d814a5da01ea20
6
+ metadata.gz: e33c413f991ef0189332ed58971272701e462706f4973629257411d91dac8e706e773387e994582de4d1482894f18156955cf8e338cd944e1ba6182f03fdab12
7
+ data.tar.gz: 4d45ad70783f5c66237b3dbeb7391b6d9cca2111abe85d40525902c49c9f6804ad19b016d0eac188024120a015ee88cdb8ee24a73506b35aa7aa0cca5da23c7b
data/README.md CHANGED
@@ -65,7 +65,7 @@ Or install it yourself as:
65
65
 
66
66
  ## Contributing
67
67
 
68
- 1. Fork it ( https://github.com/[my-github-username]/actionmailer-localized_preview/fork )
68
+ 1. Fork it ( https://github.com/xavier/actionmailer-localized_preview/fork )
69
69
  2. Create your feature branch (`git checkout -b my-new-feature`)
70
70
  3. Commit your changes (`git commit -am 'Add some feature'`)
71
71
  4. Push to the branch (`git push origin my-new-feature`)
@@ -25,7 +25,7 @@ module ActionMailer
25
25
  method_name, locale = $1, $2.to_sym
26
26
  current_locale = I18n.locale
27
27
  begin
28
- I18n.locale = $2
28
+ I18n.locale = locale
29
29
  case self.method(method_name).arity
30
30
  when 0
31
31
  public_send(method_name)
@@ -1,5 +1,5 @@
1
1
  module ActionMailer
2
2
  module LocalizedPreview
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailer-localized_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Defrang