plugin_migrator 0.0.1 → 0.0.2

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: 23833d371c1f5a346fe9241e40e503bce8ac96fb
4
- data.tar.gz: fc21455c246281ef40a227ca28ed0041eccb1a19
3
+ metadata.gz: 069b81fa2280bbbe47c1861252e8d63f494cc783
4
+ data.tar.gz: 7df7e19ee60db363a49d4e2dbd5788738b56a749
5
5
  SHA512:
6
- metadata.gz: d3a8c9cf6ffc1752167544c88402bdb6b8baca47efbd1a0bf9fb6b567a38fec1abc9f23e4989a0841ff006712ce0c29a5923044ce5e55b6de456ffcdcdd9448e
7
- data.tar.gz: ea521f41d397397ec7579984f1753eb7458464a6300920fff1f32d97c7526ea52760cb86173cc3a7d1a080151cb63fbde40cdf16492f91178d5288a4ba409653
6
+ metadata.gz: e8b51cb61a7b0d8c224a6ce259fc7f258e89ea1f6948d1572e3ee8610c31a14b8bbbd265fb4884c99184ef55cbab4665c629dd8a639e8abbe5fb773cb80ae159
7
+ data.tar.gz: 53050cab29a230dbbf0e804da60ef2d4ac2b31aaf43e9d0f611306ab2de474e08f50622957496e93c822a18c917d42d7d8e40aa57862bd6e8c2220755f5b383c
@@ -2,9 +2,9 @@ require "string-cases"
2
2
  load "#{File.dirname(__FILE__)}/tasks/plugin_migrator_tasks.rake" if ::Kernel.const_defined?(:Rake)
3
3
 
4
4
  module PluginMigrator
5
- def self.const_missing(name)
6
- require_relative "plugin_migrator/#{::StringCases.camel_to_snake(name)}"
7
- raise LoadError, "Still not loaded: '#{name}'." unless ::PluginMigrator.const_defined?(name)
8
- return ::PluginMigrator.const_get(name)
9
- end
5
+ path = "#{File.dirname(__FILE__)}/plugin_migrator"
6
+
7
+ autoload :Migration, "#{path}/migration"
8
+ autoload :MigrationsHelper, "#{path}/migrations_helper"
9
+ autoload :VersionHelper, "#{path}/version_helper"
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module PluginMigrator
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,41 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plugin_migrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.0
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
26
  version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: string-cases
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: sqlite3
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - '>='
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
32
60
  - !ruby/object:Gem::Version
33
61
  version: '0'
34
62
  type: :development
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
- - - '>='
66
+ - - ">="
39
67
  - !ruby/object:Gem::Version
40
68
  version: '0'
41
69
  description: Migration of plugins DB migrations easily.
@@ -45,15 +73,14 @@ executables: []
45
73
  extensions: []
46
74
  extra_rdoc_files: []
47
75
  files:
48
- - lib/plugin_migrator/version_helper.rb
49
- - lib/plugin_migrator/version.rb
76
+ - MIT-LICENSE
77
+ - Rakefile
78
+ - lib/plugin_migrator.rb
50
79
  - lib/plugin_migrator/migration.rb
51
80
  - lib/plugin_migrator/migrations_helper.rb
52
- - lib/plugin_migrator.rb
81
+ - lib/plugin_migrator/version.rb
82
+ - lib/plugin_migrator/version_helper.rb
53
83
  - lib/tasks/plugin_migrator_tasks.rake
54
- - MIT-LICENSE
55
- - Rakefile
56
- - README.rdoc
57
84
  homepage: https://www.github.com/kaspernj/plugin_migrator
58
85
  licenses: []
59
86
  metadata: {}
@@ -63,17 +90,17 @@ require_paths:
63
90
  - lib
64
91
  required_ruby_version: !ruby/object:Gem::Requirement
65
92
  requirements:
66
- - - '>='
93
+ - - ">="
67
94
  - !ruby/object:Gem::Version
68
95
  version: '0'
69
96
  required_rubygems_version: !ruby/object:Gem::Requirement
70
97
  requirements:
71
- - - '>='
98
+ - - ">="
72
99
  - !ruby/object:Gem::Version
73
100
  version: '0'
74
101
  requirements: []
75
102
  rubyforge_project:
76
- rubygems_version: 2.0.7
103
+ rubygems_version: 2.4.0
77
104
  signing_key:
78
105
  specification_version: 4
79
106
  summary: Migrate plugin DB easily.
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = PluginMigrator
2
-
3
- This project rocks and uses MIT-LICENSE.