napcs-pivotalrecord 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +12 -2
  2. data/Rakefile +1 -1
  3. data/lib/pivotal/story.rb +2 -2
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -39,7 +39,15 @@ Getting all features for a project
39
39
 
40
40
  Pivotal::Story.find :all, :project_id => 4860, :filter => {:type => "feature"}
41
41
 
42
- Filters can be <tt>bug</tt>, <tt>release</tt>, <tt>feature</tt>.
42
+ Filter types can be <tt>bug</tt>, <tt>release</tt>, <tt>feature</tt>.
43
+
44
+ You can also filter by label:
45
+
46
+ Pivotal::Story.find :all, :project_id => 4860, :filter => {:label => "private"}
47
+
48
+ You can use them together to find labels by type.
49
+
50
+ Pivotal::Story.find :all, :project_id => 4860, :filter => {:type => "bug", :label => "private"}
43
51
 
44
52
  ===Limits
45
53
 
@@ -62,7 +70,9 @@ There is no write support yet.
62
70
 
63
71
 
64
72
  == Changelog
65
-
73
+ ===0.0.4
74
+ * Updated readme to show how filter by label works
75
+ * Fixed story to contain the current_state (gisikw)
66
76
  ===0.0.3
67
77
  * Refactored finders
68
78
  * Added CollectionProxy to allow story filtering
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ spec = Gem::Specification.new do |s|
22
22
 
23
23
  # Change these as appropriate
24
24
  s.name = "pivotalrecord"
25
- s.version = "0.0.3"
25
+ s.version = "0.0.4"
26
26
  s.summary = "Simple ActiveRecord-style interface for PivotalTracker"
27
27
  s.author = "Brian Hogan"
28
28
  s.email = "brianhogan@naopcs.com"
data/lib/pivotal/story.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Pivotal
2
2
  class Story < Pivotal::Base
3
3
 
4
- set_fields :name, :description, :url, :estimate, :story_type, :accepted_at
4
+ set_fields :name, :description, :url, :estimate, :story_type, :accepted_at, :current_state
5
5
 
6
6
  belongs_to :project
7
7
 
@@ -9,4 +9,4 @@ module Pivotal
9
9
 
10
10
 
11
11
  end
12
- end
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: napcs-pivotalrecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Hogan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-13 00:00:00 -07:00
12
+ date: 2009-08-17 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency