sticapi_client 0.3.0 → 0.3.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: 55b6de945b09cbf4d200019305365f6f438881dc076795cb747aa6ef3cf9ecdb
4
- data.tar.gz: 33bbccff652f17842a04028b11800438132e6218c842ae646eacbd9363c1e26d
3
+ metadata.gz: 6d09fb9e0b63ad785525a53605dbb67ed9bc754bbecec98fd6ad6f87a47e09fa
4
+ data.tar.gz: 705f68aa667c4b1043afdc35b70c5792b69424f643d2bd2843be3f555d8eefda
5
5
  SHA512:
6
- metadata.gz: 46f05ddbf7089e0e22b549c75da38c3261071914ba2fb7cd3be1c0eb05d0669e31d4e873ba605ce2585bb4fb4c0ff7a2797ed8c3439b97d1e61659fb4f42ba76
7
- data.tar.gz: 7d8ee626c429d56014fcb628f2a033a62b4ce335120c240e5c62efd0b1bf1db3b737dcb64405c724067842ba7efb94a4291aa385490465efb19b48889d756f19
6
+ metadata.gz: f2b9c86d5122ea0551d88a9bc12a005330eb3e16e45665b0cbfd3491ae00b432870314c8b51328a9b0a3b10f23041b5c8a1e040a49e85ecbc911ac3adada91e9
7
+ data.tar.gz: bd4c07cbe30057777a1a44f7de1b984e4685dc19f0e6e1d48e242ce414e1904ffde0d064df266d383771c0a820c901f6ac965eb12ca4015f1e1c964d26214a1b
@@ -57,9 +57,9 @@ module Devise
57
57
  user.username = data['user']['username'] if user.respond_to? :username
58
58
  user.email = data['user']['email']
59
59
  user.cpf = data['user']['cpf'] if user.respond_to? :cpf
60
- user.password = params[:user][:password]
61
- user.password_confirmation = params[:user][:password] if user.respond_to? :password_confirmation
62
60
  end
61
+ user.password = params[:user][:password] if user.respond_to? :password
62
+ user.password_confirmation = params[:user][:password] if user.respond_to? :password_confirmation
63
63
  user.unities = data['user']['unities'] if user.respond_to? :unities
64
64
  user.skip_confirmation! if user.respond_to? 'skip_confirmation!'
65
65
  user.save
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sticapi_client
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
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-05 00:00:00.000000000 Z
11
+ date: 2018-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails