snuggie 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cacbf56936f0ca914ec274d629fa8c7e939e4b10
4
+ data.tar.gz: f6c588a21a154a2270f58ffb6b0b8704e2436158
5
+ SHA512:
6
+ metadata.gz: 5ef6944c513a5a72ba4735a381f86f766d7bf5e841b22154278b9aee41af6211b25b77618d4708b56a911a46e05810f01242caad71f614fc4a7971f7b08bdfe7
7
+ data.tar.gz: 57a08293486ab986302678efcdcd1fb010a59db5a1d1647dea5bb9918b6031049710991f8e7a5df52f0f1c04ccb5d0e0fb7c56a7219a1c528102133a6c4c87c6
data/lib/snuggie/noc.rb CHANGED
@@ -104,9 +104,10 @@ module Snuggie
104
104
  # Eg: specify 100 if you have 500 licenses and want to
105
105
  # limit the result set to 100 items
106
106
  def list_licenses(params = {})
107
- params[:ips] = params.delete(:ip) if params[:ip]
108
- params[:len] = params.delete(:limit) if params[:limit]
109
- params[:ca] = :licenses
107
+ params[:lickey] = params.delete(:key) if params[:key]
108
+ params[:ips] = params.delete(:ip) if params[:ip]
109
+ params[:len] = params.delete(:limit) if params[:limit]
110
+ params[:ca] = :licenses
110
111
  commit(params)
111
112
  end
112
113
 
@@ -1,3 +1,3 @@
1
1
  module Snuggie
2
- VERSION = Version = '0.2.1'
2
+ VERSION = Version = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,99 +1,87 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snuggie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.2.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Joshua Priddle
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-06-08 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: php-serialize
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: faraday
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: 0.8.1
33
+ version: 0.8.9
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: 0.8.1
40
+ version: 0.8.9
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: faraday_middleware
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: 0.8.4
47
+ version: 0.9.0
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
- version: 0.8.4
54
+ version: 0.9.0
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: 0.9.2.2
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: 0.9.2.2
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: fakeweb
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: 1.3.0
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: 1.3.0
94
- description: ! ' Snuggie wraps the Softaculous API in a warm, loving ruby embrace.
95
-
96
- '
83
+ description: |2
84
+ Snuggie wraps the Softaculous API in a warm, loving ruby embrace.
97
85
  email: jpriddle@site5.com
98
86
  executables: []
99
87
  extensions: []
@@ -103,50 +91,45 @@ files:
103
91
  - Rakefile
104
92
  - README.markdown
105
93
  - lib/snuggie/config.rb
106
- - lib/snuggie/noc.rb
107
94
  - lib/snuggie/errors.rb
95
+ - lib/snuggie/noc.rb
108
96
  - lib/snuggie/version.rb
109
97
  - lib/snuggie.rb
110
- - test/fixtures/refund.txt
111
- - test/fixtures/invoice_details_unbilled.txt
112
- - test/fixtures/cancel_license.txt
113
98
  - test/fixtures/buy_license.txt
99
+ - test/fixtures/cancel_license.txt
114
100
  - test/fixtures/edit_ips.txt
115
- - test/fixtures/list_licenses.txt
101
+ - test/fixtures/invoice_details_unbilled.txt
116
102
  - test/fixtures/license_logs.txt
117
- - test/snuggie/noc_test.rb
103
+ - test/fixtures/list_licenses.txt
104
+ - test/fixtures/refund.txt
118
105
  - test/snuggie/config_test.rb
106
+ - test/snuggie/noc_test.rb
119
107
  - test/snuggie_test.rb
120
108
  - test/test_helper.rb
121
109
  homepage: https://github.com/site5/snuggie
122
- licenses: []
110
+ licenses:
111
+ - MIT
112
+ metadata: {}
123
113
  post_install_message:
124
114
  rdoc_options:
125
- - --charset=UTF-8
115
+ - "--charset=UTF-8"
126
116
  require_paths:
127
117
  - lib
128
118
  required_ruby_version: !ruby/object:Gem::Requirement
129
- none: false
130
119
  requirements:
131
- - - ! '>='
120
+ - - ">="
132
121
  - !ruby/object:Gem::Version
133
122
  version: '0'
134
- segments:
135
- - 0
136
- hash: 3975251454299087220
137
123
  required_rubygems_version: !ruby/object:Gem::Requirement
138
- none: false
139
124
  requirements:
140
- - - ! '>='
125
+ - - ">="
141
126
  - !ruby/object:Gem::Version
142
127
  version: '0'
143
- segments:
144
- - 0
145
- hash: 3975251454299087220
146
128
  requirements: []
147
129
  rubyforge_project:
148
- rubygems_version: 1.8.23
130
+ rubygems_version: 2.0.14
149
131
  signing_key:
150
- specification_version: 3
132
+ specification_version: 4
151
133
  summary: Snuggie wraps the Softaculous API in a warm, loving ruby embrace
152
134
  test_files: []
135
+ has_rdoc: