uuid_parameter 0.2.0 → 0.2.1
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 -1
- data/config/locale/en.yml +1 -12
- data/config/locale/fr.yml +6 -3
- data/lib/uuid_parameter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ab02ceaefc57b40d5184c82ccfd4fe862028f077c599fa6e3e6712427e0a57b
|
|
4
|
+
data.tar.gz: 46738fabd0c22155bb15e486186b87df994d3a95f9810801c85953c350780c2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cd2047009495901ec657bee74ce50a504c3e96fc677f49eb44449f0a8d672dbb041e19dec6ef9299538caa945792edfa3bc9614e349da66ba38a622494708c9
|
|
7
|
+
data.tar.gz: fe085312044d12794753b3aea1fdc400aba503b9f28f44f23d6a2c8374cc818df0a8763f521defb5fa237353092eb714c4532c4b25233337f191212e1ef89b98
|
data/README.md
CHANGED
|
@@ -30,7 +30,9 @@ Models including the `UUIDParameter` module will:
|
|
|
30
30
|
|
|
31
31
|
### I18n
|
|
32
32
|
|
|
33
|
-
Translations are in progress (See #2): specs are
|
|
33
|
+
Translations are in progress (See #2): specs are now passing thanks to a hack.
|
|
34
|
+
To add a new translation, please edit or create the corresponding file in
|
|
35
|
+
[`config/locale`](../tree/master/config/locale).
|
|
34
36
|
|
|
35
37
|
## Usage
|
|
36
38
|
|
|
@@ -105,6 +107,8 @@ git commits and tags, and push the `.gem` file to
|
|
|
105
107
|
[rubygems.org](https://rubygems.org).
|
|
106
108
|
See `bundle exec rake -T` for more options.
|
|
107
109
|
|
|
110
|
+
You can now use `bin/console` to get a nice `Pry` console for development.
|
|
111
|
+
|
|
108
112
|
## License
|
|
109
113
|
|
|
110
114
|
This gem is free software under the same [license] terms as Rails.
|
data/config/locale/en.yml
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
en:
|
|
2
|
-
errors:
|
|
3
|
-
messages:
|
|
4
|
-
not_a_uuid_v4: "must be a random UUID (v4)"
|
|
5
2
|
activerecord:
|
|
6
3
|
errors:
|
|
7
4
|
models:
|
|
8
5
|
attributes:
|
|
9
6
|
uuid:
|
|
10
|
-
|
|
11
|
-
attributes:
|
|
12
|
-
user:
|
|
13
|
-
uuid: 'UUIDv4'
|
|
14
|
-
errors:
|
|
15
|
-
user:
|
|
16
|
-
attributes:
|
|
17
|
-
uuid:
|
|
18
|
-
not_a_uuid_v4: 'LAAAAAAAAAAAAAAAAAA in uuid_parameter/locale'
|
|
7
|
+
invalid_random_uuid: "must be a random UUID (v4)"
|
data/config/locale/fr.yml
CHANGED