activerecord_sqlserver_crm 5.0.5 → 5.0.6

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: 31bacc7f3a5c55498b5e4224d669033782b57642
4
- data.tar.gz: 9ccc7a143acabcb018cfab44b8670224bc5c29d5
3
+ metadata.gz: 1c4067b8e2087697e1d98305d9c8b9aa40990b5d
4
+ data.tar.gz: 424379a802d8394e5f8631ade3c21eab00a3f2ef
5
5
  SHA512:
6
- metadata.gz: 5e99747399070dc5b71929e652db34eb36c672a7624f7539b343c7accdbf566491496767e7fa7b32fdebb4e2ee19e12af2f4686e04b34059679c68693f0ee55e
7
- data.tar.gz: 3de9b15091496173d2c2c070468d72c15f0e8cd06f69406bd64c2f73cea5abb24be7c946bd7cc5446dacdbcab1150f5c35394790f65249ed00755c887298d2ee
6
+ metadata.gz: 90b717689f00da212a199cd23ce1a96c6b29a3220917d2c027ddc83bad0bf67eb7b86f1e9e7690fb64b2238f5489b6a04dcd5df070456f316affdfc69f2ae73e
7
+ data.tar.gz: 237cf59a7ca161205b674afb05803390a04a75ae5a6d78f5835615d08f99ec0dd786bdb20dc07663876003e6e3c1415d117d504dc97ec50eb7a31564135eafed
data/README.rdoc CHANGED
@@ -8,4 +8,8 @@ gem build activerecord_sqlserver_crm.gemspec
8
8
 
9
9
  gem push activerecord_sqlserver_crm-0.0.1.gem
10
10
 
11
+ == You must also add tag for it to be published
12
+
13
+ git tag -a v5.0.5 -m "Remove reload on a save"
14
+ git push origin v5.0
11
15
 
@@ -41,7 +41,10 @@ module ActiveRecordExtension
41
41
  if has_errors
42
42
  raise_validation_error
43
43
  else
44
- reload unless id.nil?
44
+ unless id.nil?
45
+ @new_record = false
46
+ clear_changes_information
47
+ end
45
48
  end
46
49
  !has_errors
47
50
  end
@@ -1,3 +1,3 @@
1
1
  module ActiverecordSqlserverCrm
2
- VERSION = "5.0.5"
2
+ VERSION = "5.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_sqlserver_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.5
4
+ version: 5.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rolf Lawrenz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2017-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -56,20 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '2.0'
59
+ version: '1.1'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.0.0
62
+ version: 1.1.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.0'
69
+ version: '1.1'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 2.0.0
72
+ version: 1.1.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: typhoeus
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -95,9 +95,6 @@ dependencies:
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '3.5'
100
- - - ">="
101
98
  - !ruby/object:Gem::Version
102
99
  version: 3.5.2
103
100
  type: :development
@@ -105,9 +102,6 @@ dependencies:
105
102
  version_requirements: !ruby/object:Gem::Requirement
106
103
  requirements:
107
104
  - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '3.5'
110
- - - ">="
111
105
  - !ruby/object:Gem::Version
112
106
  version: 3.5.2
113
107
  - !ruby/object:Gem::Dependency