deprec-core 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,7 +1,7 @@
1
1
  deprec-core changelog
2
2
  =====================
3
3
 
4
- = 3.1.3 (Jul 17, 2011)
4
+ = 3.1.4 (Jul 17, 2011)
5
5
 
6
6
  * Extracted the guts of deprec into this gem
7
7
 
data/lib/deprec-core.rb CHANGED
@@ -1,11 +1,10 @@
1
1
  require "deprec-core/version"
2
2
 
3
3
  if defined?(Capistrano)
4
- require "#{File.dirname(__FILE__)}/deprec-core/capistrano_extensions"
5
- require "#{File.dirname(__FILE__)}/vmbuilder_plugins/all"
6
- require "#{File.dirname(__FILE__)}/deprec-core/canonical"
7
- require "#{File.dirname(__FILE__)}/deprec-core/deprec"
8
- require "#{File.dirname(__FILE__)}/deprec-core/deprecated"
4
+ require "deprec-core/capistrano_extensions"
5
+ require "vmbuilder_plugins/all"
6
+ require "deprec-core/canonical"
7
+ require "deprec-core/deprec"
9
8
  elsif defined?(rake)
10
9
  # pass
11
10
  end
@@ -1,5 +1,5 @@
1
1
  module Deprec
2
2
  module Core
3
- VERSION = "3.1.3"
3
+ VERSION = "3.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: deprec-core
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.1.3
5
+ version: 3.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Bailey
@@ -33,7 +33,6 @@ files:
33
33
  - lib/deprec-core/canonical.rb
34
34
  - lib/deprec-core/capistrano_extensions.rb
35
35
  - lib/deprec-core/deprec.rb
36
- - lib/deprec-core/deprecated.rb
37
36
  - lib/deprec-core/version.rb
38
37
  - lib/vmbuilder_plugins/all.rb
39
38
  - lib/vmbuilder_plugins/apt.rb
@@ -1,71 +0,0 @@
1
- # Copyright 2006-2008 by Mike Bailey. All rights reserved.
2
- Capistrano::Configuration.instance(:must_exist).load do
3
-
4
- # deprecated tasks from deprec1
5
- # we're now using namespaces and some different naming conventions
6
-
7
- # XXX use deprecated function to generate these dynamically
8
-
9
- deprec2_isnt_backwards_compatible = <<-EOF
10
-
11
- You've installed deprec2 but seem to be using a deprec1 command.
12
-
13
- You have two options:
14
-
15
- - install deprec-1.9.x and continue using deprec1
16
-
17
- Instructions are available at http://www.deprec.org/
18
-
19
- - use deprec2
20
-
21
- EOF
22
-
23
- cap2_warning = <<-EOF
24
-
25
- You're using Capistrano 2 but using a deprecated cap1 command.
26
-
27
- EOF
28
-
29
- task :setup_admin_account do
30
- puts deprec2_isnt_backwards_compatible
31
- puts " Replace 'cap setup_admin_account' with 'cap deprec:users:add'"
32
- puts
33
- end
34
-
35
- task :change_root_password do
36
- puts deprec2_isnt_backwards_compatible
37
- puts " Replace 'cap change_root_password' with 'cap deprec:users:passwd'"
38
- puts
39
- end
40
-
41
- task :setup_ssh_keys do
42
- puts deprec2_isnt_backwards_compatible
43
- puts " Replace 'cap setup_ssh_keys' with 'cap deprec:ssh:setup_keys'"
44
- puts
45
- end
46
-
47
- task :install_rails_stack do
48
- puts deprec2_isnt_backwards_compatible
49
- puts " Replace 'cap install_rails_stack' with 'cap deprec:rails:install_rails_stack'"
50
- puts
51
- end
52
-
53
- task :setup do
54
- puts deprec2_isnt_backwards_compatible
55
- puts " Replace 'cap setup' with 'cap deploy:setup'"
56
- puts
57
- end
58
-
59
- task :restart_apache do
60
- puts deprec2_isnt_backwards_compatible
61
- puts " Replace 'cap restart_apache' with 'cap deprec:apache:restart'"
62
- puts
63
- end
64
-
65
- task :show_tasks do
66
- puts deprec2_isnt_backwards_compatible
67
- puts " Replace 'cap show-tasks' with 'cap -T'"
68
- puts
69
- end
70
-
71
- end