recurly 0.4.13 → 0.4.14

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of recurly might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/lib/recurly.rb +15 -0
  2. data/lib/recurly/version.rb +1 -1
  3. metadata +3 -3
data/lib/recurly.rb CHANGED
@@ -58,6 +58,21 @@ module Recurly
58
58
  Base.user && Base.site
59
59
  end
60
60
 
61
+ # Alias password to api_key
62
+ def password
63
+ self.api_key
64
+ end
65
+ def password=(password)
66
+ self.api_key = password
67
+ end
68
+
69
+ # Ignore username
70
+ def username
71
+ nil
72
+ end
73
+ def username=(_)
74
+ end
75
+
61
76
  def configure
62
77
  if block_given?
63
78
  yield self
@@ -1,3 +1,3 @@
1
1
  module Recurly #:nodoc
2
- VERSION = "0.4.13"
2
+ VERSION = "0.4.14"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 13
9
- version: 0.4.13
8
+ - 14
9
+ version: 0.4.14
10
10
  platform: ruby
11
11
  authors:
12
12
  - Isaac Hall
@@ -249,7 +249,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - - ">="
251
251
  - !ruby/object:Gem::Version
252
- hash: 3357233877088955129
252
+ hash: 2419922066457854656
253
253
  segments:
254
254
  - 0
255
255
  version: "0"