active_model_persistence 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: a36224415c3d71eed1f01b39413b896af90a3b808f15c081800f31114c6105d4
4
- data.tar.gz: f77057857a7cd5a6687017d2c9228e9c60ceb38a1cce75484ce40d93259de9d9
3
+ metadata.gz: be3fd5f19c5ceddcc38dbd4c7b104e0a7b26ac8945178b0e568efa787087b68c
4
+ data.tar.gz: c979c5b04b91063dd8ae264cab66f4be4619c7105393b3b2545e9562899ee397
5
5
  SHA512:
6
- metadata.gz: '084f1a34f5dbff248ab739cbe3ae95be6209d696db4b4b63191b6b5c6d0ee2b3674127b035a4eb1aef5529ae5400c5bce48d762d30193277e25865f595346ffe'
7
- data.tar.gz: 4cba73228e285a16226418fade9a753c7378201db8bbe622ab8de1e0afb9c484bfc99fbbf2b59e438c2b801dec4101025cd4174ad277aa285ae1a94b1c6ee0a8
6
+ metadata.gz: ece4a13179ea9317f763ffc23ffefb3109c49524fe62a75e22550659fe100bc01a07354f0d7e4450540c1dbc8c805101ca7a42ab76378f083008fcca9b7adbdc
7
+ data.tar.gz: 5f7d14093744d6b27a5b4045efd4542c2b9c49e671045dd0c4aed497ca29b3486ae2925fd7bce4ec65186382c381311e166ad8ebd52f72bc98b2ec0b6878d348
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@
7
7
 
8
8
  The full change log is stored on [this project's GitHub releases page](https://github.com/jcouball/active_model_persistence/releases).
9
9
 
10
+ ## v0.3.1
11
+
12
+ * d904b30 Fix spelling of UniqueConstraintError (#12)
13
+
14
+ See https://github.com/ruby-git/ruby-git/releases/tag/v0.3.1
15
+
10
16
  ## v0.3.0
11
17
 
12
18
  * 3b93fae List all changes in CHANGELOG.md instead of just a link (#10)
@@ -435,7 +435,7 @@ module ActiveModelPersistence
435
435
  #
436
436
  def _create
437
437
  return false unless primary_key?
438
- raise UniqueContraintError if primary_key_index.include?(primary_key)
438
+ raise UniqueConstraintError if primary_key_index.include?(primary_key)
439
439
 
440
440
  self.class.object_array << self
441
441
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module ActiveModelPersistence
4
4
  # The version of the active_model_persistence gem
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_model_persistence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Couball
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel