enum_i18n_helper 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 +4 -4
- data/README.md +5 -5
- data/enum_i18n_helper.gemspec +1 -1
- data/lib/enum_i18n_helper/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f48fab7ed1f93145d1ce9376704a11bf8ab8856409300ec90e53684a8fed35d1
|
|
4
|
+
data.tar.gz: 8e6124451552877ff5490a9823eece9364c7f5903e3911da4222f393137b5636
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb33d6430749a02388b9018993be9d48a417232e2f45c56a3912d99f2e0a91d21765572e7db3db6cf591722bbba36862da50975fe749eafccc3eb85235f71d74
|
|
7
|
+
data.tar.gz: 00b03fe88c182a499f87d0aed29e3e029b841995a873ec09afbde2cccb319751e9fea777273560a243292aef3b6a473969cfc10e491a2eda366556548f0c913f
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EnumI18nHelper
|
|
2
2
|
|
|
3
3
|
Help ActiveRecord::Enum feature to work fine with I18n.
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ This gem can help you work fine with Enum and I18n
|
|
|
10
10
|
|
|
11
11
|
Add this line to your application's Gemfile:
|
|
12
12
|
|
|
13
|
-
gem '
|
|
13
|
+
gem 'enum_i18n_helper'
|
|
14
14
|
|
|
15
15
|
And then execute:
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ And then execute:
|
|
|
18
18
|
|
|
19
19
|
Or install it yourself as:
|
|
20
20
|
|
|
21
|
-
$ gem install
|
|
21
|
+
$ gem install enum_i18n_helper
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
@@ -78,11 +78,11 @@ When it is named with 'reference' and define enum in model file, there will be r
|
|
|
78
78
|
|
|
79
79
|
## Thanks
|
|
80
80
|
|
|
81
|
-
Thanks for all the [contributors](https://github.com/lyohich812/
|
|
81
|
+
Thanks for all the [contributors](https://github.com/lyohich812/enum_i18n_helper/graphs/contributors).
|
|
82
82
|
|
|
83
83
|
## Contributing
|
|
84
84
|
|
|
85
|
-
1. Fork it ( https://github.com/lyohich812/
|
|
85
|
+
1. Fork it ( https://github.com/lyohich812/enum_i18n_helper/fork )
|
|
86
86
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
87
87
|
3. Run test `rspec`
|
|
88
88
|
4. Commit your changes (`git commit -am 'Add some feature'`)
|
data/enum_i18n_helper.gemspec
CHANGED
|
@@ -12,11 +12,11 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = %q{ Help ActiveRecord::Enum feature to work fine with I18n. }
|
|
13
13
|
spec.homepage = "https://github.com/lyohich812/enum_i18n_helper"
|
|
14
14
|
spec.license = "MIT"
|
|
15
|
-
|
|
16
15
|
spec.files = `git ls-files`.split($/)
|
|
17
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
18
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
18
|
spec.require_paths = ["lib"]
|
|
20
19
|
|
|
20
|
+
spec.metadata["source_code_uri"] = "https://github.com/lyohich812/enum_i18n_helper"
|
|
21
21
|
spec.add_dependency "activesupport", ">= 3.0.0"
|
|
22
22
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enum_i18n_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex P
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-02-
|
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -50,7 +50,8 @@ files:
|
|
|
50
50
|
homepage: https://github.com/lyohich812/enum_i18n_helper
|
|
51
51
|
licenses:
|
|
52
52
|
- MIT
|
|
53
|
-
metadata:
|
|
53
|
+
metadata:
|
|
54
|
+
source_code_uri: https://github.com/lyohich812/enum_i18n_helper
|
|
54
55
|
post_install_message:
|
|
55
56
|
rdoc_options: []
|
|
56
57
|
require_paths:
|