killbill 7.0.4 → 7.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d15f7f9e9da5390cf9abe1cb4734e51622842b0
4
- data.tar.gz: d40ccd578500e93b61b25e3851b3fc46e4872b2a
3
+ metadata.gz: b9a619e496d07d2868bb2f1ae17f2f67ed024515
4
+ data.tar.gz: 862643c69bbc538adf5cd263d2699c23b91dc700
5
5
  SHA512:
6
- metadata.gz: bd1d6ad6cf260b363d634bdb440098d73d4d55ec143a0f613dccd85e15d5e8546f985647fb79df2f8786c28a3d20df2cdec64fa6bad3e2dd8425e5fc2bbae1da
7
- data.tar.gz: ae70cbd211f1036e53345e4f4fbd7024eef6eed016311caf4561c832d03674d1075b8093bf6d717265f35e6f320a49434a9e02a6fa05c38383cc9e9e3849660f
6
+ metadata.gz: 852589c771737c901723e868cd43f03716f8e62273fc789bf73980787f155c24811a6918bffb8a1056df062b7a011ddbfe41b1df5206999c2d63be24d36006a2
7
+ data.tar.gz: 14d2be2b5ba3488f5d79a4702c2a0eaf703233cfaa1cfc9cdb6dc29309f50c74473d9dd73794a4e4e3932b6e40c53f4f85a6c423594b5d9520aa9a2aa888259c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- killbill (7.0.4)
4
+ killbill (7.0.5)
5
5
  rack (>= 1.5.2)
6
6
  sinatra (~> 1.3.4)
7
7
  typhoeus (~> 0.6.9)
data/NEWS CHANGED
@@ -1,3 +1,6 @@
1
+ 7.0.5
2
+ Fix regression when loading Rake tasks
3
+
1
4
  7.0.4
2
5
  Add support for migrations
3
6
  ActiveMerchant: change message column to TEXT
@@ -66,8 +66,6 @@ module Killbill
66
66
  # Staging area to install gem dependencies
67
67
  # Note the Killbill friendly structure (which we will keep in the tarball)
68
68
  @plugin_gem_target_dir = @plugin_target_dir.join(@gems_dir_path)
69
-
70
- @migration = Killbill::Migration.new(plugin_name || ENV['PLUGIN_NAME'])
71
69
  end
72
70
 
73
71
  attr_reader :base
@@ -254,27 +252,27 @@ module Killbill
254
252
  namespace :db do
255
253
  desc 'Display the current migration version'
256
254
  task :current_version do
257
- puts @migration.current_version
255
+ puts migration.current_version
258
256
  end
259
257
 
260
258
  desc 'Display the migration SQL'
261
259
  task :sql_for_migration do
262
- puts @migration.sql_for_migration.join("\n")
260
+ puts migration.sql_for_migration.join("\n")
263
261
  end
264
262
 
265
263
  desc 'Run all migrations'
266
264
  task :migrate do
267
- @migration.migrate
265
+ migration.migrate
268
266
  end
269
267
 
270
268
  desc 'Dump the current schema structure (Ruby)'
271
269
  task :ruby_dump do
272
- puts @migration.ruby_dump.string
270
+ puts migration.ruby_dump.string
273
271
  end
274
272
 
275
273
  desc 'Dump the current schema structure (SQL)'
276
274
  task :sql_dump do
277
- puts @migration.sql_dump.string
275
+ puts migration.sql_dump.string
278
276
  end
279
277
  end
280
278
  end
@@ -282,6 +280,10 @@ module Killbill
282
280
 
283
281
  private
284
282
 
283
+ def migration
284
+ @migration ||= Killbill::Migration.new(@plugin_name || ENV['PLUGIN_NAME'])
285
+ end
286
+
285
287
  def plugin_path(plugins_dir, versioned = true)
286
288
  plugin_path = plugins_dir.join(name)
287
289
  versioned ? plugin_path.join(version.to_s) : plugin_path
@@ -1,3 +1,3 @@
1
1
  module Killbill
2
- VERSION = '7.0.4'
2
+ VERSION = '7.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.4
4
+ version: 7.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team