snuggie 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ module Snuggie
2
+ class License
3
+
4
+ end
5
+ end
data/lib/snuggie/noc.rb CHANGED
@@ -103,6 +103,7 @@ module Snuggie
103
103
  # Eg: specify 100 if you have 500 licenses and want to
104
104
  # limit the result set to 100 items
105
105
  def list_licenses(params = {})
106
+ params[:ips] = params.delete(:ip) if params[:ip]
106
107
  params[:len] = params.delete(:limit) if params[:limit]
107
108
  params[:ca] = :licenses
108
109
  commit(params)
@@ -1,3 +1,3 @@
1
1
  module Snuggie
2
- VERSION = Version = '0.1.1'
2
+ VERSION = Version = '0.1.2'
3
3
  end
@@ -0,0 +1,5 @@
1
+ require 'test_helper'
2
+
3
+ context "Snuggie::License" do
4
+
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snuggie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-03 00:00:00.000000000 Z
12
+ date: 2012-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: php-serialize
16
- requirement: &10166620 !ruby/object:Gem::Requirement
16
+ requirement: &70205944714680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10166620
24
+ version_requirements: *70205944714680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &10166060 !ruby/object:Gem::Requirement
27
+ requirement: &70205944713960 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.2.2
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *10166060
35
+ version_requirements: *70205944713960
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: fakeweb
38
- requirement: &10165580 !ruby/object:Gem::Requirement
38
+ requirement: &70205944713200 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 1.3.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *10165580
46
+ version_requirements: *70205944713200
47
47
  description: ! ' Snuggie wraps the Softaculous API in a warm, loving ruby embrace.
48
48
 
49
49
  '
@@ -56,19 +56,21 @@ files:
56
56
  - Rakefile
57
57
  - README.markdown
58
58
  - lib/snuggie/config.rb
59
- - lib/snuggie/noc.rb
60
59
  - lib/snuggie/errors.rb
60
+ - lib/snuggie/license.rb
61
+ - lib/snuggie/noc.rb
61
62
  - lib/snuggie/version.rb
62
63
  - lib/snuggie.rb
63
- - test/fixtures/refund.txt
64
- - test/fixtures/invoice_details_unbilled.txt
65
- - test/fixtures/cancel_license.txt
66
64
  - test/fixtures/buy_license.txt
65
+ - test/fixtures/cancel_license.txt
67
66
  - test/fixtures/edit_ips.txt
68
- - test/fixtures/list_licenses.txt
67
+ - test/fixtures/invoice_details_unbilled.txt
69
68
  - test/fixtures/license_logs.txt
70
- - test/snuggie/noc_test.rb
69
+ - test/fixtures/list_licenses.txt
70
+ - test/fixtures/refund.txt
71
71
  - test/snuggie/config_test.rb
72
+ - test/snuggie/license_test.rb
73
+ - test/snuggie/noc_test.rb
72
74
  - test/snuggie_test.rb
73
75
  - test/test_helper.rb
74
76
  homepage: https://github.com/site5/snuggie
@@ -84,18 +86,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
86
  - - ! '>='
85
87
  - !ruby/object:Gem::Version
86
88
  version: '0'
87
- segments:
88
- - 0
89
- hash: -1372547582441903784
90
89
  required_rubygems_version: !ruby/object:Gem::Requirement
91
90
  none: false
92
91
  requirements:
93
92
  - - ! '>='
94
93
  - !ruby/object:Gem::Version
95
94
  version: '0'
96
- segments:
97
- - 0
98
- hash: -1372547582441903784
99
95
  requirements: []
100
96
  rubyforge_project:
101
97
  rubygems_version: 1.8.11
@@ -103,3 +99,4 @@ signing_key:
103
99
  specification_version: 3
104
100
  summary: Snuggie wraps the Softaculous API in a warm, loving ruby embrace
105
101
  test_files: []
102
+ has_rdoc: