kaui 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75ed5a130be5d93664a6355f0a1a2a2059f76f22
4
- data.tar.gz: 85b1e72e3fb6da4a36837e44545fbd4ab13f3b90
3
+ metadata.gz: 373e8cbf4148b25bba71c10080a5e770768424e1
4
+ data.tar.gz: 892d69a11441a55f70981c6a95cd9e759e74a9e6
5
5
  SHA512:
6
- metadata.gz: 8dc8d4033fe4ea1981be0cac9542286e8dd440847f75c9069b9fa9642cc7d338a8b437e27c93a88c2e6fb5a6192cb0ea3a5ecd58ec10cab733eceab2e7d1ff0a
7
- data.tar.gz: 883ec47b9ec30683049c0263c5ecbc89a41fd4b05aa0ca5c79ea50b67ea36a6cc70d0c2caabb76358019bc7d5fe0b848a9c9d4393a3eca0d86e91fc4f5b838d9
6
+ metadata.gz: dc5dcb3a79055588ca5e1e551cd263496501dc6f8a4787a11210131603c409f124b84d629b4097a601d7405e6a911f617eaa509a8e74893f7f6c51ed94b9e214
7
+ data.tar.gz: 3cb084a400d0d95c01cc0c1609cb5d1674f144b7c7d9492df52f44d485b1a65d03dfb61087c3e22b9635cd00c35e85e9b8109a2089b959a72c996e3b48811ead
@@ -105,7 +105,7 @@ span {
105
105
  font-weight: normal;
106
106
  color: rgb(119, 119, 119);
107
107
 
108
- &.label-success, &.label-danger {
108
+ &.label-success, &.label-warning, &.label-danger {
109
109
  color: #fff;
110
110
  }
111
111
  }
data/kaui.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  # Transitional gems (for rails upgrade)
28
28
  s.add_dependency 'protected_attributes', '~> 1.0.6'
29
29
 
30
- s.add_dependency 'js-routes', '~> 1.0.0'
30
+ s.add_dependency 'js-routes', '~> 1.1'
31
31
  s.add_dependency 'jquery-rails', '~> 3.0.4'
32
32
  s.add_dependency 'jquery-datatables-rails', '~> 3.3.0'
33
33
  s.add_dependency 'money-rails', '~> 1.3.0'
data/lib/kaui.rb CHANGED
@@ -6,11 +6,7 @@ require "kaui/engine"
6
6
  module Kaui
7
7
 
8
8
  mattr_accessor :home_path
9
- mattr_accessor :account_home_path
10
- mattr_accessor :bundle_home_path
11
- mattr_accessor :invoice_home_path
12
9
  mattr_accessor :tenant_home_path
13
- mattr_accessor :select_tenant
14
10
  mattr_accessor :new_user_session_path
15
11
  mattr_accessor :destroy_user_session_path
16
12
 
@@ -29,11 +25,10 @@ module Kaui
29
25
 
30
26
  mattr_accessor :default_roles
31
27
 
32
- self.home_path = lambda { Kaui::Engine.routes.url_helpers.home_path }
33
- self.account_home_path = lambda {|account_id| Kaui::Engine.routes.url_helpers.account_path(account_id) }
34
- self.invoice_home_path = lambda {|invoice_id| Kaui::Engine.routes.url_helpers.invoice_path(:id => invoice_id) }
35
- self.tenant_home_path = lambda { Kaui::Engine.routes.url_helpers.tenants_path }
36
- self.select_tenant = lambda { Kaui::Engine.routes.url_helpers.select_tenant_path }
28
+ # Pre-pending relative_url_root seems required when deploying in Tomcat sub-paths (not needed for session routes below though)
29
+ self.home_path = lambda { ActionController::Base.relative_url_root.to_s + Kaui::Engine.routes.url_helpers.home_path }
30
+ self.tenant_home_path = lambda { ActionController::Base.relative_url_root.to_s + Kaui::Engine.routes.url_helpers.tenants_path }
31
+
37
32
  self.new_user_session_path = lambda { Kaui::Engine.routes.url_helpers.new_user_session_path }
38
33
  self.destroy_user_session_path = lambda { Kaui::Engine.routes.url_helpers.destroy_user_session_path }
39
34
 
data/lib/kaui/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kaui
2
- VERSION = '0.14.0'
2
+ VERSION = '0.14.1'
3
3
  end
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.14.0
4
+ version: 0.14.1
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: 2015-11-18 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,12 +44,12 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.0
47
+ version: '1.1'
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - ~>
51
51
  - !ruby/object:Gem::Version
52
- version: 1.0.0
52
+ version: '1.1'
53
53
  prerelease: false
54
54
  type: :runtime
55
55
  - !ruby/object:Gem::Dependency
@@ -699,92 +699,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
699
699
  version: '0'
700
700
  requirements: []
701
701
  rubyforge_project:
702
- rubygems_version: 2.4.8
702
+ rubygems_version: 2.1.9
703
703
  signing_key:
704
704
  specification_version: 4
705
705
  summary: Killbill Admin UI mountable engine
706
- test_files:
707
- - test/dummy/.gitignore
708
- - test/dummy/README.rdoc
709
- - test/dummy/Rakefile
710
- - test/dummy/app/controllers/application_controller.rb
711
- - test/dummy/app/helpers/application_helper.rb
712
- - test/dummy/app/mailers/.gitkeep
713
- - test/dummy/app/models/.gitkeep
714
- - test/dummy/config.ru
715
- - test/dummy/config/application.rb
716
- - test/dummy/config/boot.rb
717
- - test/dummy/config/database.yml
718
- - test/dummy/config/environment.rb
719
- - test/dummy/config/environments/development.rb
720
- - test/dummy/config/environments/production.rb
721
- - test/dummy/config/environments/test.rb
722
- - test/dummy/config/initializers/backtrace_silencers.rb
723
- - test/dummy/config/initializers/inflections.rb
724
- - test/dummy/config/initializers/killbill_client.rb
725
- - test/dummy/config/initializers/mime_types.rb
726
- - test/dummy/config/initializers/secret_token.rb
727
- - test/dummy/config/initializers/session_store.rb
728
- - test/dummy/config/initializers/wrap_parameters.rb
729
- - test/dummy/config/locales/en.yml
730
- - test/dummy/config/routes.rb
731
- - test/dummy/config/symmetric-encryption.yml
732
- - test/dummy/db/schema.rb
733
- - test/dummy/lib/assets/.gitkeep
734
- - test/dummy/log/.gitkeep
735
- - test/dummy/public/404.html
736
- - test/dummy/public/422.html
737
- - test/dummy/public/500.html
738
- - test/dummy/public/favicon.ico
739
- - test/dummy/script/rails
740
- - test/fixtures/catalog-v1.xml
741
- - test/fixtures/catalog_translation_fr-v1.properties
742
- - test/fixtures/invoice_template-v1.html
743
- - test/fixtures/invoice_translation_fr-v1.properties
744
- - test/fixtures/overdue-v1.xml
745
- - test/fixtures/stripe.yml
746
- - test/functional/kaui/account_emails_controller_test.rb
747
- - test/functional/kaui/account_tags_controller_test.rb
748
- - test/functional/kaui/account_timelines_controller_test.rb
749
- - test/functional/kaui/accounts_controller_test.rb
750
- - test/functional/kaui/admin_allowed_users_controller_test.rb
751
- - test/functional/kaui/admin_tenants_controller_test.rb
752
- - test/functional/kaui/bundle_tags_controller_test.rb
753
- - test/functional/kaui/bundles_controller_test.rb
754
- - test/functional/kaui/chargebacks_controller_test.rb
755
- - test/functional/kaui/charges_controller_test.rb
756
- - test/functional/kaui/credits_controller_test.rb
757
- - test/functional/kaui/custom_fields_controller_test.rb
758
- - test/functional/kaui/functional_test_helper.rb
759
- - test/functional/kaui/functional_test_helper_nosetup.rb
760
- - test/functional/kaui/home_controller_test.rb
761
- - test/functional/kaui/invoice_items_controller_test.rb
762
- - test/functional/kaui/invoices_controller_test.rb
763
- - test/functional/kaui/payment_methods_controller_test.rb
764
- - test/functional/kaui/payments_controller_test.rb
765
- - test/functional/kaui/refunds_controller_test.rb
766
- - test/functional/kaui/subscriptions_controller_test.rb
767
- - test/functional/kaui/tag_definitions_controller_test.rb
768
- - test/functional/kaui/tags_controller_test.rb
769
- - test/functional/kaui/tenants_controller_test.rb
770
- - test/functional/kaui/transactions_controller_test.rb
771
- - test/integration/kaui/integration_test_helper.rb
772
- - test/integration/kaui/navigation_test.rb
773
- - test/killbill_test_helper.rb
774
- - test/test_helper.rb
775
- - test/unit/helpers/kaui/admin_allowed_users_helper_test.rb
776
- - test/unit/helpers/kaui/admin_tenants_helper_test.rb
777
- - test/unit/helpers/kaui/tenants_helper_test.rb
778
- - test/unit/kaui/account_email_test.rb
779
- - test/unit/kaui/account_test.rb
780
- - test/unit/kaui/allowed_user_test.rb
781
- - test/unit/kaui/base_test.rb
782
- - test/unit/kaui/date_helper_test.rb
783
- - test/unit/kaui/invoice_item_test.rb
784
- - test/unit/kaui/invoice_payment_test.rb
785
- - test/unit/kaui/invoice_test.rb
786
- - test/unit/kaui/money_helper_test.rb
787
- - test/unit/kaui/payment_test.rb
788
- - test/unit/kaui/tag_definition_test.rb
789
- - test/unit/kaui/tenant_test.rb
790
- - test/unit/kaui/uuid_helper_test.rb
706
+ test_files: []