pivotal-tracker 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ group :runtime do
4
4
  gem 'rest-client', '~> 1.6.0'
5
5
  gem 'happymapper', '>= 0.3.2'
6
6
  gem 'builder'
7
- gem 'nokogiri', '~> 1.4.3.1'
7
+ gem 'nokogiri', '~> 1.4'
8
8
  end
9
9
 
10
10
  group :test do
@@ -12,4 +12,6 @@ group :test do
12
12
  gem 'rake'
13
13
  gem 'jeweler'
14
14
  gem 'stale_fish', '~> 1.3.0'
15
+ gem "ruby-debug", :platforms => :mri_18
16
+ gem "ruby-debug19", :platforms => :mri_19
15
17
  end
@@ -2,7 +2,9 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  activesupport (2.3.8)
5
+ archive-tar-minitar (0.5.2)
5
6
  builder (2.1.2)
7
+ columnize (0.3.2)
6
8
  fakeweb (1.2.8)
7
9
  gemcutter (0.6.1)
8
10
  git (1.2.5)
@@ -14,12 +16,30 @@ GEM
14
16
  rubyforge (>= 2.0.0)
15
17
  json_pure (1.4.5)
16
18
  libxml-ruby (1.1.4)
19
+ linecache (0.43)
20
+ linecache19 (0.5.12)
21
+ ruby_core_source (>= 0.1.4)
17
22
  mime-types (1.16)
18
- nokogiri (1.4.3.1)
23
+ nokogiri (1.4.4)
19
24
  rake (0.8.7)
20
25
  rest-client (1.6.0)
21
26
  mime-types (>= 1.16)
22
- rspec (1.3.0)
27
+ rspec (1.3.2)
28
+ ruby-debug (0.10.4)
29
+ columnize (>= 0.1)
30
+ ruby-debug-base (~> 0.10.4.0)
31
+ ruby-debug-base (0.10.4)
32
+ linecache (>= 0.3)
33
+ ruby-debug-base19 (0.11.25)
34
+ columnize (>= 0.3.1)
35
+ linecache19 (>= 0.5.11)
36
+ ruby_core_source (>= 0.1.4)
37
+ ruby-debug19 (0.11.6)
38
+ columnize (>= 0.3.1)
39
+ linecache19 (>= 0.5.11)
40
+ ruby-debug-base19 (>= 0.11.19)
41
+ ruby_core_source (0.1.5)
42
+ archive-tar-minitar (>= 0.5.2)
23
43
  rubyforge (2.0.4)
24
44
  json_pure (>= 1.1.7)
25
45
  stale_fish (1.3.0)
@@ -33,8 +53,10 @@ DEPENDENCIES
33
53
  builder
34
54
  happymapper (>= 0.3.2)
35
55
  jeweler
36
- nokogiri (~> 1.4.3.1)
56
+ nokogiri (~> 1.4)
37
57
  rake
38
58
  rest-client (~> 1.6.0)
39
59
  rspec (~> 1.3.0)
60
+ ruby-debug
61
+ ruby-debug19
40
62
  stale_fish (~> 1.3.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.4.0
@@ -26,6 +26,8 @@ module PivotalTracker
26
26
  options_strings = options.inject({}) do |m, (k,v)|
27
27
  if [:limit, :offset].include?(k.to_sym)
28
28
  m.update k => v
29
+ elsif k.to_sym == :search
30
+ m.update :filter => v
29
31
  else
30
32
  filter_query = %{#{k}:#{[v].flatten.join(",")}}
31
33
  m.update :filter => (m[:filter] ? "#{m[:filter]} #{filter_query}" : filter_query)
@@ -23,7 +23,7 @@ module PivotalTracker
23
23
  if options[:occurred_since]
24
24
  options_string << "occurred_since_date=\"#{options[:occurred_since].utc}\""
25
25
  elsif options[:occurred_since_date]
26
- options_string << "occurred_since_date=\"#{options[:occurred_since_date]}\""
26
+ options_string << "occurred_since_date=#{URI.escape options[:occurred_since_date].strftime("%Y/%m/%d %H:%M:%S %Z")}"
27
27
  end
28
28
 
29
29
  return "?#{options_string.join('&')}"
@@ -1,6 +1,8 @@
1
1
  module PivotalTracker
2
2
  class Client
3
3
 
4
+ class NoToken < StandardError; end
5
+
4
6
  class << self
5
7
  attr_writer :use_ssl, :token
6
8
 
@@ -20,16 +22,20 @@ module PivotalTracker
20
22
 
21
23
  # this is your connection for the entire module
22
24
  def connection(options={})
23
- @connection ||= RestClient::Resource.new("#{protocol}://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => @token, 'Content-Type' => 'application/xml'})
25
+ raise NoToken if @token.to_s.empty?
26
+
27
+ @connections ||= {}
28
+
29
+ @connections[@token] ||= RestClient::Resource.new("#{protocol}://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => @token, 'Content-Type' => 'application/xml'})
24
30
  end
25
31
 
26
32
  protected
27
-
33
+
28
34
  def protocol
29
35
  use_ssl ? 'https' : 'http'
30
36
  end
31
-
37
+
32
38
  end
33
-
39
+
34
40
  end
35
41
  end
@@ -1,93 +1,83 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pivotal-tracker}
8
- s.version = "0.3.1"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Smestad", "Josh Nichols", "Terence Lee"]
12
- s.date = %q{2010-12-15}
12
+ s.date = %q{2011-07-10}
13
13
  s.email = %q{justin.smestad@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
16
- "README.rdoc"
16
+ "README.rdoc"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "Gemfile",
21
- "Gemfile.lock",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "lib/pivotal-tracker.rb",
27
- "lib/pivotal-tracker/activity.rb",
28
- "lib/pivotal-tracker/attachment.rb",
29
- "lib/pivotal-tracker/client.rb",
30
- "lib/pivotal-tracker/extensions.rb",
31
- "lib/pivotal-tracker/iteration.rb",
32
- "lib/pivotal-tracker/membership.rb",
33
- "lib/pivotal-tracker/note.rb",
34
- "lib/pivotal-tracker/project.rb",
35
- "lib/pivotal-tracker/proxy.rb",
36
- "lib/pivotal-tracker/story.rb",
37
- "lib/pivotal-tracker/task.rb",
38
- "lib/pivotal-tracker/validation.rb",
39
- "lib/pivotal_tracker.rb",
40
- "pivotal-tracker.gemspec",
41
- "spec/fixtures/activity.xml",
42
- "spec/fixtures/created_note.xml",
43
- "spec/fixtures/created_story.xml",
44
- "spec/fixtures/iterations_all.xml",
45
- "spec/fixtures/iterations_backlog.xml",
46
- "spec/fixtures/iterations_current.xml",
47
- "spec/fixtures/iterations_done.xml",
48
- "spec/fixtures/memberships.xml",
49
- "spec/fixtures/notes.xml",
50
- "spec/fixtures/project.xml",
51
- "spec/fixtures/project_activity.xml",
52
- "spec/fixtures/projects.xml",
53
- "spec/fixtures/stale_fish.yml",
54
- "spec/fixtures/stories.xml",
55
- "spec/fixtures/tasks.xml",
56
- "spec/spec.opts",
57
- "spec/spec_helper.rb",
58
- "spec/support/stale_fish_fixtures.rb",
59
- "spec/unit/pivotal-tracker/activity_spec.rb",
60
- "spec/unit/pivotal-tracker/attachment_spec.rb",
61
- "spec/unit/pivotal-tracker/iteration_spec.rb",
62
- "spec/unit/pivotal-tracker/membership_spec.rb",
63
- "spec/unit/pivotal-tracker/note_spec.rb",
64
- "spec/unit/pivotal-tracker/project_spec.rb",
65
- "spec/unit/pivotal-tracker/story_spec.rb",
66
- "spec/unit/pivotal-tracker/task_spec.rb"
19
+ "Gemfile",
20
+ "Gemfile.lock",
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "lib/pivotal-tracker.rb",
26
+ "lib/pivotal-tracker/activity.rb",
27
+ "lib/pivotal-tracker/attachment.rb",
28
+ "lib/pivotal-tracker/client.rb",
29
+ "lib/pivotal-tracker/extensions.rb",
30
+ "lib/pivotal-tracker/iteration.rb",
31
+ "lib/pivotal-tracker/membership.rb",
32
+ "lib/pivotal-tracker/note.rb",
33
+ "lib/pivotal-tracker/project.rb",
34
+ "lib/pivotal-tracker/proxy.rb",
35
+ "lib/pivotal-tracker/story.rb",
36
+ "lib/pivotal-tracker/task.rb",
37
+ "lib/pivotal-tracker/validation.rb",
38
+ "lib/pivotal_tracker.rb",
39
+ "pivotal-tracker.gemspec",
40
+ "spec/fixtures/activity.xml",
41
+ "spec/fixtures/created_note.xml",
42
+ "spec/fixtures/created_story.xml",
43
+ "spec/fixtures/iterations_all.xml",
44
+ "spec/fixtures/iterations_backlog.xml",
45
+ "spec/fixtures/iterations_current.xml",
46
+ "spec/fixtures/iterations_done.xml",
47
+ "spec/fixtures/memberships.xml",
48
+ "spec/fixtures/notes.xml",
49
+ "spec/fixtures/project.xml",
50
+ "spec/fixtures/project_activity.xml",
51
+ "spec/fixtures/projects.xml",
52
+ "spec/fixtures/stale_fish.yml",
53
+ "spec/fixtures/stories.xml",
54
+ "spec/fixtures/tasks.xml",
55
+ "spec/spec.opts",
56
+ "spec/spec_helper.rb",
57
+ "spec/support/stale_fish_fixtures.rb",
58
+ "spec/unit/pivotal-tracker/activity_spec.rb",
59
+ "spec/unit/pivotal-tracker/attachment_spec.rb",
60
+ "spec/unit/pivotal-tracker/client_spec.rb",
61
+ "spec/unit/pivotal-tracker/iteration_spec.rb",
62
+ "spec/unit/pivotal-tracker/membership_spec.rb",
63
+ "spec/unit/pivotal-tracker/note_spec.rb",
64
+ "spec/unit/pivotal-tracker/project_spec.rb",
65
+ "spec/unit/pivotal-tracker/story_spec.rb",
66
+ "spec/unit/pivotal-tracker/task_spec.rb"
67
67
  ]
68
68
  s.homepage = %q{http://github.com/jsmestad/pivotal-tracker}
69
- s.rdoc_options = ["--charset=UTF-8"]
70
69
  s.require_paths = ["lib"]
71
- s.rubygems_version = %q{1.3.7}
70
+ s.rubygems_version = %q{1.7.2}
72
71
  s.summary = %q{Ruby wrapper for the Pivotal Tracker API}
73
- s.test_files = [
74
- "spec/spec_helper.rb",
75
- "spec/support/stale_fish_fixtures.rb",
76
- "spec/unit/pivotal-tracker/activity_spec.rb",
77
- "spec/unit/pivotal-tracker/attachment_spec.rb",
78
- "spec/unit/pivotal-tracker/iteration_spec.rb",
79
- "spec/unit/pivotal-tracker/membership_spec.rb",
80
- "spec/unit/pivotal-tracker/note_spec.rb",
81
- "spec/unit/pivotal-tracker/project_spec.rb",
82
- "spec/unit/pivotal-tracker/story_spec.rb",
83
- "spec/unit/pivotal-tracker/task_spec.rb"
84
- ]
85
72
 
86
73
  if s.respond_to? :specification_version then
87
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
88
74
  s.specification_version = 3
89
75
 
90
76
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
77
+ s.add_runtime_dependency(%q<rest-client>, ["~> 1.6.0"])
78
+ s.add_runtime_dependency(%q<happymapper>, [">= 0.3.2"])
79
+ s.add_runtime_dependency(%q<builder>, [">= 0"])
80
+ s.add_runtime_dependency(%q<nokogiri>, ["~> 1.4"])
91
81
  s.add_runtime_dependency(%q<rest-client>, ["~> 1.6.0"])
92
82
  s.add_runtime_dependency(%q<happymapper>, [">= 0.3.2"])
93
83
  s.add_runtime_dependency(%q<builder>, [">= 0"])
@@ -97,6 +87,10 @@ Gem::Specification.new do |s|
97
87
  s.add_development_dependency(%q<jeweler>, [">= 0"])
98
88
  s.add_development_dependency(%q<stale_fish>, ["~> 1.3.0"])
99
89
  else
90
+ s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
91
+ s.add_dependency(%q<happymapper>, [">= 0.3.2"])
92
+ s.add_dependency(%q<builder>, [">= 0"])
93
+ s.add_dependency(%q<nokogiri>, ["~> 1.4"])
100
94
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
101
95
  s.add_dependency(%q<happymapper>, [">= 0.3.2"])
102
96
  s.add_dependency(%q<builder>, [">= 0"])
@@ -107,6 +101,10 @@ Gem::Specification.new do |s|
107
101
  s.add_dependency(%q<stale_fish>, ["~> 1.3.0"])
108
102
  end
109
103
  else
104
+ s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
105
+ s.add_dependency(%q<happymapper>, [">= 0.3.2"])
106
+ s.add_dependency(%q<builder>, [">= 0"])
107
+ s.add_dependency(%q<nokogiri>, ["~> 1.4"])
110
108
  s.add_dependency(%q<rest-client>, ["~> 1.6.0"])
111
109
  s.add_dependency(%q<happymapper>, [">= 0.3.2"])
112
110
  s.add_dependency(%q<builder>, [">= 0"])
@@ -20,4 +20,13 @@ describe PivotalTracker::Activity do
20
20
  end
21
21
  end
22
22
 
23
+ context "with a specified occurred since date filter" do
24
+ it "should correctly url encode the occurred since date filter in the API call" do
25
+ PivotalTracker::Client.stub!(:connection).and_return connection = double("Client Connection")
26
+ connection.should_receive(:[]).with("/activities?limit=100&occurred_since_date=2010/07/29%2019:13:00%20UTC")
27
+ .and_return double("Connection", :get => '<blah></blah>')
28
+ PivotalTracker::Activity.all nil, :limit => 100, :occurred_since_date => DateTime.parse("2010/7/29 19:13:00 UTC")
29
+ end
30
+ end
31
+
23
32
  end
@@ -0,0 +1,87 @@
1
+ require "spec_helper"
2
+ require 'ruby-debug'
3
+
4
+ describe PivotalTracker::Client do
5
+
6
+ describe ".connection" do
7
+
8
+ context "with no existing token" do
9
+
10
+ before do
11
+ PivotalTracker::Client.token = nil
12
+ end
13
+
14
+ it "raises a NoToken exception" do
15
+ lambda { PivotalTracker::Client.connection }.should raise_error(PivotalTracker::Client::NoToken)
16
+ end
17
+
18
+ describe "after setting a new token" do
19
+
20
+ before do
21
+ PivotalTracker::Client.token = "anewtoken"
22
+ end
23
+
24
+ it "called to RestClient::Resource using the new token" do
25
+ RestClient::Resource.should_receive(:new).with("http://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => "anewtoken", 'Content-Type' => 'application/xml'})
26
+
27
+ PivotalTracker::Client.connection
28
+ end
29
+
30
+ it "returned the connection for the new token" do
31
+ @resource = Object.new
32
+
33
+ RestClient::Resource.should_receive(:new).
34
+ with("http://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => "anewtoken", 'Content-Type' => 'application/xml'}).
35
+ and_return(@resource)
36
+
37
+ PivotalTracker::Client.connection.should == @resource
38
+ end
39
+
40
+ end
41
+
42
+ end
43
+
44
+ context "with an existing token" do
45
+
46
+ before do
47
+ PivotalTracker::Client.token = "abc123"
48
+ end
49
+
50
+ it "returned a RestClient::Resource using the token" do
51
+ @resource = Object.new
52
+
53
+ RestClient::Resource.should_receive(:new).
54
+ with("http://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => "abc123", 'Content-Type' => 'application/xml'}).
55
+ and_return(@resource)
56
+
57
+ PivotalTracker::Client.connection.should == @resource
58
+ end
59
+
60
+ describe "after setting a new token" do
61
+
62
+ before do
63
+ PivotalTracker::Client.token = "anewtoken"
64
+ end
65
+
66
+ it "called to RestClient::Resource using the new token" do
67
+ RestClient::Resource.should_receive(:new).with("http://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => "anewtoken", 'Content-Type' => 'application/xml'})
68
+
69
+ PivotalTracker::Client.connection
70
+ end
71
+
72
+ it "returned the connection for the new token" do
73
+ @resource = Object.new
74
+
75
+ RestClient::Resource.should_receive(:new).
76
+ with("http://www.pivotaltracker.com/services/v3", :headers => {'X-TrackerToken' => "anewtoken", 'Content-Type' => 'application/xml'}).
77
+ and_return(@resource)
78
+
79
+ PivotalTracker::Client.connection.should == @resource
80
+ end
81
+
82
+ end
83
+
84
+ end
85
+ end
86
+
87
+ end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-tracker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 3
9
- - 1
10
- version: 0.3.1
4
+ prerelease:
5
+ version: 0.4.0
11
6
  platform: ruby
12
7
  authors:
13
8
  - Justin Smestad
@@ -17,132 +12,140 @@ autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
14
 
20
- date: 2010-12-15 00:00:00 -07:00
21
- default_executable:
15
+ date: 2011-07-10 00:00:00 Z
22
16
  dependencies:
23
17
  - !ruby/object:Gem::Dependency
24
18
  name: rest-client
25
- prerelease: false
26
19
  requirement: &id001 !ruby/object:Gem::Requirement
27
20
  none: false
28
21
  requirements:
29
22
  - - ~>
30
23
  - !ruby/object:Gem::Version
31
- hash: 15
32
- segments:
33
- - 1
34
- - 6
35
- - 0
36
24
  version: 1.6.0
37
25
  type: :runtime
26
+ prerelease: false
38
27
  version_requirements: *id001
39
28
  - !ruby/object:Gem::Dependency
40
29
  name: happymapper
41
- prerelease: false
42
30
  requirement: &id002 !ruby/object:Gem::Requirement
43
31
  none: false
44
32
  requirements:
45
33
  - - ">="
46
34
  - !ruby/object:Gem::Version
47
- hash: 23
48
- segments:
49
- - 0
50
- - 3
51
- - 2
52
35
  version: 0.3.2
53
36
  type: :runtime
37
+ prerelease: false
54
38
  version_requirements: *id002
55
39
  - !ruby/object:Gem::Dependency
56
40
  name: builder
57
- prerelease: false
58
41
  requirement: &id003 !ruby/object:Gem::Requirement
59
42
  none: false
60
43
  requirements:
61
44
  - - ">="
62
45
  - !ruby/object:Gem::Version
63
- hash: 3
64
- segments:
65
- - 0
66
46
  version: "0"
67
47
  type: :runtime
48
+ prerelease: false
68
49
  version_requirements: *id003
69
50
  - !ruby/object:Gem::Dependency
70
51
  name: nokogiri
71
- prerelease: false
72
52
  requirement: &id004 !ruby/object:Gem::Requirement
73
53
  none: false
74
54
  requirements:
75
55
  - - ~>
76
56
  - !ruby/object:Gem::Version
77
- hash: 113
78
- segments:
79
- - 1
80
- - 4
81
- - 3
82
- - 1
83
- version: 1.4.3.1
57
+ version: "1.4"
84
58
  type: :runtime
59
+ prerelease: false
85
60
  version_requirements: *id004
86
61
  - !ruby/object:Gem::Dependency
87
- name: rspec
88
- prerelease: false
62
+ name: rest-client
89
63
  requirement: &id005 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.6.0
69
+ type: :runtime
70
+ prerelease: false
71
+ version_requirements: *id005
72
+ - !ruby/object:Gem::Dependency
73
+ name: happymapper
74
+ requirement: &id006 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 0.3.2
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: *id006
83
+ - !ruby/object:Gem::Dependency
84
+ name: builder
85
+ requirement: &id007 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: "0"
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: *id007
94
+ - !ruby/object:Gem::Dependency
95
+ name: nokogiri
96
+ requirement: &id008 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 1.4.3.1
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: *id008
105
+ - !ruby/object:Gem::Dependency
106
+ name: rspec
107
+ requirement: &id009 !ruby/object:Gem::Requirement
90
108
  none: false
91
109
  requirements:
92
110
  - - ">="
93
111
  - !ruby/object:Gem::Version
94
- hash: 3
95
- segments:
96
- - 0
97
112
  version: "0"
98
113
  type: :development
99
- version_requirements: *id005
114
+ prerelease: false
115
+ version_requirements: *id009
100
116
  - !ruby/object:Gem::Dependency
101
117
  name: bundler
102
- prerelease: false
103
- requirement: &id006 !ruby/object:Gem::Requirement
118
+ requirement: &id010 !ruby/object:Gem::Requirement
104
119
  none: false
105
120
  requirements:
106
121
  - - ">="
107
122
  - !ruby/object:Gem::Version
108
- hash: 15
109
- segments:
110
- - 0
111
- - 9
112
- - 26
113
123
  version: 0.9.26
114
124
  type: :development
115
- version_requirements: *id006
125
+ prerelease: false
126
+ version_requirements: *id010
116
127
  - !ruby/object:Gem::Dependency
117
128
  name: jeweler
118
- prerelease: false
119
- requirement: &id007 !ruby/object:Gem::Requirement
129
+ requirement: &id011 !ruby/object:Gem::Requirement
120
130
  none: false
121
131
  requirements:
122
132
  - - ">="
123
133
  - !ruby/object:Gem::Version
124
- hash: 3
125
- segments:
126
- - 0
127
134
  version: "0"
128
135
  type: :development
129
- version_requirements: *id007
136
+ prerelease: false
137
+ version_requirements: *id011
130
138
  - !ruby/object:Gem::Dependency
131
139
  name: stale_fish
132
- prerelease: false
133
- requirement: &id008 !ruby/object:Gem::Requirement
140
+ requirement: &id012 !ruby/object:Gem::Requirement
134
141
  none: false
135
142
  requirements:
136
143
  - - ~>
137
144
  - !ruby/object:Gem::Version
138
- hash: 27
139
- segments:
140
- - 1
141
- - 3
142
- - 0
143
145
  version: 1.3.0
144
146
  type: :development
145
- version_requirements: *id008
147
+ prerelease: false
148
+ version_requirements: *id012
146
149
  description:
147
150
  email: justin.smestad@gmail.com
148
151
  executables: []
@@ -153,7 +156,6 @@ extra_rdoc_files:
153
156
  - LICENSE
154
157
  - README.rdoc
155
158
  files:
156
- - .gitignore
157
159
  - Gemfile
158
160
  - Gemfile.lock
159
161
  - LICENSE
@@ -195,19 +197,19 @@ files:
195
197
  - spec/support/stale_fish_fixtures.rb
196
198
  - spec/unit/pivotal-tracker/activity_spec.rb
197
199
  - spec/unit/pivotal-tracker/attachment_spec.rb
200
+ - spec/unit/pivotal-tracker/client_spec.rb
198
201
  - spec/unit/pivotal-tracker/iteration_spec.rb
199
202
  - spec/unit/pivotal-tracker/membership_spec.rb
200
203
  - spec/unit/pivotal-tracker/note_spec.rb
201
204
  - spec/unit/pivotal-tracker/project_spec.rb
202
205
  - spec/unit/pivotal-tracker/story_spec.rb
203
206
  - spec/unit/pivotal-tracker/task_spec.rb
204
- has_rdoc: true
205
207
  homepage: http://github.com/jsmestad/pivotal-tracker
206
208
  licenses: []
207
209
 
208
210
  post_install_message:
209
- rdoc_options:
210
- - --charset=UTF-8
211
+ rdoc_options: []
212
+
211
213
  require_paths:
212
214
  - lib
213
215
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -215,34 +217,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
217
  requirements:
216
218
  - - ">="
217
219
  - !ruby/object:Gem::Version
218
- hash: 3
219
- segments:
220
- - 0
221
220
  version: "0"
222
221
  required_rubygems_version: !ruby/object:Gem::Requirement
223
222
  none: false
224
223
  requirements:
225
224
  - - ">="
226
225
  - !ruby/object:Gem::Version
227
- hash: 3
228
- segments:
229
- - 0
230
226
  version: "0"
231
227
  requirements: []
232
228
 
233
229
  rubyforge_project:
234
- rubygems_version: 1.3.7
230
+ rubygems_version: 1.7.2
235
231
  signing_key:
236
232
  specification_version: 3
237
233
  summary: Ruby wrapper for the Pivotal Tracker API
238
- test_files:
239
- - spec/spec_helper.rb
240
- - spec/support/stale_fish_fixtures.rb
241
- - spec/unit/pivotal-tracker/activity_spec.rb
242
- - spec/unit/pivotal-tracker/attachment_spec.rb
243
- - spec/unit/pivotal-tracker/iteration_spec.rb
244
- - spec/unit/pivotal-tracker/membership_spec.rb
245
- - spec/unit/pivotal-tracker/note_spec.rb
246
- - spec/unit/pivotal-tracker/project_spec.rb
247
- - spec/unit/pivotal-tracker/story_spec.rb
248
- - spec/unit/pivotal-tracker/task_spec.rb
234
+ test_files: []
235
+
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg
6
- vendor
7
- .bundle
8
- .idea
9
- request_test.rb