summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-12 13:23:36 -0700
committerAzul <azul@leap.se>2013-07-17 10:46:25 +0200
commitfe7a5ac0776e1bd7baf36382600e265def901e51 (patch)
tree0c7c04e4a59d4ed72ab32e297b4a3ac8e325dfcf
parent2e59c7131a08acab4944b18ba4b8d82daa402c4f (diff)
More pieces to set up the billing engine.
-rw-r--r--billing/Rakefile8
-rw-r--r--billing/lib/leap_web_billing.rb4
-rw-r--r--lib/leap_web.rb2
3 files changed, 10 insertions, 4 deletions
diff --git a/billing/Rakefile b/billing/Rakefile
index 1dcfb25..52929c4 100644
--- a/billing/Rakefile
+++ b/billing/Rakefile
@@ -14,14 +14,16 @@ end
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'Billing'
+ rdoc.title = 'LeapWebBilling'
rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-
+spec = eval(File.read('leap_web_billing.gemspec'))
+Gem::PackageTask.new(spec) do |p|
+ p.gem_spec = spec
+end
Bundler::GemHelper.install_tasks
diff --git a/billing/lib/leap_web_billing.rb b/billing/lib/leap_web_billing.rb
new file mode 100644
index 0000000..288d846
--- /dev/null
+++ b/billing/lib/leap_web_billing.rb
@@ -0,0 +1,4 @@
+require "leap_web_billing/engine"
+
+module LeapWebBilling
+end
diff --git a/lib/leap_web.rb b/lib/leap_web.rb
index 71be1b1..9495fc6 100644
--- a/lib/leap_web.rb
+++ b/lib/leap_web.rb
@@ -1,4 +1,4 @@
require 'leap_web_core'
require 'leap_web_certs'
require 'leap_web_users'
-require 'leap_web_billing'
+# do we want billing and help here?