deploy_and_deliver 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/README CHANGED
@@ -8,6 +8,7 @@ To use this task, simply set the following variables:
8
8
 
9
9
  set :pivotal_tracker_project_id, PROJECT_ID
10
10
  set :pivotal_tracker_token, TOKEN
11
+ set :pivotal_tracker_ssl, false
11
12
 
12
13
  Then, inside the task for your demo platform, add
13
14
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ begin
8
8
  gem.summary = %Q{Capistrano recipes for Pivotal Tracker}
9
9
  gem.description = %Q{Mark Pivotal Tracker stories as Delivered on deploy.}
10
10
  gem.email = "daniel@collectiveidea.com"
11
- gem.homepage = "http://github.com/danielmorrison/deploy_and_deliver"
11
+ gem.homepage = "http://github.com/collectiveidea/deploy_and_deliver"
12
12
  gem.authors = ["Daniel Morrison"]
13
13
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
14
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -0,0 +1,43 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{deploy_and_deliver}
8
+ s.version = "1.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Daniel Morrison"]
12
+ s.date = %q{2009-09-30}
13
+ s.description = %q{Mark Pivotal Tracker stories as Delivered on deploy.}
14
+ s.email = %q{daniel@collectiveidea.com}
15
+ s.extra_rdoc_files = [
16
+ "README"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "README",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "deploy_and_deliver.gemspec",
24
+ "install.rb",
25
+ "lib/deploy_and_deliver/recipes.rb",
26
+ "recipes/deploy_and_deliver.rb"
27
+ ]
28
+ s.homepage = %q{http://github.com/collectiveidea/deploy_and_deliver}
29
+ s.rdoc_options = ["--charset=UTF-8"]
30
+ s.require_paths = ["lib"]
31
+ s.rubygems_version = %q{1.3.5}
32
+ s.summary = %q{Capistrano recipes for Pivotal Tracker}
33
+
34
+ if s.respond_to? :specification_version then
35
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
36
+ s.specification_version = 3
37
+
38
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
39
+ else
40
+ end
41
+ else
42
+ end
43
+ end
@@ -6,11 +6,12 @@ Capistrano::Configuration.instance.load do
6
6
  require 'rubygems'
7
7
  require 'activeresource'
8
8
 
9
- class Story < ActiveResource::Base
10
- self.site = "http://www.pivotaltracker.com/services/v2/projects/:project_id"
11
- end
9
+ class Story < ActiveResource::Base ; end
12
10
 
11
+ protocol = self[:pivotal_tracker_ssl] ? 'https' : 'http'
12
+ Story.site = "#{protocol}://www.pivotaltracker.com/services/v2/projects/:project_id"
13
13
  Story.headers['X-TrackerToken'] = pivotal_tracker_token
14
+
14
15
  puts "* delivering tracker stories ..."
15
16
  response = Story.put(:deliver_all_finished, :project_id => pivotal_tracker_project_id)
16
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_and_deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Morrison
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-23 00:00:00 -04:00
12
+ date: 2009-09-30 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,14 +22,16 @@ extensions: []
22
22
  extra_rdoc_files:
23
23
  - README
24
24
  files:
25
+ - .gitignore
25
26
  - README
26
27
  - Rakefile
27
28
  - VERSION
29
+ - deploy_and_deliver.gemspec
28
30
  - install.rb
29
31
  - lib/deploy_and_deliver/recipes.rb
30
32
  - recipes/deploy_and_deliver.rb
31
33
  has_rdoc: true
32
- homepage: http://github.com/danielmorrison/deploy_and_deliver
34
+ homepage: http://github.com/collectiveidea/deploy_and_deliver
33
35
  licenses: []
34
36
 
35
37
  post_install_message: