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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 276b01d703d6a657be6b878402fd58c598a7f297442c6976b5b124fa206f15e4
4
- data.tar.gz: 7ef3b621857adfe47db0f06673dadc5866f531cfce25c3aba60aabad389d08c0
3
+ metadata.gz: 6ab02ceaefc57b40d5184c82ccfd4fe862028f077c599fa6e3e6712427e0a57b
4
+ data.tar.gz: 46738fabd0c22155bb15e486186b87df994d3a95f9810801c85953c350780c2e
5
5
  SHA512:
6
- metadata.gz: bc73c09cdb1b543f95fdc487b6b969d4edd5875cf58bd072e22a1f9e3348a7029ec95007e8bcea799925d44ef7e2bf42556c2b467611c86d6b01b1052d533848
7
- data.tar.gz: 84fcc1bd03aead0c609cde7d90e8aa8bcdd302fa38416ce71834c9c22824b0769a9e6ce7dd5b13d4dbc7cea8846dcba8af5bbef641ed7db93392769fd4560fe7
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 therefore failing (on purpose).
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
- not_a_uuid_v4: 'not a UUID v4'
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
@@ -1,4 +1,7 @@
1
1
  fr:
2
- errors:
3
- messages:
4
- not_a_uuid_v4: "doit être un UUID aléatoire (v4)"
2
+ activerecord:
3
+ errors:
4
+ models:
5
+ attributes:
6
+ uuid:
7
+ invalid_random_uuid: "doit être un UUID aléatoire (v4)"
@@ -1,3 +1,3 @@
1
1
  module UUIDParameter
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uuid_parameter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hellekin