mite-rb 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,6 +1,10 @@
1
1
  = mite-rb Changelog
2
2
 
3
- == In progress
3
+ == Version 0.2.3
4
+
5
+ * Fixed bug when using Project#name_with_customer on project without customer.
6
+
7
+ == Version 0.2.2
4
8
 
5
9
  * Added Project#name_with_customer for best practice/convenience
6
10
 
data/VERSION.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  ---
2
+ :patch: 3
3
+ :build:
2
4
  :major: 0
3
5
  :minor: 2
4
- :patch: 2
data/lib/mite/project.rb CHANGED
@@ -7,7 +7,7 @@ class Mite::Project < Mite::Base
7
7
  end
8
8
 
9
9
  def name_with_customer
10
- customer_name.blank? ? name : "#{name} (#{customer_name})"
10
+ respond_to?(:customer_name) && !customer_name.blank? ? "#{name} (#{customer_name})" : name
11
11
  end
12
12
 
13
13
  def customer
data/mite-rb.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mite-rb}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sebastian Munz"]
12
- s.date = %q{2009-11-06}
12
+ s.date = %q{2009-11-30}
13
13
  s.description = %q{The official ruby library for interacting with the RESTful mite.api.}
14
14
  s.email = %q{sebastian@yo.lk}
15
15
  s.extra_rdoc_files = [
@@ -57,3 +57,4 @@ Gem::Specification.new do |s|
57
57
  s.add_dependency(%q<activeresource>, [">= 2.3.2"])
58
58
  end
59
59
  end
60
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mite-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-06 00:00:00 +01:00
12
+ date: 2009-11-30 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency