encoded_id-rails 0.2.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of encoded_id-rails might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb93a60976be5fd3bacb21a78802c5f8388cf8d4e523adc8f1310c8cc71b77dd
4
- data.tar.gz: c8422d86707acd57d862f403a7e5784e68b5834d2368e708c5af0a20cfa4c467
3
+ metadata.gz: b4be4ce77532e0194a29d624cb4e9ae4dd1f783ead388ba73b00abc21c27b431
4
+ data.tar.gz: 41a11cd3abe1a15096a1eac101e54374edd69ec813689879fa2debdce684d949
5
5
  SHA512:
6
- metadata.gz: c578b5a9d22e2eba3be0e32ff5ae0a95d5dd0769f4ab65f50ebed76ba47b0510b0fa97291b5e62ff5ff72df348a38b244ed361404809d2e065e0c2baadff747e
7
- data.tar.gz: 6a40b3988b20bc14deee6e1b89b20c1c7be74bb2586b5af9aa2f479367cbd0dbeb9861341c4f8dda4ee80f3f96ac499a5fe380c5cbfa6fd1e2fb83b2e5ea4cbf
6
+ metadata.gz: d68f3f4cbec0a64615141ff9edc627e986fa18b5ac2d2e274e86cc149893482e1331fc8b0fb6c9e1f7dbe411790cbb0c7dfdd301ecd46f1b5da233320f461fb4
7
+ data.tar.gz: a879ab60759348cb5b53e9f092736debd515dca16a852af79ea53750a3b97bea0dd69151825379e578e65d024fcf375db15746a7f4f398b7746a179490077dec
@@ -11,7 +11,7 @@ module EncodedId
11
11
 
12
12
  def initialize
13
13
  @character_group_size = 4
14
- @alphabet = "0123456789abcdefghjkmnpqrstuvwxyz"
14
+ @alphabet = ::EncodedId::Alphabet.modified_crockford
15
15
  @id_length = 8
16
16
  end
17
17
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module EncodedId
4
4
  module Rails
5
- VERSION = "0.2.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
@@ -8,10 +8,11 @@ module EncodedId
8
8
  module Rails
9
9
  # Configuration
10
10
  class << self
11
- attr_reader :configuration
11
+ def configuration
12
+ @configuration ||= Configuration.new
13
+ end
12
14
 
13
15
  def configure
14
- @configuration ||= Configuration.new
15
16
  yield(configuration) if block_given?
16
17
  configuration
17
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encoded_id-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ierodiaconou
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-14 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport