whmcs 1.1.0 → 1.1.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
  SHA1:
3
- metadata.gz: 7153cc324a6b5b81f4fe8e7536816b6bac40832f
4
- data.tar.gz: d8f8aa0bfa3703721149126dcde998189284501f
3
+ metadata.gz: 939e5f42418bd9ce86407c6c01af39174dd95672
4
+ data.tar.gz: ee71811768b60682693bec56d1d423902432b907
5
5
  SHA512:
6
- metadata.gz: 18e0a0671d6f2f2992cc82df518747dbc807cf8cf1b8ba753b94a6075922fc5f9e860175fb988ffb652b30ac0a91ca6c623edc8f8ffcf30b2089080ee879e7cf
7
- data.tar.gz: dcf10ad61484bba842dc8559d448834d624a96d702a4cff7dd2d51fdbe2432bb3c2a9dab3c8ea2967ade38707be3e53bee98fb23918a281c0a1262401d04d545
6
+ metadata.gz: d87b54a486c3ab177740f1e1bfeb83f94a7b29900de50a8bcb76796bc3cd910728197ef97de68e4b43c2d27a3506afdd6a3c36f514ae65f1c628bc3f3c07920a
7
+ data.tar.gz: b8783ba2f98c7d1eef82fbe453ba5c2e42ad7f1d8741d9dadd9d243b2b0c1f0768f3e12b12dcc57ba9b496cf75a0922a6adce74ad65b688302cd0be704855f2b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -1,5 +1,5 @@
1
1
  require 'rails/generators'
2
- module WHMCS
2
+ module Whmcs
3
3
  module Generators
4
4
  class InstallGenerator < Rails::Generators::Base
5
5
  source_root File.expand_path("../templates", __FILE__)
@@ -1,4 +1,4 @@
1
- WHMCS.configure do |config|
1
+ Whmcs.configure do |config|
2
2
 
3
3
  # Replace these values with the WHMCS API values
4
4
  config.api_username = 'example_api_user'
data/lib/whmcs.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  autoload :Config, "whmcs/config"
3
3
  autoload :Base, "whmcs/base"
4
4
  autoload :Client, "whmcs/client"
data/lib/whmcs/base.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'faraday'
2
2
  require 'crack'
3
3
 
4
- module WHMCS
4
+ module Whmcs
5
5
  # WHMCS::Base is the main class used to subclass WHMCS API resources
6
6
  class Base
7
7
 
@@ -17,11 +17,11 @@ module WHMCS
17
17
  end
18
18
 
19
19
  params.merge!(
20
- :username => WHMCS.config.api_username,
21
- :password => WHMCS.config.api_password
20
+ :username => Whmcs.config.api_username,
21
+ :password => Whmcs.config.api_password
22
22
  )
23
23
 
24
- url = URI.parse(WHMCS.config.api_url)
24
+ url = URI.parse(Whmcs.config.api_url)
25
25
 
26
26
  # TODO: Configure Faraday for HTTPS requests
27
27
  conn = Faraday.new(:url => url) do |faraday|
data/lib/whmcs/client.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Client is the class for managing clients
3
3
  class Client < Base
4
4
 
data/lib/whmcs/config.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Config stores configuration data for connecting to the WHMCS API
3
3
  class Config
4
4
  # The WHMCS API username
data/lib/whmcs/invoice.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Invoice is the class for managing invoices
3
3
  class Invoice < Base
4
4
 
data/lib/whmcs/misc.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # The WHMCS::Misc class contains miscelaneous WHMCS API functions
3
3
  class Misc < Base
4
4
 
data/lib/whmcs/module.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Module is the class for working with hosting account modules
3
3
  class Module < Base
4
4
 
data/lib/whmcs/order.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Order is the class for managing orders
3
3
  class Order < Base
4
4
 
data/lib/whmcs/quote.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Quote is the class for managing quotes
3
3
  class Quote < Base
4
4
 
data/lib/whmcs/ticket.rb CHANGED
@@ -1,4 +1,4 @@
1
- module WHMCS
1
+ module Whmcs
2
2
  # WHMCS::Ticket is the class for managing support tickets
3
3
  class Ticket < Base
4
4
 
@@ -169,4 +169,4 @@ module WHMCS
169
169
  send_request(params)
170
170
  end
171
171
  end
172
- end
172
+ end
data/whmcs.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: whmcs 1.1.0 ruby lib
5
+ # stub: whmcs 1.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "whmcs"
9
- s.version = "1.1.0"
9
+ s.version = "1.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whmcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew J.W. Basterfield