relaxo-model 0.4.6 → 0.4.7

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
  SHA1:
3
- metadata.gz: e31d6622726e4588c0a5b4d774d7eb8d8993b9ed
4
- data.tar.gz: 9e4ec05b11555e6efac3d337303e24ab0a312509
3
+ metadata.gz: 50e7a5fa856f14fdbc7873bfc8fde8eb7acc225c
4
+ data.tar.gz: 62fefc6d1ebb388be91ab5a4ea6446454bf87e21
5
5
  SHA512:
6
- metadata.gz: ed36b4882760c2307798298582d796a458b968e993bede1b56929bbbcdcd3fea4d587ae401c359cd44351f40d181377bdd3c75e6f4ce6547808e45078dd84cc6
7
- data.tar.gz: eec02c2f59a9adbc594799eca253d8539007b3c682ad40ff97960926cf85294614e5e41c702b5cd9a6688fa17165f944d6b5a3e1ad85acf7c20d2467b22faa07
6
+ metadata.gz: 41ce9a6692a28b927994a1a334d451c27a89bbc4ff3badc6e56c9e8256c5aa7ad8db3fa1322bbee3136831efbb71b14023c3c11c7c4a2b5cc41cd73885edc0c5
7
+ data.tar.gz: fdec6be6efdc34f0a264bbfd88c52af8796ca91e805e47c08cf600e1267977932e0ef1596a5850a7f59e6ec6689537aa0f38bc9cff813dfcfd59acd5f211a18d
@@ -100,7 +100,7 @@ module Relaxo
100
100
 
101
101
  # Save the model object.
102
102
  def save
103
- return if @changed.empty?
103
+ return if saved? and @changed.empty?
104
104
 
105
105
  before_save
106
106
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Relaxo
22
22
  module Model
23
- VERSION = "0.4.6"
23
+ VERSION = "0.4.7"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaxo-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-22 00:00:00.000000000 Z
11
+ date: 2016-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: relaxo