gitian 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,5 +3,5 @@ require 'rubygems/local_remote_options'
3
3
  class Gem::AbstractGitianCommand < Gem::Command
4
4
  include Gem::LocalRemoteOptions
5
5
 
6
- URL = "http://gitian.org/rubygems/"
6
+ URL = "https://gitian.org/rubygems/"
7
7
  end
@@ -13,12 +13,12 @@ describe Gem::Commands::GitianCommand do
13
13
  it "should set sources if url supplied" do
14
14
  @command.should_receive(:get_one_optional_argument).and_return(@new_url)
15
15
  Gem.configuration.should_receive(:[]).with("gitian_source").and_return(nil)
16
- Gem.configuration.should_receive(:[]=).with("gitian_source", @new_url + "latest")
16
+ Gem.configuration.should_receive(:[]=).with("gitian_source", @new_url + "latest/")
17
17
  Gem.configuration.should_receive(:[]).with("gem").and_return("--no-ri")
18
18
  Gem.configuration.should_receive(:[]=).with("gem", "--no-ri --trust-policy HighSecurity")
19
19
  Gem.configuration.should_receive(:write)
20
20
  Gem.should_receive(:sources).and_return([@url])
21
- Gem.should_receive(:sources=).with([@new_url + "latest", @url])
21
+ Gem.should_receive(:sources=).with([@new_url + "latest/", @url])
22
22
  @command.execute
23
23
  end
24
24
 
@@ -26,9 +26,9 @@ describe Gem::Commands::GitianCommand do
26
26
  @command.should_receive(:get_one_optional_argument).and_return(nil)
27
27
  Gem.configuration.should_receive(:write)
28
28
  Gem.configuration.should_receive(:[]).with("gitian_source").and_return(nil)
29
- Gem.configuration.should_receive(:[]=).with("gitian_source", @gitian_url + "latest")
29
+ Gem.configuration.should_receive(:[]=).with("gitian_source", @gitian_url + "latest/")
30
30
  Gem.should_receive(:sources).and_return([@url])
31
- Gem.should_receive(:sources=).with([@gitian_url + "latest", @url])
31
+ Gem.should_receive(:sources=).with([@gitian_url + "latest/", @url])
32
32
  end
33
33
 
34
34
  it "should set sources if url not supplied" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miron Cuperman
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-08 00:00:00 -08:00
12
+ date: 2009-12-26 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ files:
35
35
  - lib/commands/gitian.rb
36
36
  - lib/rubygems_plugin.rb
37
37
  has_rdoc: true
38
- homepage: http://gitian.org/
38
+ homepage: https://gitian.org/
39
39
  licenses: []
40
40
 
41
41
  post_install_message: |+