kaui 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Gemfile.lock +32 -19
- data/README.md +13 -0
- data/app/controllers/kaui/account_tags_controller.rb +9 -10
- data/app/controllers/kaui/account_timelines_controller.rb +6 -6
- data/app/controllers/kaui/accounts_controller.rb +28 -27
- data/app/controllers/kaui/analytics_controller.rb +5 -5
- data/app/controllers/kaui/bundle_tags_controller.rb +10 -10
- data/app/controllers/kaui/bundles_controller.rb +21 -21
- data/app/controllers/kaui/chargebacks_controller.rb +9 -10
- data/app/controllers/kaui/charges_controller.rb +6 -6
- data/app/controllers/kaui/credits_controller.rb +10 -10
- data/app/controllers/kaui/engine_controller.rb +44 -3
- data/app/controllers/kaui/invoice_items_controller.rb +4 -4
- data/app/controllers/kaui/invoices_controller.rb +14 -14
- data/app/controllers/kaui/payment_methods_controller.rb +3 -3
- data/app/controllers/kaui/payments_controller.rb +4 -4
- data/app/controllers/kaui/refunds_controller.rb +16 -16
- data/app/controllers/kaui/sessions_controller.rb +6 -0
- data/app/controllers/kaui/subscriptions_controller.rb +28 -28
- data/app/controllers/kaui/tag_definitions_controller.rb +7 -7
- data/app/helpers/kaui/killbill_helper.rb +168 -130
- data/app/models/kaui/ability.rb +25 -0
- data/app/models/kaui/account_email.rb +10 -14
- data/app/models/kaui/entitlement.rb +2 -0
- data/app/models/kaui/killbill_authenticatable.rb +50 -0
- data/app/models/kaui/tag_definition.rb +8 -8
- data/app/models/kaui/user.rb +36 -0
- data/app/views/kaui/account_timelines/index.html.erb +1 -1
- data/app/views/kaui/account_timelines/show.html.erb +32 -24
- data/app/views/kaui/accounts/index.html.erb +2 -2
- data/app/views/kaui/accounts/show.html.erb +14 -10
- data/app/views/kaui/home/index.html.erb +2 -2
- data/app/views/kaui/invoices/show.html.erb +7 -5
- data/app/views/kaui/layouts/kaui_application.html.erb +12 -10
- data/app/views/kaui/payment_methods/_payment_methods_table.html.erb +1 -0
- data/app/views/kaui/payment_methods/index.html.erb +1 -1
- data/app/views/kaui/payment_methods/show.html.erb +1 -0
- data/app/views/kaui/payments/new.html.erb +9 -7
- data/app/views/kaui/refunds/new.html.erb +23 -19
- data/app/views/kaui/sessions/new.html.erb +21 -0
- data/config/initializers/devise.rb +259 -0
- data/config/initializers/killbill_authenticatable.rb +38 -0
- data/config/locales/devise.en.yml +60 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20130812155313_devise_create_kaui_users.rb +14 -0
- data/kaui.gemspec +8 -5
- data/lib/generators/kaui/install/templates/app/assets/javascripts/kaui/all.js +1 -1
- data/lib/kaui/engine.rb +2 -0
- data/lib/kaui/version.rb +1 -1
- data/script/sandbox +6 -1
- data/test/dummy/app/assets/javascripts/application.js +1 -1
- data/test/dummy/app/controllers/application_controller.rb +0 -4
- data/test/dummy/config/database.yml +3 -38
- data/test/dummy/db/migrate/20130819152643_devise_create_kaui_users.kaui.rb +15 -0
- data/test/dummy/db/schema.rb +26 -0
- data/test/test_helper.rb +43 -18
- metadata +68 -13
- data/lib/kaui/error_helper.rb +0 -13
data/kaui.gemspec
CHANGED
@@ -22,18 +22,21 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
23
23
|
s.require_paths = %w(lib)
|
24
24
|
|
25
|
-
s.add_dependency 'rails', '~> 3.2.
|
26
|
-
s.add_dependency 'jquery-rails', '~>
|
25
|
+
s.add_dependency 'rails', '~> 3.2.14'
|
26
|
+
s.add_dependency 'jquery-rails', '~> 3.0.4'
|
27
27
|
s.add_dependency 'rest-client', '~> 1.6.7'
|
28
|
-
s.add_dependency 'money-rails', '~> 0.
|
29
|
-
s.add_dependency 'd3_rails', '~> 2.
|
30
|
-
s.add_dependency 'killbill-client', '~> 0.
|
28
|
+
s.add_dependency 'money-rails', '~> 0.8.1'
|
29
|
+
s.add_dependency 'd3_rails', '~> 3.2.8'
|
30
|
+
s.add_dependency 'killbill-client', '~> 0.2.0'
|
31
|
+
s.add_dependency 'devise', '~> 3.0.2'
|
32
|
+
s.add_dependency 'cancan', '~> 1.6.10'
|
31
33
|
|
32
34
|
if defined?(JRUBY_VERSION)
|
33
35
|
s.add_development_dependency 'activerecord-jdbc-adapter', '~> 1.2.2'
|
34
36
|
s.add_development_dependency 'activerecord-jdbcmysql-adapter', '~> 1.2.2'
|
35
37
|
#s.add_development_dependency 'jdbc-mysql', :require => false
|
36
38
|
else
|
39
|
+
s.add_development_dependency 'sqlite3'
|
37
40
|
s.add_development_dependency 'mysql2'
|
38
41
|
end
|
39
42
|
end
|
data/lib/kaui/engine.rb
CHANGED
data/lib/kaui/version.rb
CHANGED
data/script/sandbox
CHANGED
@@ -16,10 +16,15 @@ puts "Deleting old sandbox #{SANDBOX_ROOT_PATH}"
|
|
16
16
|
FileUtils.rm_rf SANDBOX_ROOT_PATH
|
17
17
|
|
18
18
|
puts 'Creating the new Rails app'
|
19
|
-
ARGV = [SANDBOX_ROOT_PATH, '--skip-bundle'
|
19
|
+
ARGV = [SANDBOX_ROOT_PATH, '--skip-bundle']
|
20
20
|
Rails::Generators::AppGenerator.start
|
21
21
|
|
22
22
|
puts 'Setting up Kaui'
|
23
23
|
ARGV = [SANDBOX_ROOT_PATH, "--path=#{KAUI_ROOT_PATH}", '--skip-bundle']
|
24
24
|
KauiCmd::Installer.start
|
25
25
|
FileUtils.rm_f "#{SANDBOX_ROOT_PATH}/public/index.html"
|
26
|
+
|
27
|
+
puts 'Running migrations'
|
28
|
+
Dir.chdir SANDBOX_ROOT_PATH
|
29
|
+
system 'rake kaui:install:migrations'
|
30
|
+
system 'rake db:migrate'
|
@@ -1,43 +1,8 @@
|
|
1
|
-
# MySQL. Versions 4.1 and 5.0 are recommended.
|
2
|
-
#
|
3
|
-
# Install the MYSQL driver
|
4
|
-
# gem install mysql2
|
5
|
-
#
|
6
|
-
# Ensure the MySQL gem is defined in your Gemfile
|
7
|
-
# gem 'mysql2'
|
8
|
-
#
|
9
|
-
# And be sure to use new-style password hashing:
|
10
|
-
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
11
|
-
development:
|
12
|
-
adapter: mysql2
|
13
|
-
encoding: utf8
|
14
|
-
reconnect: false
|
15
|
-
database: dummy_development
|
16
|
-
pool: 5
|
17
|
-
username: root
|
18
|
-
password: root
|
19
|
-
# socket: /tmp/mysql.sock
|
20
|
-
host: 127.0.0.1
|
21
|
-
|
22
1
|
# Warning: The database defined as "test" will be erased and
|
23
2
|
# re-generated from your development database when you run "rake".
|
24
3
|
# Do not set this db to the same as development or production.
|
25
4
|
test:
|
26
|
-
adapter:
|
27
|
-
|
28
|
-
encoding: utf8
|
29
|
-
reconnect: false
|
30
|
-
database: kaui_test
|
31
|
-
pool: 5
|
32
|
-
username: root
|
33
|
-
password: <%= ENV['MYSQL_PASSWORD'] || 'root' %>
|
34
|
-
|
35
|
-
production:
|
36
|
-
adapter: mysql2
|
37
|
-
encoding: utf8
|
38
|
-
reconnect: false
|
39
|
-
database: dummy_production
|
5
|
+
adapter: sqlite3
|
6
|
+
database: db/test.sqlite3
|
40
7
|
pool: 5
|
41
|
-
|
42
|
-
password:
|
43
|
-
socket: /tmp/mysql.sock
|
8
|
+
timeout: 5000
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# This migration comes from kaui (originally 20130812155313)
|
2
|
+
class DeviseCreateKauiUsers < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table(:kaui_users) do |t|
|
5
|
+
# From Kill Bill
|
6
|
+
t.string :kb_tenant_id, :null => true
|
7
|
+
t.string :kb_username, :null => false
|
8
|
+
t.string :kb_session_id, :null => true
|
9
|
+
|
10
|
+
t.timestamps
|
11
|
+
end
|
12
|
+
|
13
|
+
add_index :kaui_users, [:kb_tenant_id, :kb_username], :unique => true
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20130819152643) do
|
15
|
+
|
16
|
+
create_table "kaui_users", :force => true do |t|
|
17
|
+
t.string "kb_tenant_id"
|
18
|
+
t.string "kb_username", :null => false
|
19
|
+
t.string "kb_session_id"
|
20
|
+
t.datetime "created_at", :null => false
|
21
|
+
t.datetime "updated_at", :null => false
|
22
|
+
end
|
23
|
+
|
24
|
+
add_index "kaui_users", ["kb_tenant_id", "kb_username"], :name => "index_kaui_users_on_kb_tenant_id_and_kb_username", :unique => true
|
25
|
+
|
26
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -13,76 +13,101 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
13
13
|
# Load helpers
|
14
14
|
Dir["#{File.dirname(__FILE__)}/unit/helpers/kaui/*.rb"].each { |f| require f }
|
15
15
|
|
16
|
+
# Include Devise helpers
|
17
|
+
class ActionController::TestCase
|
18
|
+
include Devise::TestHelpers
|
19
|
+
|
20
|
+
setup do
|
21
|
+
@user = Kaui::User.create!({
|
22
|
+
:kb_tenant_id => "tenant_id_test",
|
23
|
+
:kb_username => "username_test",
|
24
|
+
:kb_session_id => "session_id_test"
|
25
|
+
})
|
26
|
+
sign_in @user
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
module Kaui
|
31
|
+
class User < ActiveRecord::Base
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
def self.do_find_permissions(options = {})
|
36
|
+
["*:*"]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
16
41
|
# Mock killbill-server and serve data from the fixtures
|
17
42
|
module Kaui::KillbillHelper
|
18
43
|
@@fixtures ||= {}
|
19
44
|
|
20
|
-
def self.get_account_by_key_with_balance_and_cba(key)
|
21
|
-
self.get_account_by_key(key, false, true)
|
45
|
+
def self.get_account_by_key_with_balance_and_cba(key, options = {})
|
46
|
+
self.get_account_by_key(key, false, true, options)
|
22
47
|
end
|
23
48
|
|
24
|
-
def self.get_account(account_id, with_balance = false, with_balance_and_cba = false)
|
49
|
+
def self.get_account(account_id, with_balance = false, with_balance_and_cba = false, options = {})
|
25
50
|
find_among_fixtures(Kaui::Account, account_id)
|
26
51
|
end
|
27
52
|
|
28
|
-
def self.get_account_emails(account_id)
|
53
|
+
def self.get_account_emails(account_id, options = {})
|
29
54
|
[]
|
30
55
|
end
|
31
56
|
|
32
|
-
def self.get_account_by_external_key(account_id, with_balance = false, with_balance_and_cba = false)
|
57
|
+
def self.get_account_by_external_key(account_id, with_balance = false, with_balance_and_cba = false, options = {})
|
33
58
|
find_among_fixtures(Kaui::Account, account_id)
|
34
59
|
end
|
35
60
|
|
36
|
-
def self.get_overdue_state_for_bundle(bundle_id)
|
61
|
+
def self.get_overdue_state_for_bundle(bundle_id, options = {})
|
37
62
|
find_among_fixtures(Kaui::OverdueState, bundle_id)
|
38
63
|
end
|
39
64
|
|
40
|
-
def self.get_invoice(invoice_id)
|
65
|
+
def self.get_invoice(invoice_id, with_items = true, options = {})
|
41
66
|
find_among_fixtures(Kaui::Invoice, invoice_id)
|
42
67
|
end
|
43
68
|
|
44
|
-
def self.get_invoice_item(invoice_id, invoice_item_id)
|
69
|
+
def self.get_invoice_item(invoice_id, invoice_item_id, options = {})
|
45
70
|
find_among_fixtures(Kaui::InvoiceItem, invoice_item_id)
|
46
71
|
end
|
47
72
|
|
48
|
-
def self.get_bundle(bundle_id)
|
73
|
+
def self.get_bundle(bundle_id, options = {})
|
49
74
|
find_among_fixtures(Kaui::Bundle, bundle_id)
|
50
75
|
end
|
51
76
|
|
52
|
-
def self.get_payments(invoice_id)
|
77
|
+
def self.get_payments(invoice_id, options = {})
|
53
78
|
[]
|
54
79
|
end
|
55
80
|
|
56
|
-
def self.get_payment_methods(account_id)
|
81
|
+
def self.get_payment_methods(account_id, options = {})
|
57
82
|
[]
|
58
83
|
end
|
59
84
|
|
60
|
-
def self.get_bundles(account_id)
|
85
|
+
def self.get_bundles(account_id, options = {})
|
61
86
|
[]
|
62
87
|
end
|
63
88
|
|
64
|
-
def self.get_subscriptions_for_bundle(bundle_id)
|
89
|
+
def self.get_subscriptions_for_bundle(bundle_id, options = {})
|
65
90
|
[]
|
66
91
|
end
|
67
92
|
|
68
|
-
def self.get_tags_for_account(account_id)
|
93
|
+
def self.get_tags_for_account(account_id, options = {})
|
69
94
|
[]
|
70
95
|
end
|
71
96
|
|
72
|
-
def self.get_tag_definitions
|
97
|
+
def self.get_tag_definitions(options = {})
|
73
98
|
find_all_among_fixtures(Kaui::TagDefinition)
|
74
99
|
end
|
75
100
|
|
76
|
-
def self.get_tag_definition(tag_definition_id)
|
101
|
+
def self.get_tag_definition(tag_definition_id, options = {})
|
77
102
|
find_among_fixtures(Kaui::TagDefinition, tag_definition_id, 'id')
|
78
103
|
end
|
79
104
|
|
80
|
-
def self.create_tag_definition(tag_definition)
|
105
|
+
def self.create_tag_definition(tag_definition, options = {})
|
81
106
|
tag_definition.id = SecureRandom.uuid
|
82
107
|
add_fixture(tag_definition, Kaui::TagDefinition)
|
83
108
|
end
|
84
109
|
|
85
|
-
def self.delete_tag_definition(tag_definition_id)
|
110
|
+
def self.delete_tag_definition(tag_definition_id, options = {})
|
86
111
|
delete_fixture(Kaui::TagDefinition, tag_definition_id, 'id')
|
87
112
|
end
|
88
113
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Killbill core team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.2.
|
19
|
+
version: 3.2.14
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2.
|
26
|
+
version: 3.2.14
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jquery-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.0.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 3.0.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rest-client
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,42 +58,84 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.8.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.8.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: d3_rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: 3.2.8
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: 3.2.8
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: killbill-client
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.2.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.2.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: devise
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.0.2
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.0.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: cancan
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.6.10
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.6.10
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sqlite3
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
97
139
|
- !ruby/object:Gem::Dependency
|
98
140
|
name: mysql2
|
99
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,12 +186,14 @@ files:
|
|
144
186
|
- app/controllers/kaui/payment_methods_controller.rb
|
145
187
|
- app/controllers/kaui/payments_controller.rb
|
146
188
|
- app/controllers/kaui/refunds_controller.rb
|
189
|
+
- app/controllers/kaui/sessions_controller.rb
|
147
190
|
- app/controllers/kaui/subscriptions_controller.rb
|
148
191
|
- app/controllers/kaui/tag_definitions_controller.rb
|
149
192
|
- app/helpers/kaui/application_helper.rb
|
150
193
|
- app/helpers/kaui/date_helper.rb
|
151
194
|
- app/helpers/kaui/home_helper.rb
|
152
195
|
- app/helpers/kaui/killbill_helper.rb
|
196
|
+
- app/models/kaui/ability.rb
|
153
197
|
- app/models/kaui/account.rb
|
154
198
|
- app/models/kaui/account_email.rb
|
155
199
|
- app/models/kaui/account_timeline.rb
|
@@ -171,10 +215,12 @@ files:
|
|
171
215
|
- app/models/kaui/chargeback.rb
|
172
216
|
- app/models/kaui/credit.rb
|
173
217
|
- app/models/kaui/custom_field.rb
|
218
|
+
- app/models/kaui/entitlement.rb
|
174
219
|
- app/models/kaui/event.rb
|
175
220
|
- app/models/kaui/external_payment.rb
|
176
221
|
- app/models/kaui/invoice.rb
|
177
222
|
- app/models/kaui/invoice_item.rb
|
223
|
+
- app/models/kaui/killbill_authenticatable.rb
|
178
224
|
- app/models/kaui/overdue_state.rb
|
179
225
|
- app/models/kaui/payment.rb
|
180
226
|
- app/models/kaui/payment_attempt.rb
|
@@ -184,6 +230,7 @@ files:
|
|
184
230
|
- app/models/kaui/tag.rb
|
185
231
|
- app/models/kaui/tag_definition.rb
|
186
232
|
- app/models/kaui/time_series_data.rb
|
233
|
+
- app/models/kaui/user.rb
|
187
234
|
- app/views/kaui/account_emails/_account_emails_table.html.erb
|
188
235
|
- app/views/kaui/account_emails/_form.html.erb
|
189
236
|
- app/views/kaui/account_emails/new.html.erb
|
@@ -229,6 +276,7 @@ files:
|
|
229
276
|
- app/views/kaui/refunds/index.html.erb
|
230
277
|
- app/views/kaui/refunds/new.html.erb
|
231
278
|
- app/views/kaui/refunds/show.html.erb
|
279
|
+
- app/views/kaui/sessions/new.html.erb
|
232
280
|
- app/views/kaui/subscriptions/_subscriptions_table.html.erb
|
233
281
|
- app/views/kaui/subscriptions/edit.html.erb
|
234
282
|
- app/views/kaui/subscriptions/index.html.erb
|
@@ -241,10 +289,14 @@ files:
|
|
241
289
|
- app/views/kaui/tag_definitions/show.html.erb
|
242
290
|
- app/views/kaui/tags/_tags_table.html.erb
|
243
291
|
- bin/kaui
|
292
|
+
- config/initializers/devise.rb
|
293
|
+
- config/initializers/killbill_authenticatable.rb
|
244
294
|
- config/initializers/time_formats.rb
|
295
|
+
- config/locales/devise.en.yml
|
245
296
|
- config/locales/en.yml
|
246
297
|
- config/locales/fr.yml
|
247
298
|
- config/routes.rb
|
299
|
+
- db/migrate/20130812155313_devise_create_kaui_users.rb
|
248
300
|
- db/schema.rb
|
249
301
|
- kaui.gemspec
|
250
302
|
- lib/generators/kaui/install/install_generator.rb
|
@@ -253,7 +305,6 @@ files:
|
|
253
305
|
- lib/generators/kaui/install/templates/config/initializers/kaui.rb
|
254
306
|
- lib/kaui.rb
|
255
307
|
- lib/kaui/engine.rb
|
256
|
-
- lib/kaui/error_helper.rb
|
257
308
|
- lib/kaui/installer/installer.rb
|
258
309
|
- lib/kaui/version.rb
|
259
310
|
- lib/tasks/kaui_tasks.rake
|
@@ -284,6 +335,8 @@ files:
|
|
284
335
|
- test/dummy/config/initializers/wrap_parameters.rb
|
285
336
|
- test/dummy/config/locales/en.yml
|
286
337
|
- test/dummy/config/routes.rb
|
338
|
+
- test/dummy/db/migrate/20130819152643_devise_create_kaui_users.kaui.rb
|
339
|
+
- test/dummy/db/schema.rb
|
287
340
|
- test/dummy/lib/assets/.gitkeep
|
288
341
|
- test/dummy/log/.gitkeep
|
289
342
|
- test/dummy/public/404.html
|
@@ -390,6 +443,8 @@ test_files:
|
|
390
443
|
- test/dummy/config/initializers/wrap_parameters.rb
|
391
444
|
- test/dummy/config/locales/en.yml
|
392
445
|
- test/dummy/config/routes.rb
|
446
|
+
- test/dummy/db/migrate/20130819152643_devise_create_kaui_users.kaui.rb
|
447
|
+
- test/dummy/db/schema.rb
|
393
448
|
- test/dummy/lib/assets/.gitkeep
|
394
449
|
- test/dummy/log/.gitkeep
|
395
450
|
- test/dummy/public/404.html
|