plyom_user 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 81388211141dd23ca87e5266da90ae17b2c2acd9
4
- data.tar.gz: 2d7b0c30e85a6b0a13335b7f6a65229b39a8f334
3
+ metadata.gz: 21afb0468207382be2ac9260201924a50b9038d9
4
+ data.tar.gz: fc52cfd0f2c4945a63c8fdf8e7e568531146f6b9
5
5
  SHA512:
6
- metadata.gz: ef559a96e061590cd3440795ad78d676984dc60f64ae95bbbad94e250a3c86c1a94791bb4d36e4ddf20140667d34ee330f2f45e3e193737eb38bdbf7ea0e4948
7
- data.tar.gz: be6973b767f19ecb712b6e90961693e6d3e5be91bd28af0b4e8a6c212affe1602aac19b76cdcb2a2ecf5fcad9229dd473575fd7d2869315b29f68247626fbfe8
6
+ metadata.gz: a4313d5f1b8cc39f439474de8c71b331f7c725a1b94dba2ee017d4e9cf9cea8576753a8b72c800225166a145ff7d83307a210d10088efa3839db515ad6284eaf
7
+ data.tar.gz: f56ac33148c3f0379f520f713c8988e4b1b20ef25fe20bf7c69a6558fec65c793d4c3455fc00c8ad510e5d029a5ae49ffbe232114cea63fed4c2f882d66f1268
@@ -1,3 +1,3 @@
1
1
  module PlyomUser
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/lib/plyom_user.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  require "plyom_user/version"
2
2
  require "active_support"
3
- require 'active_support/core_ext/class/attribute'
4
- require 'active_support/core_ext/class/attribute_accessors'
5
- require 'active_support/core_ext/class/delegating_attributes'
3
+ require 'active_support/core_ext/class'
6
4
  require "httparty"
7
5
  require "json"
8
6
 
@@ -13,7 +11,7 @@ module PlyomUser
13
11
  end
14
12
 
15
13
  module ClassMethods
16
- class_attribute :id, :name, :email, :username, :password, :password_confirmation, :password_digest, :status, :token, :created_at, :updated_at
14
+ attr_accessor :id, :name, :email, :username, :password, :password_confirmation, :password_digest, :status, :token, :created_at, :updated_at
17
15
 
18
16
  def initialize(params={})
19
17
  params.each { |var, val| public_send("#{var}=", val) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plyom_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Pileggi