whmcs 1.0.0 → 1.1.0
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 +4 -4
- data/VERSION +1 -1
- data/lib/generators/whmcs/install_generator.rb +15 -0
- data/lib/generators/whmcs/templates/whmcs.rb +8 -0
- data/lib/whmcs/base.rb +1 -2
- data/whmcs.gemspec +5 -3
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7153cc324a6b5b81f4fe8e7536816b6bac40832f
|
4
|
+
data.tar.gz: d8f8aa0bfa3703721149126dcde998189284501f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e0a0671d6f2f2992cc82df518747dbc807cf8cf1b8ba753b94a6075922fc5f9e860175fb988ffb652b30ac0a91ca6c623edc8f8ffcf30b2089080ee879e7cf
|
7
|
+
data.tar.gz: dcf10ad61484bba842dc8559d448834d624a96d702a4cff7dd2d51fdbe2432bb3c2a9dab3c8ea2967ade38707be3e53bee98fb23918a281c0a1262401d04d545
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
module WHMCS
|
3
|
+
module Generators
|
4
|
+
class InstallGenerator < Rails::Generators::Base
|
5
|
+
source_root File.expand_path("../templates", __FILE__)
|
6
|
+
|
7
|
+
desc "Creates a WHMCS initializer."
|
8
|
+
|
9
|
+
def copy_initializer
|
10
|
+
template "whmcs.rb", "config/initializers/whmcs.rb"
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/whmcs/base.rb
CHANGED
data/whmcs.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
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.
|
5
|
+
# stub: whmcs 1.1.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "whmcs"
|
9
|
-
s.version = "1.
|
9
|
+
s.version = "1.1.0"
|
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"]
|
13
13
|
s.authors = ["Matthew J.W. Basterfield"]
|
14
|
-
s.date = "2015-02-
|
14
|
+
s.date = "2015-02-15"
|
15
15
|
s.description = "whmcs: A ruby wrapper for the WHMCS API - a port of the whmcs-ruby gem (https://github.com/dotblock/whmcs-ruby)"
|
16
16
|
s.email = "mjwb@flexbox.co.za"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -26,6 +26,8 @@ Gem::Specification.new do |s|
|
|
26
26
|
"README.rdoc",
|
27
27
|
"Rakefile",
|
28
28
|
"VERSION",
|
29
|
+
"lib/generators/whmcs/install_generator.rb",
|
30
|
+
"lib/generators/whmcs/templates/whmcs.rb",
|
29
31
|
"lib/whmcs.rb",
|
30
32
|
"lib/whmcs/base.rb",
|
31
33
|
"lib/whmcs/client.rb",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whmcs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew J.W. Basterfield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: crack
|
@@ -124,6 +124,8 @@ files:
|
|
124
124
|
- README.rdoc
|
125
125
|
- Rakefile
|
126
126
|
- VERSION
|
127
|
+
- lib/generators/whmcs/install_generator.rb
|
128
|
+
- lib/generators/whmcs/templates/whmcs.rb
|
127
129
|
- lib/whmcs.rb
|
128
130
|
- lib/whmcs/base.rb
|
129
131
|
- lib/whmcs/client.rb
|