artisan 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.4
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{artisan}
8
- s.version = "0.5.3"
7
+ s.name = "artisan"
8
+ s.version = "0.5.4"
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 = %q{2012-11-29}
13
- s.description = %q{Make calls to the Artisan API.}
14
- s.email = %q{patrick@8thlight.com}
12
+ s.date = "2013-09-30"
13
+ s.description = "Make calls to the Artisan API."
14
+ s.email = "patrick@8thlight.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -45,14 +45,13 @@ Gem::Specification.new do |s|
45
45
  "spec/artisan/validation_spec.rb",
46
46
  "spec/spec_helper.rb"
47
47
  ]
48
- s.homepage = %q{http://github.com/8thlight/artisan_gem}
48
+ s.homepage = "http://github.com/8thlight/artisan_gem"
49
49
  s.licenses = ["MIT"]
50
50
  s.require_paths = ["lib"]
51
- s.rubygems_version = %q{1.3.7}
52
- s.summary = %q{Artisan API wrapper}
51
+ s.rubygems_version = "1.8.23"
52
+ s.summary = "Artisan API wrapper"
53
53
 
54
54
  if s.respond_to? :specification_version then
55
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
56
55
  s.specification_version = 3
57
56
 
58
57
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -3,9 +3,16 @@ require 'artisan/base'
3
3
  module Artisan
4
4
  class Story < Base
5
5
 
6
+ attr_accessor :tags
7
+
6
8
  hash_attr_accessor :name, :number, :optimistic, :realistic, :pessimistic,
7
9
  :weighted_mean, :assigned_user_id, :assigned_user_name, :complete,
8
- :assigned_user_email, :estimate, :acceptance_criteria, :nonbillable
10
+ :assigned_user_email, :estimate, :acceptance_criteria, :nonbillable, :tag_list
11
+
12
+ def initialize(attributes = {})
13
+ super
14
+ @tags = tag_list.split(" ")
15
+ end
9
16
 
10
17
  end
11
18
  end
@@ -9,7 +9,8 @@ describe Artisan::Story do
9
9
  'weighted_mean' => nil,
10
10
  'acceptance_criteria' => 'Complete this story',
11
11
  'nonbillable' => false,
12
- 'complete' => true
12
+ 'complete' => true,
13
+ 'tag_list' => 'tag1 tag2'
13
14
  }
14
15
 
15
16
  story = Artisan::Story.new(hash)
@@ -18,6 +19,8 @@ describe Artisan::Story do
18
19
  story.weighted_mean.should be_nil
19
20
  story.acceptance_criteria.should == "Complete this story"
20
21
  story.nonbillable.should be_false
22
+ story.tag_list.should == "tag1 tag2"
23
+ story.tags.should == ["tag1", "tag2"]
21
24
  end
22
25
 
23
26
  end
metadata CHANGED
@@ -1,107 +1,112 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artisan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
5
- segments:
6
- - 0
7
- - 5
8
- - 3
9
- prerelease: false
4
+ version: 0.5.4
5
+ prerelease:
10
6
  platform: ruby
11
7
  authors:
12
8
  - patrickgombert
13
- autorequire: !!null
9
+ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
- date: 2012-11-29 00:00:00.000000000 -06:00
17
- default_executable: !!null
12
+ date: 2013-09-30 00:00:00.000000000 Z
18
13
  dependencies:
19
14
  - !ruby/object:Gem::Dependency
20
15
  name: httparty
21
- requirement: &70285296777480 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
22
17
  none: false
23
18
  requirements:
24
19
  - - ~>
25
20
  - !ruby/object:Gem::Version
26
21
  version: 0.8.3
27
- segments:
28
- - 0
29
- - 8
30
- - 3
31
22
  type: :runtime
32
23
  prerelease: false
33
- version_requirements: *70285296777480
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.3
34
30
  - !ruby/object:Gem::Dependency
35
31
  name: shoulda
36
- requirement: &70285296776600 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
37
33
  none: false
38
34
  requirements:
39
35
  - - ! '>='
40
36
  - !ruby/object:Gem::Version
41
37
  version: '0'
42
- segments:
43
- - 0
44
38
  type: :development
45
39
  prerelease: false
46
- version_requirements: *70285296776600
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: jeweler
49
- requirement: &70285296775680 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
50
49
  none: false
51
50
  requirements:
52
51
  - - ~>
53
52
  - !ruby/object:Gem::Version
54
53
  version: 1.6.4
55
- segments:
56
- - 1
57
- - 6
58
- - 4
59
54
  type: :development
60
55
  prerelease: false
61
- version_requirements: *70285296775680
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.6.4
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rcov
64
- requirement: &70285296774560 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
67
  - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
- segments:
71
- - 0
72
70
  type: :development
73
71
  prerelease: false
74
- version_requirements: *70285296774560
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
75
78
  - !ruby/object:Gem::Dependency
76
79
  name: rspec
77
- requirement: &70285296773760 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
78
81
  none: false
79
82
  requirements:
80
83
  - - ~>
81
84
  - !ruby/object:Gem::Version
82
85
  version: 2.6.0
83
- segments:
84
- - 2
85
- - 6
86
- - 0
87
86
  type: :development
88
87
  prerelease: false
89
- version_requirements: *70285296773760
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.6.0
90
94
  - !ruby/object:Gem::Dependency
91
95
  name: cucumber
92
- requirement: &70285296772720 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
93
97
  none: false
94
98
  requirements:
95
99
  - - ~>
96
100
  - !ruby/object:Gem::Version
97
101
  version: 1.0.2
98
- segments:
99
- - 1
100
- - 0
101
- - 2
102
102
  type: :development
103
103
  prerelease: false
104
- version_requirements: *70285296772720
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.0.2
105
110
  description: Make calls to the Artisan API.
106
111
  email: patrick@8thlight.com
107
112
  executables: []
@@ -137,11 +142,10 @@ files:
137
142
  - spec/artisan/story_spec.rb
138
143
  - spec/artisan/validation_spec.rb
139
144
  - spec/spec_helper.rb
140
- has_rdoc: true
141
145
  homepage: http://github.com/8thlight/artisan_gem
142
146
  licenses:
143
147
  - MIT
144
- post_install_message: !!null
148
+ post_install_message:
145
149
  rdoc_options: []
146
150
  require_paths:
147
151
  - lib
@@ -151,21 +155,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
155
  - - ! '>='
152
156
  - !ruby/object:Gem::Version
153
157
  version: '0'
154
- segments:
155
- - 0
156
- hash: 4226835987318000970
157
158
  required_rubygems_version: !ruby/object:Gem::Requirement
158
159
  none: false
159
160
  requirements:
160
161
  - - ! '>='
161
162
  - !ruby/object:Gem::Version
162
163
  version: '0'
163
- segments:
164
- - 0
165
164
  requirements: []
166
- rubyforge_project: !!null
167
- rubygems_version: 1.3.7
168
- signing_key: !!null
165
+ rubyforge_project:
166
+ rubygems_version: 1.8.23
167
+ signing_key:
169
168
  specification_version: 3
170
169
  summary: Artisan API wrapper
171
170
  test_files: []