artisan 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.5.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "artisan"
8
- s.version = "0.4.4"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["patrickgombert"]
12
- s.date = "2012-06-08"
12
+ s.date = "2012-10-01"
13
13
  s.description = "Make calls to the Artisan API."
14
14
  s.email = "patrick@8thlight.com"
15
15
  s.extra_rdoc_files = [
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
46
46
  s.homepage = "http://github.com/8thlight/artisan_gem"
47
47
  s.licenses = ["MIT"]
48
48
  s.require_paths = ["lib"]
49
- s.rubygems_version = "1.8.23"
49
+ s.rubygems_version = "1.8.24"
50
50
  s.summary = "Artisan API wrapper"
51
51
 
52
52
  if s.respond_to? :specification_version then
@@ -55,7 +55,6 @@ Gem::Specification.new do |s|
55
55
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
56
  s.add_runtime_dependency(%q<httparty>, ["~> 0.8.3"])
57
57
  s.add_development_dependency(%q<shoulda>, [">= 0"])
58
- s.add_development_dependency(%q<bundler>, ["~> 1.1.3"])
59
58
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
60
59
  s.add_development_dependency(%q<rcov>, [">= 0"])
61
60
  s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
@@ -63,7 +62,6 @@ Gem::Specification.new do |s|
63
62
  else
64
63
  s.add_dependency(%q<httparty>, ["~> 0.8.3"])
65
64
  s.add_dependency(%q<shoulda>, [">= 0"])
66
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
67
65
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
68
66
  s.add_dependency(%q<rcov>, [">= 0"])
69
67
  s.add_dependency(%q<rspec>, ["~> 2.6.0"])
@@ -72,7 +70,6 @@ Gem::Specification.new do |s|
72
70
  else
73
71
  s.add_dependency(%q<httparty>, ["~> 0.8.3"])
74
72
  s.add_dependency(%q<shoulda>, [">= 0"])
75
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
76
73
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
77
74
  s.add_dependency(%q<rcov>, [">= 0"])
78
75
  s.add_dependency(%q<rspec>, ["~> 2.6.0"])
@@ -4,7 +4,8 @@ module Artisan
4
4
  class Story < Base
5
5
 
6
6
  hash_attr_accessor :name, :number, :optimistic, :realistic, :pessimistic,
7
- :weighted_mean, :assigned_user_id, :assigned_user_name,
8
- :assigned_user_email, :estimate, :acceptance_criteria
7
+ :weighted_mean, :assigned_user_id, :assigned_user_name, :complete,
8
+ :assigned_user_email, :estimate, :acceptance_criteria, :nonbillable
9
+
9
10
  end
10
11
  end
@@ -7,13 +7,17 @@ describe Artisan::Story do
7
7
  'name' => 'Test',
8
8
  'number' => 1,
9
9
  'weighted_mean' => nil,
10
- 'acceptance_criteria' => 'Complete this story'
10
+ 'acceptance_criteria' => 'Complete this story',
11
+ 'nonbillable' => false,
12
+ 'complete' => true
11
13
  }
14
+
12
15
  story = Artisan::Story.new(hash)
13
16
  story.name.should == "Test"
14
17
  story.optimistic.should be_nil
15
18
  story.weighted_mean.should be_nil
16
19
  story.acceptance_criteria.should == "Complete this story"
20
+ story.nonbillable.should be_false
17
21
  end
18
22
 
19
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artisan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-08 00:00:00.000000000 Z
12
+ date: 2012-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -43,22 +43,6 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: bundler
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 1.1.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 1.1.3
62
46
  - !ruby/object:Gem::Dependency
63
47
  name: jeweler
64
48
  requirement: !ruby/object:Gem::Requirement
@@ -169,6 +153,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
153
  - - ! '>='
170
154
  - !ruby/object:Gem::Version
171
155
  version: '0'
156
+ segments:
157
+ - 0
158
+ hash: -179059486165364349
172
159
  required_rubygems_version: !ruby/object:Gem::Requirement
173
160
  none: false
174
161
  requirements:
@@ -177,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
164
  version: '0'
178
165
  requirements: []
179
166
  rubyforge_project:
180
- rubygems_version: 1.8.23
167
+ rubygems_version: 1.8.24
181
168
  signing_key:
182
169
  specification_version: 3
183
170
  summary: Artisan API wrapper