porter 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d742e625d282a49c8d6a2fd6f6842cf604e81e27
4
+ data.tar.gz: 9b9ae3d2699670ab2793f79727e616f30b382ae5
5
+ SHA512:
6
+ metadata.gz: 9b961c7722902197711455a890839d292753d019f18eabcc386f1f7fa5f4c82351068336c421eed922ac30dff17724f9c7f6ce78ac29c94c51778249360f675c
7
+ data.tar.gz: 77a91a202b5c808a4ec0c44c642ba79661ea0eee7eae7dab900e4d8d02d5f2ad593494241d60d606dbed8a9ebd5cb21e130b90f615afbf10ef390b66590f423f
data/README.md CHANGED
@@ -9,6 +9,10 @@ The Porter Ruby gem is comprised of Capistrano and Rake tasks that make cloning
9
9
  * A Rails app
10
10
  * rsync (locally and remotely, if you want to sync assets)
11
11
 
12
+ ### If you're running Rails 2.3
13
+
14
+ Add `require "porter"` to your Rakefile.
15
+
12
16
  ## Capistrano Multistage (capistrano-ext)
13
17
 
14
18
  As of v1.1.0, Porter expects that your Capistrano setup utilizes the Capistrano Multistage Extension (capistrano-ext). This is a really great way to manage the various "stages" you deploy to and Porter is opinionated in that it requires you to organize your stage-specific settings into the Capistrano Multistage pattern.
@@ -18,7 +22,7 @@ More on the Capistrano Multistage Extension:
18
22
 
19
23
  ## Installation
20
24
 
21
- * Add gem "porter", "~> 1.2.2" to your Gemfile
25
+ * Add gem "porter", "~> 1.2.4" to your Gemfile
22
26
  * Run: bundle install
23
27
  * Run: rails g porter
24
28
  * Add require "porter/capistrano" to your config/deploy.rb
@@ -1,12 +1,13 @@
1
- require "porter"
2
- require "rails"
3
-
4
- module Porter
5
- class Railtie < Rails::Railtie
6
- railtie_name :porter
7
-
8
- rake_tasks do
9
- load "tasks/porter.rake"
1
+ if defined?(Rails)
2
+ if Rails.version < "3"
3
+ load "tasks/porter.rake"
4
+ else
5
+ module PgbackupsArchive
6
+ class Railtie < Rails::Railtie
7
+ rake_tasks do
8
+ load "tasks/porter.rake"
9
+ end
10
+ end
10
11
  end
11
12
  end
12
13
  end
@@ -1,3 +1,3 @@
1
1
  module Porter
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: porter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
5
- prerelease:
4
+ version: 1.2.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kenny Johnston
@@ -10,54 +9,48 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-08-09 00:00:00.000000000 Z
12
+ date: 2013-10-16 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: capistrano
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: 2.5.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: 2.5.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: capistrano-ext
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: 1.2.0
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: 1.2.0
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: rake
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: 0.8.7
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: 0.8.7
63
56
  description: Capistrano and Rake tasks for cloning production and/or staging databases
@@ -84,27 +77,26 @@ files:
84
77
  - porter.gemspec
85
78
  homepage: http://github.com/kjohnston/porter
86
79
  licenses: []
80
+ metadata: {}
87
81
  post_install_message:
88
82
  rdoc_options: []
89
83
  require_paths:
90
84
  - lib
91
85
  required_ruby_version: !ruby/object:Gem::Requirement
92
- none: false
93
86
  requirements:
94
- - - ! '>='
87
+ - - '>='
95
88
  - !ruby/object:Gem::Version
96
89
  version: '0'
97
90
  required_rubygems_version: !ruby/object:Gem::Requirement
98
- none: false
99
91
  requirements:
100
- - - ! '>='
92
+ - - '>='
101
93
  - !ruby/object:Gem::Version
102
94
  version: '0'
103
95
  requirements: []
104
96
  rubyforge_project:
105
- rubygems_version: 1.8.24
97
+ rubygems_version: 2.1.3
106
98
  signing_key:
107
- specification_version: 3
99
+ specification_version: 4
108
100
  summary: Capistrano and Rake tasks for cloning production and/or staging databases
109
101
  and assets to development.
110
102
  test_files: []