kaui 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -4
- data/Gemfile.lock +3 -3
- data/README.md +12 -8
- data/app/controllers/kaui/accounts_controller.rb +1 -4
- data/app/controllers/kaui/bundles_controller.rb +1 -2
- data/app/controllers/kaui/subscriptions_controller.rb +4 -1
- data/app/helpers/kaui/killbill_helper.rb +7 -7
- data/app/models/kaui/subscription.rb +3 -1
- data/app/models/kaui/tag_definition.rb +1 -1
- data/app/views/kaui/account_timelines/show.html.erb +3 -3
- data/app/views/kaui/accounts/show.html.erb +9 -8
- data/app/views/kaui/bundles/show.html.erb +0 -8
- data/kaui.gemspec +3 -2
- data/lib/kaui/version.rb +1 -1
- data/test/test_helper.rb +2 -2
- data/test/unit/kaui/tag_definition_test.rb +4 -4
- metadata +38 -13
- checksums.yaml +0 -7
data/.travis.yml
CHANGED
@@ -7,11 +7,9 @@ notifications:
|
|
7
7
|
rvm:
|
8
8
|
- 1.9.3
|
9
9
|
- 1.9.2
|
10
|
-
- jruby-18mode
|
11
10
|
- jruby-19mode
|
12
11
|
- ruby-head
|
13
12
|
- jruby-head
|
14
|
-
- 1.8.7
|
15
13
|
|
16
14
|
jdk:
|
17
15
|
- openjdk7
|
@@ -22,8 +20,7 @@ before_script:
|
|
22
20
|
- mysql -e 'create database kaui_test;'
|
23
21
|
|
24
22
|
script:
|
25
|
-
- RAILS_ENV=test bundle exec rake db:migrate --trace
|
26
|
-
- bundle exec rake db:test:prepare
|
23
|
+
- pushd test/dummy && RAILS_ENV=test bundle exec rake db:migrate --trace && RAILS_ENV=test bundle exec rake db:test:prepare && popd
|
27
24
|
- bundle exec rake
|
28
25
|
|
29
26
|
matrix:
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kaui (0.
|
4
|
+
kaui (0.4.0)
|
5
5
|
cancan (~> 1.6.10)
|
6
6
|
d3_rails (~> 3.2.8)
|
7
7
|
devise (~> 3.0.2)
|
8
8
|
jquery-rails (~> 3.0.4)
|
9
|
-
killbill-client (~> 0.
|
9
|
+
killbill-client (~> 0.3.1)
|
10
10
|
money-rails (~> 0.8.1)
|
11
11
|
rails (~> 3.2.14)
|
12
12
|
rest-client (~> 1.6.7)
|
@@ -60,7 +60,7 @@ GEM
|
|
60
60
|
railties (>= 3.0, < 5.0)
|
61
61
|
thor (>= 0.14, < 2.0)
|
62
62
|
json (1.8.0)
|
63
|
-
killbill-client (0.
|
63
|
+
killbill-client (0.3.1)
|
64
64
|
mail (2.5.4)
|
65
65
|
mime-types (~> 1.16)
|
66
66
|
treetop (~> 1.4.8)
|
data/README.md
CHANGED
@@ -46,14 +46,18 @@ Sharing a Kaui instance across multiple tenants is not supported yet (you need t
|
|
46
46
|
Running tests
|
47
47
|
-------------
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
49
|
+
Go into 'test/dummy':
|
50
|
+
> cd test/dummy/
|
51
|
+
|
52
|
+
Run mkigrations:
|
53
|
+
> export RAILS_ENV=test
|
54
|
+
> rake kaui:install:migrations
|
55
|
+
> rake db:migrate
|
56
|
+
|
57
|
+
Run the tests:
|
58
|
+
(Move back to top level)
|
59
|
+
> cd ../..
|
60
|
+
> rake test
|
57
61
|
|
58
62
|
|
59
63
|
Development
|
@@ -25,16 +25,13 @@ class Kaui::AccountsController < Kaui::EngineController
|
|
25
25
|
begin
|
26
26
|
@tags = Kaui::KillbillHelper::get_tags_for_account(@account.account_id, options_for_klient).sort
|
27
27
|
@account_emails = Kaui::AccountEmail.where({ :account_id => @account.account_id }, options_for_klient)
|
28
|
-
|
28
|
+
@overdue_state = Kaui::KillbillHelper::get_overdue_state_for_account(@account.account_id, options_for_klient)
|
29
29
|
@payment_methods = Kaui::KillbillHelper::get_non_external_payment_methods(@account.account_id, options_for_klient)
|
30
30
|
@bundles = Kaui::KillbillHelper::get_bundles(@account.account_id, options_for_klient)
|
31
31
|
|
32
|
-
@overdue_state_by_bundle_id = {}
|
33
32
|
@subscriptions_by_bundle_id = {}
|
34
33
|
|
35
34
|
@bundles.each do |bundle|
|
36
|
-
@overdue_state_by_bundle_id[bundle.bundle_id] = Kaui::KillbillHelper::get_overdue_state_for_bundle(bundle.bundle_id, options_for_klient)
|
37
|
-
|
38
35
|
subscriptions = Kaui::KillbillHelper::get_subscriptions_for_bundle(bundle.bundle_id, options_for_klient)
|
39
36
|
if subscriptions.present?
|
40
37
|
@subscriptions_by_bundle_id[bundle.bundle_id.to_s] = (@subscriptions_by_bundle_id[bundle.bundle_id.to_s] || []) + subscriptions
|
@@ -15,7 +15,6 @@ class Kaui::BundlesController < Kaui::EngineController
|
|
15
15
|
if @bundle.present?
|
16
16
|
@account = Kaui::KillbillHelper::get_account_by_bundle_id(@bundle.bundle_id, options_for_klient)
|
17
17
|
@subscriptions = Kaui::KillbillHelper::get_subscriptions_for_bundle(@bundle.bundle_id, options_for_klient)
|
18
|
-
@overdue_state = Kaui::KillbillHelper::get_overdue_state_for_bundle(@bundle.bundle_id, options_for_klient)
|
19
18
|
else
|
20
19
|
flash.now[:error] = "Bundle #{key} not found"
|
21
20
|
render :action => :index
|
@@ -55,7 +54,7 @@ class Kaui::BundlesController < Kaui::EngineController
|
|
55
54
|
if bundle_id.present? && result.is_a?(Kaui::Account)
|
56
55
|
@new_account = result
|
57
56
|
begin
|
58
|
-
Kaui::KillbillHelper::transfer_bundle(bundle_id, @new_account.account_id, current_user, params[:reason], params[:comment], options_for_klient)
|
57
|
+
Kaui::KillbillHelper::transfer_bundle(bundle_id, @new_account.account_id, false, true, current_user, params[:reason], params[:comment], options_for_klient)
|
59
58
|
flash[:notice] = "Bundle transfered successfully"
|
60
59
|
rescue => e
|
61
60
|
flash[:error] = "Error transfering bundle #{as_string(e)}"
|
@@ -58,6 +58,7 @@ class Kaui::SubscriptionsController < Kaui::EngineController
|
|
58
58
|
end
|
59
59
|
|
60
60
|
plan = @catalog[@plan_name]
|
61
|
+
@subscription.account_id = @bundle.account_id
|
61
62
|
@subscription.billing_period = plan["billingPeriod"]
|
62
63
|
@subscription.product_name = plan["productName"]
|
63
64
|
@subscription.price_list = plan["priceListName"]
|
@@ -73,6 +74,7 @@ class Kaui::SubscriptionsController < Kaui::EngineController
|
|
73
74
|
def add_addon
|
74
75
|
@base_product_name = params[:base_product_name]
|
75
76
|
|
77
|
+
@account_id = params[:account_id]
|
76
78
|
@bundle_id = params[:bundle_id]
|
77
79
|
@product_name = params[:product_name]
|
78
80
|
@product_category = params[:product_category]
|
@@ -80,7 +82,8 @@ class Kaui::SubscriptionsController < Kaui::EngineController
|
|
80
82
|
@price_list = params[:price_list]
|
81
83
|
|
82
84
|
begin
|
83
|
-
@subscription = Kaui::Subscription.new(:
|
85
|
+
@subscription = Kaui::Subscription.new(:account_id => @account_id,
|
86
|
+
:bundle_id => @bundle_id,
|
84
87
|
:product_name => @product_name,
|
85
88
|
:product_category => @product_category,
|
86
89
|
:billing_period => @billing_period,
|
@@ -98,7 +98,7 @@ module Kaui
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def self.get_account_by_bundle_id(bundle_id, options = {})
|
101
|
-
bundle = get_bundle(bundle_id)
|
101
|
+
bundle = get_bundle(bundle_id, options)
|
102
102
|
get_account(bundle.account_id, false, false, options)
|
103
103
|
end
|
104
104
|
|
@@ -188,7 +188,7 @@ module Kaui
|
|
188
188
|
# We don't want to pass events
|
189
189
|
subscription_data.delete(:events)
|
190
190
|
call_killbill :post,
|
191
|
-
"/1.0/kb/
|
191
|
+
"/1.0/kb/entitlements",
|
192
192
|
ActiveSupport::JSON.encode(subscription_data, :root => false),
|
193
193
|
build_audit_headers(current_user, reason, comment, options)
|
194
194
|
end
|
@@ -203,14 +203,14 @@ module Kaui
|
|
203
203
|
# We don't want to pass events
|
204
204
|
subscription_data.delete(:events)
|
205
205
|
call_killbill :put,
|
206
|
-
"/1.0/kb/
|
206
|
+
"/1.0/kb/entitlements/#{subscription.subscription_id}#{params}",
|
207
207
|
ActiveSupport::JSON.encode(subscription_data, :root => false),
|
208
208
|
build_audit_headers(current_user, reason, comment, options)
|
209
209
|
end
|
210
210
|
|
211
211
|
def self.reinstate_subscription(subscription_id, current_user = nil, reason = nil, comment = nil, options = {})
|
212
212
|
call_killbill :put,
|
213
|
-
"/1.0/kb/
|
213
|
+
"/1.0/kb/entitlements/#{subscription_id}/uncancel",
|
214
214
|
"",
|
215
215
|
build_audit_headers(current_user, reason, comment, options)
|
216
216
|
end
|
@@ -221,7 +221,7 @@ module Kaui
|
|
221
221
|
params += "policy=#{policy}&" unless policy.blank?
|
222
222
|
params += "requestedDate=#{prev_ctd.strftime('%Y-%m-%dT%H:%M:%S')}" unless prev_ctd.nil?
|
223
223
|
call_killbill :delete,
|
224
|
-
"/1.0/kb/
|
224
|
+
"/1.0/kb/entitlements/#{subscription_id}#{params}",
|
225
225
|
build_audit_headers(current_user, reason, comment, options)
|
226
226
|
end
|
227
227
|
|
@@ -502,8 +502,8 @@ module Kaui
|
|
502
502
|
|
503
503
|
############## OVERDUE ##############
|
504
504
|
|
505
|
-
def self.
|
506
|
-
data = call_killbill :get, "/1.0/kb/overdue/
|
505
|
+
def self.get_overdue_state_for_account(account_id, options = {})
|
506
|
+
data = call_killbill :get, "/1.0/kb/overdue/accounts/#{account_id}", options
|
507
507
|
process_response(data, :single) { |json| Kaui::OverdueState.new(json) }
|
508
508
|
end
|
509
509
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
class Kaui::Subscription < Kaui::Base
|
2
|
+
define_attr :account_id
|
2
3
|
define_attr :subscription_id
|
3
4
|
define_attr :bundle_id
|
4
5
|
define_attr :product_category
|
@@ -12,7 +13,8 @@ class Kaui::Subscription < Kaui::Base
|
|
12
13
|
has_many :events, Kaui::Event
|
13
14
|
|
14
15
|
def initialize(data = {})
|
15
|
-
super(:
|
16
|
+
super(:account_id => data['accountId'] || data['account_id'],
|
17
|
+
:subscription_id => data['subscriptionId'] || data['subscription_id'],
|
16
18
|
:bundle_id => data['bundleId'] || data['bundle_id'],
|
17
19
|
:product_category => data['productCategory'] || data['product_category'],
|
18
20
|
:product_name => data['productName'] || data['product_name'],
|
@@ -17,7 +17,7 @@ class Kaui::TagDefinition < Kaui::Base
|
|
17
17
|
# See com.ning.billing.util.dao.ObjectType in killbill-api
|
18
18
|
%w(ACCOUNT ACCOUNT_EMAIL BUNDLE INVOICE PAYMENT INVOICE_ITEM INVOICE_PAYMENT
|
19
19
|
SUBSCRIPTION SUBSCRIPTION_EVENT PAYMENT_METHOD REFUND TAG_DEFINITION).each do |object_type|
|
20
|
-
define_singleton_method "all_for_#{object_type.downcase}" do |options_for_klient
|
20
|
+
define_singleton_method "all_for_#{object_type.downcase}" do |options_for_klient|
|
21
21
|
self.all(options_for_klient).delete_if { |tag_definition| !tag_definition.applicable_object_types.include? object_type }
|
22
22
|
end
|
23
23
|
end
|
@@ -259,8 +259,8 @@
|
|
259
259
|
<% @timeline.bundles.each do |bundle| %>
|
260
260
|
<% bundle.subscriptions.each do |sub| %>
|
261
261
|
<% sub.events.each do |event| %>
|
262
|
-
<!-- SKIP
|
263
|
-
<% next if event.event_type == '
|
262
|
+
<!-- SKIP SERVICE_STATE_CHANGE -->
|
263
|
+
<% next if event.event_type == 'SERVICE_STATE_CHANGE' %>
|
264
264
|
<tr title="<%= @bundle_names[bundle.external_key] %>" data-event_type="<%= event.event_type %>">
|
265
265
|
<td>
|
266
266
|
<% if event.requested_date.present? %>
|
@@ -306,7 +306,7 @@
|
|
306
306
|
});
|
307
307
|
}
|
308
308
|
|
309
|
-
eventsOrder = ["
|
309
|
+
eventsOrder = ["START_ENTITLEMENT", "START_BILLING", "PAUSE_ENTITLEMENT", "PAUSE_BILLING", "RESUME_ENTITLEMENT", "RESUME_BILLING", "PHASE", "CHANGE", , "STOP_ENTITLEMENT", "STOP_BILLING", "INVOICE", "PAYMENT", "REFUND", "CHARGEBACK"];
|
310
310
|
|
311
311
|
jQuery.fn.dataTableExt.oSort['timeline-event-asc'] = function(e1,e2) {
|
312
312
|
var x = eventsOrder.indexOf(e1);
|
@@ -30,6 +30,14 @@
|
|
30
30
|
<dd><%= @account.phone %> </dd>
|
31
31
|
<dt>External key:</dt>
|
32
32
|
<dd><%= @account.external_key %> </dd>
|
33
|
+
<dt>Overdue status:</dt>
|
34
|
+
<% if @overdue_state.nil? %>
|
35
|
+
<dd>unknown<dd>
|
36
|
+
<% elsif @overdue_state.clear_state %>
|
37
|
+
<dd><span class='label label-success'>Good</span><dd>
|
38
|
+
<% else %>
|
39
|
+
<dd><span class='label label-important'><%= @overdue_state.name %></span><dd>
|
40
|
+
<% end %>
|
33
41
|
<dt>Account balance:</dt>
|
34
42
|
<% if @account.balance.nil? %>
|
35
43
|
<dd>unknown
|
@@ -85,14 +93,7 @@
|
|
85
93
|
<% @bundles.each do |bundle| %>
|
86
94
|
<% subs = @subscriptions_by_bundle_id[bundle.bundle_id] %>
|
87
95
|
<% if subs.present? %>
|
88
|
-
<h2>Bundle <%= link_to Kaui.bundle_key_display_string.call(bundle.external_key), Kaui.bundle_home_path.call(bundle.bundle_id) if bundle.external_key.present?
|
89
|
-
<% if @overdue_state_by_bundle_id[bundle.bundle_id].nil? %>
|
90
|
-
unknown
|
91
|
-
<% elsif @overdue_state_by_bundle_id[bundle.bundle_id].clear_state %>
|
92
|
-
<span class='label label-success'>Good</span>
|
93
|
-
<% else %>
|
94
|
-
<span class='label label-important'><%= @overdue_state_by_bundle_id[bundle.bundle_id].name %></span>
|
95
|
-
<% end %>
|
96
|
+
<h2>Bundle <%= link_to Kaui.bundle_key_display_string.call(bundle.external_key), Kaui.bundle_home_path.call(bundle.bundle_id) if bundle.external_key.present? %>
|
96
97
|
<%= render :partial => "kaui/subscriptions/subscriptions_table", :locals => { :subscriptions => subs, :account => @account } %>
|
97
98
|
<% end %>
|
98
99
|
<% end %>
|
@@ -7,14 +7,6 @@
|
|
7
7
|
<dd><%= link_to @account.email, Kaui.account_home_path.call(@account.external_key) %> </dd>
|
8
8
|
<dt>Bundle key:</dt>
|
9
9
|
<dd><%= @bundle.external_key %> </dd>
|
10
|
-
<dt>Overdue status:</dt>
|
11
|
-
<% if @overdue_state.nil? %>
|
12
|
-
<dd>unknown<dd>
|
13
|
-
<% elsif @overdue_state.clear_state %>
|
14
|
-
<dd><span class='label label-success'>Good</span><dd>
|
15
|
-
<% else %>
|
16
|
-
<dd><span class='label label-important'><%= @overdue_state.name %></span><dd>
|
17
|
-
<% end %>
|
18
10
|
<%= link_to "Transfer Ownership", kaui_engine.transfer_bundle_path(@bundle.bundle_id), :class => "btn btn-mini" %></dd>
|
19
11
|
<% if @subscriptions.present? %>
|
20
12
|
<%= render :partial => "kaui/subscriptions/subscriptions_table", :locals => { :subscriptions => @subscriptions, :account => @account } %>
|
data/kaui.gemspec
CHANGED
@@ -27,14 +27,15 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_dependency 'rest-client', '~> 1.6.7'
|
28
28
|
s.add_dependency 'money-rails', '~> 0.8.1'
|
29
29
|
s.add_dependency 'd3_rails', '~> 3.2.8'
|
30
|
-
s.add_dependency 'killbill-client', '~> 0.
|
30
|
+
s.add_dependency 'killbill-client', '~> 0.3.1'
|
31
31
|
s.add_dependency 'devise', '~> 3.0.2'
|
32
32
|
s.add_dependency 'cancan', '~> 1.6.10'
|
33
33
|
|
34
34
|
if defined?(JRUBY_VERSION)
|
35
35
|
s.add_development_dependency 'activerecord-jdbc-adapter', '~> 1.2.2'
|
36
36
|
s.add_development_dependency 'activerecord-jdbcmysql-adapter', '~> 1.2.2'
|
37
|
-
|
37
|
+
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.2.2'
|
38
|
+
s.add_development_dependency 'jdbc-mysql', '~> 5.1.25'
|
38
39
|
else
|
39
40
|
s.add_development_dependency 'sqlite3'
|
40
41
|
s.add_development_dependency 'mysql2'
|
data/lib/kaui/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -58,8 +58,8 @@ module Kaui::KillbillHelper
|
|
58
58
|
find_among_fixtures(Kaui::Account, account_id)
|
59
59
|
end
|
60
60
|
|
61
|
-
def self.
|
62
|
-
find_among_fixtures(Kaui::OverdueState,
|
61
|
+
def self.get_overdue_state_for_account(account_id, options = {})
|
62
|
+
find_among_fixtures(Kaui::OverdueState, account_id)
|
63
63
|
end
|
64
64
|
|
65
65
|
def self.get_invoice(invoice_id, with_items = true, options = {})
|
@@ -27,8 +27,8 @@ class Kaui::TagDefinitionTest < ActiveSupport::TestCase
|
|
27
27
|
|
28
28
|
test "can find all per object type" do
|
29
29
|
assert_equal 3, Kaui::TagDefinition.all.size
|
30
|
-
assert_equal 2, Kaui::TagDefinition.all_for_account.size
|
31
|
-
assert_equal 1, Kaui::TagDefinition.all_for_invoice.size
|
32
|
-
assert_equal 1, Kaui::TagDefinition.all_for_tag_definition.size
|
30
|
+
assert_equal 2, Kaui::TagDefinition.all_for_account({}).size
|
31
|
+
assert_equal 1, Kaui::TagDefinition.all_for_invoice({}).size
|
32
|
+
assert_equal 1, Kaui::TagDefinition.all_for_tag_definition({}).size
|
33
33
|
end
|
34
|
-
end
|
34
|
+
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Killbill core team
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: jquery-rails
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rest-client
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: money-rails
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: d3_rails
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,20 +94,23 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: killbill-client
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - ~>
|
88
100
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
101
|
+
version: 0.3.1
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - ~>
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
109
|
+
version: 0.3.1
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: devise
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
115
|
- - ~>
|
102
116
|
- !ruby/object:Gem::Version
|
@@ -104,6 +118,7 @@ dependencies:
|
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
123
|
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
@@ -111,6 +126,7 @@ dependencies:
|
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: cancan
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
131
|
- - ~>
|
116
132
|
- !ruby/object:Gem::Version
|
@@ -118,6 +134,7 @@ dependencies:
|
|
118
134
|
type: :runtime
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
139
|
- - ~>
|
123
140
|
- !ruby/object:Gem::Version
|
@@ -125,29 +142,33 @@ dependencies:
|
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: sqlite3
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
|
-
- - '>='
|
147
|
+
- - ! '>='
|
130
148
|
- !ruby/object:Gem::Version
|
131
149
|
version: '0'
|
132
150
|
type: :development
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
|
-
- - '>='
|
155
|
+
- - ! '>='
|
137
156
|
- !ruby/object:Gem::Version
|
138
157
|
version: '0'
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: mysql2
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
|
-
- - '>='
|
163
|
+
- - ! '>='
|
144
164
|
- !ruby/object:Gem::Version
|
145
165
|
version: '0'
|
146
166
|
type: :development
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
|
-
- - '>='
|
171
|
+
- - ! '>='
|
151
172
|
- !ruby/object:Gem::Version
|
152
173
|
version: '0'
|
153
174
|
description: Rails UI plugin for Killbill administration.
|
@@ -396,26 +417,30 @@ files:
|
|
396
417
|
homepage: http://www.killbilling.org
|
397
418
|
licenses:
|
398
419
|
- Apache License (2.0)
|
399
|
-
metadata: {}
|
400
420
|
post_install_message:
|
401
421
|
rdoc_options: []
|
402
422
|
require_paths:
|
403
423
|
- lib
|
404
424
|
required_ruby_version: !ruby/object:Gem::Requirement
|
425
|
+
none: false
|
405
426
|
requirements:
|
406
|
-
- - '>='
|
427
|
+
- - ! '>='
|
407
428
|
- !ruby/object:Gem::Version
|
408
429
|
version: 1.8.7
|
409
430
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
431
|
+
none: false
|
410
432
|
requirements:
|
411
|
-
- - '>='
|
433
|
+
- - ! '>='
|
412
434
|
- !ruby/object:Gem::Version
|
413
435
|
version: '0'
|
436
|
+
segments:
|
437
|
+
- 0
|
438
|
+
hash: -830910028184591534
|
414
439
|
requirements: []
|
415
440
|
rubyforge_project:
|
416
|
-
rubygems_version:
|
441
|
+
rubygems_version: 1.8.25
|
417
442
|
signing_key:
|
418
|
-
specification_version:
|
443
|
+
specification_version: 3
|
419
444
|
summary: Killbill Admin UI plugin
|
420
445
|
test_files:
|
421
446
|
- test/dummy/README.rdoc
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: bd49d087cb5c254ed629586ba797f0634fb3eb98
|
4
|
-
data.tar.gz: a974af62e8d78d37100fccf5c8bc27057cf98c6c
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: d87e9d3c36da492ff243e3ab800f9bc766f4884955d02e9697bc37a6239039ff38264c22563e912fd050cee10ef9f8565f649f2ac72bae675670b15abfd477da
|
7
|
-
data.tar.gz: c7f4ef4c208234e5667b7ce9eb887c923381a4e262239e3148d4559ed719f6a1bbbfb4685c5092c7e7158f5b7b3825d41814c3bbe376612171259ce8743497ad
|