killbill-kpm 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +2 -2
  4. data/Rakefile +31 -16
  5. data/app/assets/javascripts/application.js +24 -0
  6. data/app/assets/javascripts/kpm/kpm.js +7 -0
  7. data/app/assets/stylesheets/application.css +19 -0
  8. data/app/assets/stylesheets/bootstrap_and_overrides.css +17 -0
  9. data/app/assets/stylesheets/kpm/kpm.css +6 -0
  10. data/app/controllers/kpm/engine_controller.rb +29 -0
  11. data/app/controllers/kpm/nodes_info_controller.rb +109 -0
  12. data/app/controllers/kpm/plugins_controller.rb +19 -0
  13. data/app/helpers/kpm/application_helper.rb +4 -0
  14. data/app/views/kpm/layouts/kpm_application.html.erb +31 -0
  15. data/app/views/kpm/nodes_info/_logs_table.html.erb +43 -0
  16. data/app/views/kpm/nodes_info/_nodes_table.html.erb +68 -0
  17. data/app/views/kpm/nodes_info/index.html.erb +68 -0
  18. data/app/views/kpm/nodes_info/index.js.erb +4 -0
  19. data/app/views/kpm/plugins/_form.html.erb +37 -0
  20. data/app/views/kpm/plugins/_plugins_table.html.erb +48 -0
  21. data/app/views/kpm/plugins/index.html.erb +18 -0
  22. data/config/routes.rb +17 -0
  23. data/lib/kpm.rb +24 -0
  24. data/lib/kpm/client.rb +31 -0
  25. data/lib/kpm/engine.rb +23 -0
  26. data/lib/kpm/version.rb +3 -0
  27. data/lib/tasks/kpm_tasks.rake +4 -0
  28. data/test/dummy/README.rdoc +28 -0
  29. data/test/dummy/Rakefile +6 -0
  30. data/test/dummy/app/controllers/application_controller.rb +5 -0
  31. data/test/dummy/app/helpers/application_helper.rb +2 -0
  32. data/test/dummy/bin/bundle +3 -0
  33. data/test/dummy/bin/rails +4 -0
  34. data/test/dummy/bin/rake +4 -0
  35. data/test/dummy/bin/setup +29 -0
  36. data/test/dummy/config.ru +4 -0
  37. data/test/dummy/config/application.rb +32 -0
  38. data/test/dummy/config/boot.rb +5 -0
  39. data/test/dummy/config/database.yml +23 -0
  40. data/test/dummy/config/environment.rb +5 -0
  41. data/test/dummy/config/environments/development.rb +41 -0
  42. data/test/dummy/config/environments/production.rb +79 -0
  43. data/test/dummy/config/environments/test.rb +42 -0
  44. data/test/dummy/config/initializers/assets.rb +11 -0
  45. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  47. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/test/dummy/config/initializers/inflections.rb +16 -0
  49. data/test/dummy/config/initializers/killbill_client.rb +3 -0
  50. data/test/dummy/config/initializers/mime_types.rb +4 -0
  51. data/test/dummy/config/initializers/session_store.rb +3 -0
  52. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/test/dummy/config/locales/en.yml +23 -0
  54. data/test/dummy/config/routes.rb +4 -0
  55. data/test/dummy/config/secrets.yml +22 -0
  56. data/test/integration/navigation_test.rb +8 -0
  57. data/test/kpm_test.rb +7 -0
  58. data/test/test_helper.rb +21 -0
  59. metadata +349 -49
  60. data/.gitignore +0 -33
  61. data/.travis.yml +0 -41
  62. data/Gemfile +0 -5
  63. data/Gemfile.head +0 -5
  64. data/Gemfile.lock +0 -109
  65. data/Jarfile +0 -11
  66. data/Jarfile.lock +0 -61
  67. data/LICENSE +0 -201
  68. data/VERSION +0 -1
  69. data/config.ru +0 -4
  70. data/killbill-kpm.gemspec +0 -31
  71. data/killbill.properties +0 -3
  72. data/lib/kpm/application.rb +0 -92
  73. data/lib/kpm/listener.rb +0 -94
  74. data/lib/kpm/plugins_installer.rb +0 -112
  75. data/lib/kpm_plugin.rb +0 -13
  76. data/pom.xml +0 -44
  77. data/release.sh +0 -61
  78. data/spec/kpm/base_plugin_spec.rb +0 -25
  79. data/spec/spec_helper.rb +0 -14
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,41 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send.
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger.
20
+ config.active_support.deprecation = :log
21
+
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
+
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
28
+ config.assets.debug = true
29
+
30
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
31
+ # yet still be able to expire them through the digest params.
32
+ config.assets.digest = true
33
+
34
+ # Adds additional error checking when serving assets at runtime.
35
+ # Checks for improperly declared sprockets dependencies.
36
+ # Raises helpful error messages.
37
+ config.assets.raise_runtime_errors = true
38
+
39
+ # Raises error for missing translations
40
+ # config.action_view.raise_on_missing_translations = true
41
+ end
@@ -0,0 +1,79 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+ # Compress JavaScripts and CSS.
28
+ config.assets.js_compressor = :uglifier
29
+ # config.assets.css_compressor = :sass
30
+
31
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
32
+ config.assets.compile = false
33
+
34
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
+ # yet still be able to expire them through the digest params.
36
+ config.assets.digest = true
37
+
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
+
40
+ # Specifies the header that your server uses for sending files.
41
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
+
44
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
+ # config.force_ssl = true
46
+
47
+ # Use the lowest log level to ensure availability of diagnostic information
48
+ # when problems arise.
49
+ config.log_level = :debug
50
+
51
+ # Prepend all log lines with the following tags.
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
+
57
+ # Use a different cache store in production.
58
+ # config.cache_store = :mem_cache_store
59
+
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
62
+
63
+ # Ignore bad email addresses and do not raise email delivery errors.
64
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
+ # config.action_mailer.raise_delivery_errors = false
66
+
67
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
+ # the I18n.default_locale when a translation cannot be found).
69
+ config.i18n.fallbacks = true
70
+
71
+ # Send deprecation notices to registered listeners.
72
+ config.active_support.deprecation = :notify
73
+
74
+ # Use default logging formatter so that PID and timestamp are not suppressed.
75
+ config.log_formatter = ::Logger::Formatter.new
76
+
77
+ # Do not dump schema after migrations.
78
+ config.active_record.dump_schema_after_migration = false
79
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,3 @@
1
+ KillBillClient.url = 'http://127.0.0.1:8080/'
2
+ KillBillClient.api_key = 'bob'
3
+ KillBillClient.api_secret = 'lazar'
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount KPM::Engine => '/kpm'
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 8ccbf616967018087a9cb2f1b4c2b4743e1325e9919037d961caa253f15e64752ca390b1ed029c6f2c493bb86d18929c38553d452a51379935fc98e59da0eba2
15
+
16
+ test:
17
+ secret_key_base: 7cef8be3acaa03d7b323cdd703f4fc31ec659597aee08a0974601e3777832ff61b9866bbe6143efc43e7dfafb3c0f1ec24503ecceb77704712c244acbcaaa410
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
8
+
data/test/kpm_test.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class KPMTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, KPM
6
+ end
7
+ end
@@ -0,0 +1,21 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
7
+ require "rails/test_help"
8
+
9
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
10
+ # to be shown.
11
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
12
+
13
+ # Load support files
14
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ # Load fixtures from the engine
17
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
18
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
19
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
20
+ ActiveSupport::TestCase.fixtures :all
21
+ end
metadata CHANGED
@@ -1,55 +1,237 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-kpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Killbill core team
7
+ - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-28 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: killbill
14
+ name: rails
15
15
  version_requirements: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '7.0'
19
+ version: 4.2.1
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: '7.0'
24
+ version: 4.2.1
25
25
  prerelease: false
26
26
  type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
- name: kpm
28
+ name: js-routes
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.4
33
+ version: '1.1'
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.1.4
38
+ version: '1.1'
39
39
  prerelease: false
40
40
  type: :runtime
41
41
  - !ruby/object:Gem::Dependency
42
- name: jbundler
42
+ name: jquery-rails
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 0.9.2
47
+ version: 3.0.4
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - ~>
51
51
  - !ruby/object:Gem::Version
52
- version: 0.9.2
52
+ version: 3.0.4
53
+ prerelease: false
54
+ type: :runtime
55
+ - !ruby/object:Gem::Dependency
56
+ name: jquery-datatables-rails
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 3.3.0
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 3.3.0
67
+ prerelease: false
68
+ type: :runtime
69
+ - !ruby/object:Gem::Dependency
70
+ name: money-rails
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 1.3.0
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ~>
79
+ - !ruby/object:Gem::Version
80
+ version: 1.3.0
81
+ prerelease: false
82
+ type: :runtime
83
+ - !ruby/object:Gem::Dependency
84
+ name: d3_rails
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 3.2.8
90
+ requirement: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 3.2.8
95
+ prerelease: false
96
+ type: :runtime
97
+ - !ruby/object:Gem::Dependency
98
+ name: twitter-bootstrap-rails
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 3.2.0
104
+ requirement: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ~>
107
+ - !ruby/object:Gem::Version
108
+ version: 3.2.0
109
+ prerelease: false
110
+ type: :runtime
111
+ - !ruby/object:Gem::Dependency
112
+ name: spinjs-rails
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '1.4'
118
+ requirement: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ~>
121
+ - !ruby/object:Gem::Version
122
+ version: '1.4'
123
+ prerelease: false
124
+ type: :runtime
125
+ - !ruby/object:Gem::Dependency
126
+ name: bootstrap-datepicker-rails
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 1.4.0
132
+ requirement: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ~>
135
+ - !ruby/object:Gem::Version
136
+ version: 1.4.0
137
+ prerelease: false
138
+ type: :runtime
139
+ - !ruby/object:Gem::Dependency
140
+ name: momentjs-rails
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ version: 2.10.6
146
+ requirement: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ~>
149
+ - !ruby/object:Gem::Version
150
+ version: 2.10.6
151
+ prerelease: false
152
+ type: :runtime
153
+ - !ruby/object:Gem::Dependency
154
+ name: killbill-client
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ~>
158
+ - !ruby/object:Gem::Version
159
+ version: '0.22'
160
+ requirement: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ~>
163
+ - !ruby/object:Gem::Version
164
+ version: '0.22'
165
+ prerelease: false
166
+ type: :runtime
167
+ - !ruby/object:Gem::Dependency
168
+ name: devise
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: 3.4.1
174
+ requirement: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ~>
177
+ - !ruby/object:Gem::Version
178
+ version: 3.4.1
179
+ prerelease: false
180
+ type: :runtime
181
+ - !ruby/object:Gem::Dependency
182
+ name: cancan
183
+ version_requirements: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ~>
186
+ - !ruby/object:Gem::Version
187
+ version: 1.6.10
188
+ requirement: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ~>
191
+ - !ruby/object:Gem::Version
192
+ version: 1.6.10
193
+ prerelease: false
194
+ type: :runtime
195
+ - !ruby/object:Gem::Dependency
196
+ name: carmen-rails
197
+ version_requirements: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ~>
200
+ - !ruby/object:Gem::Version
201
+ version: 1.0.0
202
+ requirement: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ~>
205
+ - !ruby/object:Gem::Version
206
+ version: 1.0.0
207
+ prerelease: false
208
+ type: :runtime
209
+ - !ruby/object:Gem::Dependency
210
+ name: symmetric-encryption
211
+ version_requirements: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ~>
214
+ - !ruby/object:Gem::Version
215
+ version: 3.6.0
216
+ requirement: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - ~>
219
+ - !ruby/object:Gem::Version
220
+ version: 3.6.0
221
+ prerelease: false
222
+ type: :runtime
223
+ - !ruby/object:Gem::Dependency
224
+ name: fakeweb
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ~>
228
+ - !ruby/object:Gem::Version
229
+ version: '1.3'
230
+ requirement: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ~>
233
+ - !ruby/object:Gem::Version
234
+ version: '1.3'
53
235
  prerelease: false
54
236
  type: :development
55
237
  - !ruby/object:Gem::Dependency
@@ -58,71 +240,160 @@ dependencies:
58
240
  requirements:
59
241
  - - '>='
60
242
  - !ruby/object:Gem::Version
61
- version: 10.0.0
243
+ version: 0.8.7
62
244
  requirement: !ruby/object:Gem::Requirement
63
245
  requirements:
64
246
  - - '>='
65
247
  - !ruby/object:Gem::Version
66
- version: 10.0.0
248
+ version: 0.8.7
67
249
  prerelease: false
68
250
  type: :development
69
251
  - !ruby/object:Gem::Dependency
70
- name: rspec
252
+ name: simplecov
253
+ version_requirements: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '>='
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ requirement: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - '>='
261
+ - !ruby/object:Gem::Version
262
+ version: '0'
263
+ prerelease: false
264
+ type: :development
265
+ - !ruby/object:Gem::Dependency
266
+ name: activerecord-jdbc-adapter
267
+ version_requirements: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ~>
270
+ - !ruby/object:Gem::Version
271
+ version: 1.3.9
272
+ requirement: !ruby/object:Gem::Requirement
273
+ requirements:
274
+ - - ~>
275
+ - !ruby/object:Gem::Version
276
+ version: 1.3.9
277
+ prerelease: false
278
+ type: :development
279
+ - !ruby/object:Gem::Dependency
280
+ name: activerecord-jdbcmysql-adapter
71
281
  version_requirements: !ruby/object:Gem::Requirement
72
282
  requirements:
73
283
  - - ~>
74
284
  - !ruby/object:Gem::Version
75
- version: 2.12.0
285
+ version: 1.3.9
76
286
  requirement: !ruby/object:Gem::Requirement
77
287
  requirements:
78
288
  - - ~>
79
289
  - !ruby/object:Gem::Version
80
- version: 2.12.0
290
+ version: 1.3.9
81
291
  prerelease: false
82
292
  type: :development
83
- description: Plugin to manage installed plugins
293
+ - !ruby/object:Gem::Dependency
294
+ name: activerecord-jdbcsqlite3-adapter
295
+ version_requirements: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ~>
298
+ - !ruby/object:Gem::Version
299
+ version: 1.3.9
300
+ requirement: !ruby/object:Gem::Requirement
301
+ requirements:
302
+ - - ~>
303
+ - !ruby/object:Gem::Version
304
+ version: 1.3.9
305
+ prerelease: false
306
+ type: :development
307
+ - !ruby/object:Gem::Dependency
308
+ name: jdbc-mysql
309
+ version_requirements: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ~>
312
+ - !ruby/object:Gem::Version
313
+ version: 5.1.25
314
+ requirement: !ruby/object:Gem::Requirement
315
+ requirements:
316
+ - - ~>
317
+ - !ruby/object:Gem::Version
318
+ version: 5.1.25
319
+ prerelease: false
320
+ type: :development
321
+ description: Rails UI plugin for the KPM plugin.
84
322
  email: killbilling-users@googlegroups.com
85
323
  executables: []
86
324
  extensions: []
87
325
  extra_rdoc_files: []
88
326
  files:
89
- - .gitignore
90
- - .travis.yml
91
- - Gemfile
92
- - Gemfile.head
93
- - Gemfile.lock
94
- - Jarfile
95
- - Jarfile.lock
96
- - LICENSE
97
- - README.md
327
+ - app/controllers/kpm/engine_controller.rb
328
+ - app/controllers/kpm/plugins_controller.rb
329
+ - app/controllers/kpm/nodes_info_controller.rb
330
+ - app/assets/stylesheets/application.css
331
+ - app/assets/stylesheets/bootstrap_and_overrides.css
332
+ - app/assets/stylesheets/kpm/kpm.css
333
+ - app/assets/javascripts/application.js
334
+ - app/assets/javascripts/kpm/kpm.js
335
+ - app/views/kpm/nodes_info/_nodes_table.html.erb
336
+ - app/views/kpm/nodes_info/index.html.erb
337
+ - app/views/kpm/nodes_info/index.js.erb
338
+ - app/views/kpm/nodes_info/_logs_table.html.erb
339
+ - app/views/kpm/plugins/_plugins_table.html.erb
340
+ - app/views/kpm/plugins/index.html.erb
341
+ - app/views/kpm/plugins/_form.html.erb
342
+ - app/views/kpm/layouts/kpm_application.html.erb
343
+ - app/helpers/kpm/application_helper.rb
344
+ - config/routes.rb
345
+ - lib/kpm.rb
346
+ - lib/kpm/client.rb
347
+ - lib/kpm/engine.rb
348
+ - lib/kpm/version.rb
349
+ - lib/tasks/kpm_tasks.rake
350
+ - MIT-LICENSE
98
351
  - Rakefile
99
- - VERSION
100
- - config.ru
101
- - killbill-kpm.gemspec
102
- - killbill.properties
103
- - lib/kpm/application.rb
104
- - lib/kpm/listener.rb
105
- - lib/kpm/plugins_installer.rb
106
- - lib/kpm_plugin.rb
107
- - pom.xml
108
- - release.sh
109
- - spec/kpm/base_plugin_spec.rb
110
- - spec/spec_helper.rb
111
- homepage: http://killbill.io
352
+ - README.md
353
+ - test/test_helper.rb
354
+ - test/kpm_test.rb
355
+ - test/integration/navigation_test.rb
356
+ - test/dummy/Rakefile
357
+ - test/dummy/README.rdoc
358
+ - test/dummy/config.ru
359
+ - test/dummy/config/secrets.yml
360
+ - test/dummy/config/environment.rb
361
+ - test/dummy/config/routes.rb
362
+ - test/dummy/config/database.yml
363
+ - test/dummy/config/boot.rb
364
+ - test/dummy/config/application.rb
365
+ - test/dummy/config/locales/en.yml
366
+ - test/dummy/config/environments/test.rb
367
+ - test/dummy/config/environments/production.rb
368
+ - test/dummy/config/environments/development.rb
369
+ - test/dummy/config/initializers/inflections.rb
370
+ - test/dummy/config/initializers/assets.rb
371
+ - test/dummy/config/initializers/backtrace_silencers.rb
372
+ - test/dummy/config/initializers/killbill_client.rb
373
+ - test/dummy/config/initializers/filter_parameter_logging.rb
374
+ - test/dummy/config/initializers/mime_types.rb
375
+ - test/dummy/config/initializers/cookies_serializer.rb
376
+ - test/dummy/config/initializers/session_store.rb
377
+ - test/dummy/config/initializers/wrap_parameters.rb
378
+ - test/dummy/app/controllers/application_controller.rb
379
+ - test/dummy/app/helpers/application_helper.rb
380
+ - test/dummy/bin/rake
381
+ - test/dummy/bin/bundle
382
+ - test/dummy/bin/setup
383
+ - test/dummy/bin/rails
384
+ homepage: http://www.killbill.io
112
385
  licenses:
113
- - Apache License (2.0)
386
+ - MIT
114
387
  metadata: {}
115
388
  post_install_message:
116
- rdoc_options:
117
- - --exclude
118
- - .
389
+ rdoc_options: []
119
390
  require_paths:
120
391
  - lib
121
392
  required_ruby_version: !ruby/object:Gem::Requirement
122
393
  requirements:
123
394
  - - '>='
124
395
  - !ruby/object:Gem::Version
125
- version: 1.9.3
396
+ version: '0'
126
397
  required_rubygems_version: !ruby/object:Gem::Requirement
127
398
  requirements:
128
399
  - - '>='
@@ -130,10 +401,39 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
401
  version: '0'
131
402
  requirements: []
132
403
  rubyforge_project:
133
- rubygems_version: 2.4.6
404
+ rubygems_version: 2.1.9
134
405
  signing_key:
135
406
  specification_version: 4
136
- summary: Kill Bill KPM plugin
407
+ summary: Kill Bill KPM UI mountable engine
137
408
  test_files:
138
- - spec/kpm/base_plugin_spec.rb
139
- - spec/spec_helper.rb
409
+ - test/test_helper.rb
410
+ - test/kpm_test.rb
411
+ - test/integration/navigation_test.rb
412
+ - test/dummy/Rakefile
413
+ - test/dummy/README.rdoc
414
+ - test/dummy/config.ru
415
+ - test/dummy/config/secrets.yml
416
+ - test/dummy/config/environment.rb
417
+ - test/dummy/config/routes.rb
418
+ - test/dummy/config/database.yml
419
+ - test/dummy/config/boot.rb
420
+ - test/dummy/config/application.rb
421
+ - test/dummy/config/locales/en.yml
422
+ - test/dummy/config/environments/test.rb
423
+ - test/dummy/config/environments/production.rb
424
+ - test/dummy/config/environments/development.rb
425
+ - test/dummy/config/initializers/inflections.rb
426
+ - test/dummy/config/initializers/assets.rb
427
+ - test/dummy/config/initializers/backtrace_silencers.rb
428
+ - test/dummy/config/initializers/killbill_client.rb
429
+ - test/dummy/config/initializers/filter_parameter_logging.rb
430
+ - test/dummy/config/initializers/mime_types.rb
431
+ - test/dummy/config/initializers/cookies_serializer.rb
432
+ - test/dummy/config/initializers/session_store.rb
433
+ - test/dummy/config/initializers/wrap_parameters.rb
434
+ - test/dummy/app/controllers/application_controller.rb
435
+ - test/dummy/app/helpers/application_helper.rb
436
+ - test/dummy/bin/rake
437
+ - test/dummy/bin/bundle
438
+ - test/dummy/bin/setup
439
+ - test/dummy/bin/rails