fdlcap 0.3.30 → 0.3.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Gemfile +14 -0
  2. data/README.rdoc +13 -5
  3. data/Rakefile +12 -16
  4. data/VERSION +1 -1
  5. data/fdlcap.gemspec +17 -15
  6. data/test/test_helper.rb +2 -1
  7. metadata +10 -7
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "http://gemcutter.org"
2
+
3
+ gem 'eycap', '>= 0.5.1'
4
+ gem 'auto_tagger', '>= 0.1.0'
5
+ gem 'capistrano', '>= 2.5.10'
6
+ gem 'capistrano-ext', '>= 1.2.1'
7
+
8
+ gem 'bundler', :only => :test
9
+ gem 'jeweler', :only => :test
10
+ gem 'shoulda', :only => :test
11
+
12
+ bin_path 'gbin'
13
+
14
+ disable_system_gems
@@ -47,19 +47,27 @@ Recipes can also take arguments (such as in the stages recipe)
47
47
  require 'capistrano/ext/multistage'
48
48
  end
49
49
 
50
- ==Prereqs
50
+ == Prereqs
51
51
 
52
52
  Aside from capistrano, fdlcap depends on the following gems:
53
53
 
54
54
  - capistrano-ext (for multistage deployments)
55
55
  - engineyard-eycap (for deployment configurations and support recipes - http://github.com/engineyard/eycap)
56
- - zilkey-auto_tagger (for rolling deploy tags via git - http://github.com/zilkey/auto_tagger)
56
+ - auto_tagger (for rolling deploy tags via git - http://github.com/zilkey/auto_tagger)
57
57
 
58
- These should all be installed automatically by rubygems when you install fdlcap.
58
+ These should all be installed automatically by rubygems when you install fdlcap.
59
59
 
60
- ==Installation
60
+ For development, make sure you have bundler installed (http://github.com/wycats/bundler)
61
61
 
62
- sudo gem install factorylabs-fdlcap --source=http://gems.github.com
62
+ $ gem install bundler
63
+ $ git clone git://github.com/factorylabs/fdlcap.git
64
+ $ cd fdlcap
65
+ $ gem bundle
66
+ $ ./gbin/rake
67
+
68
+ == Installation
69
+
70
+ sudo gem install fdlcap --source http://gemcutter.org
63
71
 
64
72
  You may want to add the gem to your config.gems or geminstaller config as well.
65
73
 
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
- require 'rubygems'
1
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'vendor', 'gems', 'environment')
2
+ Bundler.require_env
2
3
  require 'rake'
4
+ require 'bundler'
3
5
 
4
6
  begin
5
7
  require 'jeweler'
@@ -8,15 +10,18 @@ begin
8
10
  gem.summary = %Q{a set of capistrano recipies we use regularly at Factory Design Labs}
9
11
  gem.email = "interactive@factorylabs.com"
10
12
  gem.homepage = "http://github.com/factorylabs/fdlcap"
11
- gem.authors = ["Factory Design Labs"]
12
- gem.add_dependency('engineyard-eycap', '>= 0.4.7')
13
- gem.add_dependency('zilkey-auto_tagger', '>= 0.0.9')
14
- gem.add_dependency('capistrano', '>= 2.5.5')
15
- gem.add_dependency('capistrano-ext', '>= 1.2.1')
13
+ gem.authors = ["Factory Design Labs", "Gabe Varela", "Jay Zeschin" ]
14
+
15
+ manifest = Bundler::Environment.load(File.dirname(__FILE__) + '/Gemfile')
16
+ manifest.dependencies.each do |d|
17
+ next if d.only
18
+ gem.add_dependency(d.name, d.version)
19
+ end
20
+
16
21
  gem.files.exclude('.gitignore')
17
22
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18
23
  end
19
-
24
+ Jeweler::GemcutterTasks.new
20
25
  rescue LoadError
21
26
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
22
27
  end
@@ -41,15 +46,6 @@ rescue LoadError
41
46
  end
42
47
  end
43
48
 
44
- begin
45
- require 'cucumber/rake/task'
46
- Cucumber::Rake::Task.new(:features)
47
- rescue LoadError
48
- task :features do
49
- abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
50
- end
51
- end
52
-
53
49
  task :default => :test
54
50
 
55
51
  require 'rake/rdoctask'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.30
1
+ 0.3.31
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fdlcap}
8
- s.version = "0.3.30"
8
+ s.version = "0.3.31"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Factory Design Labs"]
12
- s.date = %q{2009-10-13}
11
+ s.authors = ["Factory Design Labs", "Gabe Varela", "Jay Zeschin"]
12
+ s.date = %q{2009-11-16}
13
13
  s.default_executable = %q{fdlcap}
14
14
  s.email = %q{interactive@factorylabs.com}
15
15
  s.executables = ["fdlcap"]
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
  "README.rdoc"
19
19
  ]
20
20
  s.files = [
21
- "LICENSE",
21
+ "Gemfile",
22
+ "LICENSE",
22
23
  "README.rdoc",
23
24
  "Rakefile",
24
25
  "VERSION",
@@ -79,20 +80,21 @@ Gem::Specification.new do |s|
79
80
  s.specification_version = 3
80
81
 
81
82
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
82
- s.add_runtime_dependency(%q<engineyard-eycap>, [">= 0.4.7"])
83
- s.add_runtime_dependency(%q<zilkey-auto_tagger>, [">= 0.0.9"])
84
- s.add_runtime_dependency(%q<capistrano>, [">= 2.5.5"])
83
+ s.add_runtime_dependency(%q<eycap>, [">= 0.5.1"])
84
+ s.add_runtime_dependency(%q<auto_tagger>, [">= 0.1.0"])
85
+ s.add_runtime_dependency(%q<capistrano>, [">= 2.5.10"])
85
86
  s.add_runtime_dependency(%q<capistrano-ext>, [">= 1.2.1"])
86
87
  else
87
- s.add_dependency(%q<engineyard-eycap>, [">= 0.4.7"])
88
- s.add_dependency(%q<zilkey-auto_tagger>, [">= 0.0.9"])
89
- s.add_dependency(%q<capistrano>, [">= 2.5.5"])
88
+ s.add_dependency(%q<eycap>, [">= 0.5.1"])
89
+ s.add_dependency(%q<auto_tagger>, [">= 0.1.0"])
90
+ s.add_dependency(%q<capistrano>, [">= 2.5.10"])
90
91
  s.add_dependency(%q<capistrano-ext>, [">= 1.2.1"])
91
92
  end
92
93
  else
93
- s.add_dependency(%q<engineyard-eycap>, [">= 0.4.7"])
94
- s.add_dependency(%q<zilkey-auto_tagger>, [">= 0.0.9"])
95
- s.add_dependency(%q<capistrano>, [">= 2.5.5"])
94
+ s.add_dependency(%q<eycap>, [">= 0.5.1"])
95
+ s.add_dependency(%q<auto_tagger>, [">= 0.1.0"])
96
+ s.add_dependency(%q<capistrano>, [">= 2.5.10"])
96
97
  s.add_dependency(%q<capistrano-ext>, [">= 1.2.1"])
97
98
  end
98
99
  end
100
+
@@ -1,4 +1,5 @@
1
- require 'rubygems'
1
+ require File.join(File.expand_path(File.dirname(__FILE__)), '..', 'vendor', 'gems', 'environment')
2
+ Bundler.require_env(:test)
2
3
  require 'test/unit'
3
4
  require 'shoulda'
4
5
 
metadata CHANGED
@@ -1,36 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdlcap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.30
4
+ version: 0.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Factory Design Labs
8
+ - Gabe Varela
9
+ - Jay Zeschin
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
13
 
12
- date: 2009-10-13 00:00:00 -06:00
14
+ date: 2009-11-16 00:00:00 -07:00
13
15
  default_executable: fdlcap
14
16
  dependencies:
15
17
  - !ruby/object:Gem::Dependency
16
- name: engineyard-eycap
18
+ name: eycap
17
19
  type: :runtime
18
20
  version_requirement:
19
21
  version_requirements: !ruby/object:Gem::Requirement
20
22
  requirements:
21
23
  - - ">="
22
24
  - !ruby/object:Gem::Version
23
- version: 0.4.7
25
+ version: 0.5.1
24
26
  version:
25
27
  - !ruby/object:Gem::Dependency
26
- name: zilkey-auto_tagger
28
+ name: auto_tagger
27
29
  type: :runtime
28
30
  version_requirement:
29
31
  version_requirements: !ruby/object:Gem::Requirement
30
32
  requirements:
31
33
  - - ">="
32
34
  - !ruby/object:Gem::Version
33
- version: 0.0.9
35
+ version: 0.1.0
34
36
  version:
35
37
  - !ruby/object:Gem::Dependency
36
38
  name: capistrano
@@ -40,7 +42,7 @@ dependencies:
40
42
  requirements:
41
43
  - - ">="
42
44
  - !ruby/object:Gem::Version
43
- version: 2.5.5
45
+ version: 2.5.10
44
46
  version:
45
47
  - !ruby/object:Gem::Dependency
46
48
  name: capistrano-ext
@@ -62,6 +64,7 @@ extra_rdoc_files:
62
64
  - LICENSE
63
65
  - README.rdoc
64
66
  files:
67
+ - Gemfile
65
68
  - LICENSE
66
69
  - README.rdoc
67
70
  - Rakefile