mongoid_i18n_rails 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 598d8c1c740f67c62c055dd9d05e39ca5c4a2aea
4
- data.tar.gz: e2930cc2778357fa19807e71525cbf24389f6d7b
3
+ metadata.gz: 7f6968054e28669125e49008d477b0565838da50
4
+ data.tar.gz: b7e4017ab838a6c30bdee25035b84e39a205d653
5
5
  SHA512:
6
- metadata.gz: 4a0c9d2b83f20b220e6861eba3f4c1dbbf30c3d41fb4b0cf1770c7d1b87fb064bd1d2e8fb04452228172482925ef89e649f5d5436ac4a91409e686b62ceeca7e
7
- data.tar.gz: d7520ab769b6d680192b700ce266bff97f498b2ac51734574350a808d269a007ea5f2534db647862956d2444ffe41be940770df160942dd2867dd4e437cd19c1
6
+ metadata.gz: ac5136d5e4a726d2524b9165794a921760bf6d54b78c7552f89ae5a1e33fb453c8e5e6b36e9329607b836ba86fb6b4d515ab7f73dbfd3d158fdbb957a473b456
7
+ data.tar.gz: 933d6b7d627993e4db9ef80a64ae7a14a4850c422f654204e0ecb5c56b1135b3ac4e721b13e8fbd545aa8d8d7371a56cc735edbe94daeb1881bed369f8216ada
@@ -1,3 +1,35 @@
1
- = MongoidI18n
1
+ = Mongoid I18n Rails
2
+
3
+ Provide locale data for {mongoid 4}[http://mongoid.org/en/mongoid/index.html] i18n on RoR 4.
4
+
5
+ == Gem installation
6
+
7
+ Add to your Gemfile:
8
+
9
+ gem 'mongoid_i18n_rails', '~> 0.0.5'
10
+
11
+ or run this command:
12
+
13
+ gem install mongoid_i18n_rails -v '~> 0.0.5'
14
+
15
+ == Available Locales
16
+
17
+ Available locales are:
18
+
19
+ en, pt-BR
20
+
21
+ We always welcome your contributions!
22
+
23
+ == See also
24
+
25
+ * {rails-i18n the core inspiration for this project and readme}[https://github.com/svenfuchs/rails-i18n]
26
+ * {devise-i18n}[https://github.com/tigrish/devise-i18n]
27
+ * {will-paginate-i18n}[https://github.com/tigrish/will-paginate-i18n]
28
+ * {i18n-country-translation}[https://github.com/onomojo/i18n-country-translations] for translations of country names
29
+ * {i18n-spec}[https://github.com/tigrish/i18n-spec] for RSpec matchers to test your locale files
30
+ * {iso}[https://github.com/tigrish/iso] for the list of valid language/region codes and their translations
31
+
32
+ == License
33
+
34
+ {MIT}[https://github.com/svenfuchs/rails-i18n/blob/master/MIT-LICENSE.txt]
2
35
 
3
- This project rocks and uses MIT-LICENSE.
@@ -1,4 +1,4 @@
1
- require 'mongoid_i18n_rails/railtie'
1
+ require 'mongoid_i18n_rails/engine'
2
2
 
3
3
  module MongoidI18nRails
4
4
  end
@@ -0,0 +1,4 @@
1
+ module MongoidI18nRails
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module MongoidI18nRails
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_i18n_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Moreira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-30 00:00:00.000000000 Z
11
+ date: 2014-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: i18n
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.6'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '0.6'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: railties
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '4.0'
19
+ version: '3.0'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '4.0'
26
+ version: '3.0'
41
27
  description: Provides i18n for mongoid 4 for Rails 4.
42
28
  email:
43
29
  - leandro.ribeiro.moreira@gmail.com
@@ -48,12 +34,11 @@ files:
48
34
  - MIT-LICENSE
49
35
  - README.rdoc
50
36
  - Rakefile
37
+ - config/locales/mongoid-en.yml
38
+ - config/locales/mongoid-pt-BR.yml
51
39
  - lib/mongoid_i18n_rails.rb
52
- - lib/mongoid_i18n_rails/railtie.rb
40
+ - lib/mongoid_i18n_rails/engine.rb
53
41
  - lib/mongoid_i18n_rails/version.rb
54
- - lib/tasks/mongoid_i18n_rails_tasks.rake
55
- - rails/locale/mongoid-en.yml
56
- - rails/locale/mongoid-pt-BR.yml
57
42
  homepage: https://github.com/leandromoreira/mongoid-i18n
58
43
  licenses:
59
44
  - MIT
@@ -1,12 +0,0 @@
1
- require 'rails'
2
-
3
- module MongoidI18nRails
4
- class Railtie < ::Rails::Railtie #:nodoc:
5
- initializer 'mongoid-i18n-rails' do |app|
6
- ["rails/locale/mongoid-en.yml", "rails/locale/mongoid-pt-BR.yml"].each do |pattern|
7
- files = Dir[File.join(File.dirname(__FILE__), '../..', pattern)]
8
- I18n.load_path.concat(files)
9
- end
10
- end
11
- end
12
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :mongoid_i18n do
3
- # # Task goes here
4
- # end