Fingertips-jewelry_portfolio 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 2
4
- :patch: 2
4
+ :patch: 3
@@ -21,7 +21,7 @@ class JewelryPortfolio
21
21
  end
22
22
 
23
23
  def repo_name
24
- @repo_name ||= "#{@account}.github.com.git"
24
+ @repo_name ||= "#{@account.downcase}.github.com.git"
25
25
  end
26
26
 
27
27
  def pages_repo
@@ -13,6 +13,10 @@ describe "JewelryPortfolio::ReposIndex, in general" do
13
13
  @index.repo_name.should == 'alloy.github.com.git'
14
14
  end
15
15
 
16
+ it "should downcase all characters in the repo name" do
17
+ JewelryPortfolio::ReposIndex.new('Fingertips').repo_name.should == 'fingertips.github.com.git'
18
+ end
19
+
16
20
  it "should return the url to the pages repo" do
17
21
  @index.url.should == "git@github.com:alloy/alloy.github.com.git"
18
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Fingertips-jewelry_portfolio
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
  - Eloy Duran