rallytastic 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -17,5 +17,5 @@ tmtags
17
17
  coverage
18
18
  rdoc
19
19
  pkg
20
-
21
- ## PROJECT::SPECIFIC
20
+ Gemfile.lock
21
+ ## PROJECT::SPECIFIC
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm ruby-1.9.2-head@rallytastic
1
+ rvm ruby-1.9.2-p0@rally_site
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.4
1
+ 1.4.5
data/lib/story.rb CHANGED
@@ -61,6 +61,10 @@ class Story
61
61
  referenced_in :project
62
62
  referenced_in :parent, :class_name => "Story", :inverse_of => :children
63
63
  references_many :children, :class_name => "Story", :inverse_of => :parent
64
+
65
+ def has_children?
66
+ self.children.count > 0
67
+ end
64
68
 
65
69
  def actionable_children
66
70
  children = self.children
data/rallytastic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rallytastic}
8
- s.version = "1.4.4"
8
+ s.version = "1.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Clark"]
12
- s.date = %q{2010-09-17}
12
+ s.date = %q{2010-09-21}
13
13
  s.description = %q{longer description of your gem}
14
14
  s.email = %q{winescout@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
22
22
  ".gitignore",
23
23
  ".rvmrc",
24
24
  "Gemfile",
25
- "Gemfile.lock",
26
25
  "LICENSE",
27
26
  "README.rdoc",
28
27
  "Rakefile",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 4
8
- - 4
9
- version: 1.4.4
8
+ - 5
9
+ version: 1.4.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Clark
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-17 00:00:00 -05:00
17
+ date: 2010-09-21 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -112,7 +112,6 @@ files:
112
112
  - .gitignore
113
113
  - .rvmrc
114
114
  - Gemfile
115
- - Gemfile.lock
116
115
  - LICENSE
117
116
  - README.rdoc
118
117
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,58 +0,0 @@
1
- GIT
2
- remote: git://github.com/winescout/fabrication.git
3
- revision: 51d9cdf1c9b12847e4b64ef916ec0b411eb09d8e
4
- specs:
5
- fabrication (0.6.0)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- activemodel (3.0.0)
11
- activesupport (= 3.0.0)
12
- builder (~> 2.1.2)
13
- i18n (~> 0.4.1)
14
- activesupport (3.0.0)
15
- autotest (4.3.2)
16
- bson (1.0.4)
17
- bson_ext (1.0.7)
18
- builder (2.1.2)
19
- gemcutter (0.6.1)
20
- git (1.2.5)
21
- i18n (0.4.1)
22
- jeweler (1.4.0)
23
- gemcutter (>= 0.1.0)
24
- git (>= 1.2.5)
25
- rubyforge (>= 2.0.0)
26
- json_pure (1.4.6)
27
- mime-types (1.16)
28
- mongo (1.0.7)
29
- bson (>= 1.0.4)
30
- mongoid (2.0.0.beta.18)
31
- activemodel (~> 3.0.0)
32
- bson (= 1.0.4)
33
- mongo (= 1.0.7)
34
- tzinfo (~> 0.3.22)
35
- will_paginate (~> 3.0.pre)
36
- rake (0.8.7)
37
- rest-client (1.6.1)
38
- mime-types (>= 1.16)
39
- rspec (1.3.0)
40
- rubyforge (2.0.4)
41
- json_pure (>= 1.1.7)
42
- thor (0.14.1)
43
- tzinfo (0.3.23)
44
- will_paginate (3.0.pre2)
45
-
46
- PLATFORMS
47
- ruby
48
-
49
- DEPENDENCIES
50
- autotest
51
- bson_ext
52
- fabrication!
53
- jeweler
54
- mongoid (= 2.0.0.beta.18)
55
- rake
56
- rest-client
57
- rspec
58
- thor