vagrant-http-basic-authentication 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,5 +1,8 @@
1
1
  require 'io/console'
2
2
 
3
+ $stdout.sync = true
4
+ $stdin.sync = true
5
+
3
6
  module VagrantPlugins
4
7
  module HttpBasicAuthentication
5
8
  class HttpBasicAuthentication < Vagrant.plugin("2")
@@ -15,6 +18,7 @@ class String
15
18
  $stdout.puts "#{self} needs authentication"
16
19
  $stdout.print "login: "
17
20
  user = $stdin.gets.chomp
21
+ $stdout.print "password: "
18
22
  password = $stdin.noecho(&:gets).chomp
19
23
  "#{u[0]}://#{user}:#{password}@#{u[1]}"
20
24
  end
@@ -0,0 +1,63 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "vagrant-http-basic-authentication"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["\u{cd}gor Bonadio"]
12
+ s.date = "2013-05-11"
13
+ s.description = "This Vagrant plugin allows user to define box urls that use HTTP Basic Authentication"
14
+ s.email = "igorbonadio@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/vagrant-http-basic-authentication.rb",
29
+ "spec/spec_helper.rb",
30
+ "spec/vagrant-http-basic-authentication_spec.rb",
31
+ "vagrant-http-basic-authentication.gemspec"
32
+ ]
33
+ s.homepage = "http://github.com/igorbonadio/vagrant-http-basic-authentication"
34
+ s.licenses = ["MIT"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = "1.8.25"
37
+ s.summary = "This Vagrant plugin allows user to define box urls that use HTTP Basic Authentication"
38
+
39
+ if s.respond_to? :specification_version then
40
+ s.specification_version = 3
41
+
42
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_development_dependency(%q<rspec>, [">= 0"])
44
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
45
+ s.add_development_dependency(%q<bundler>, [">= 0"])
46
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
47
+ s.add_development_dependency(%q<vagrant>, [">= 0"])
48
+ else
49
+ s.add_dependency(%q<rspec>, [">= 0"])
50
+ s.add_dependency(%q<rdoc>, [">= 0"])
51
+ s.add_dependency(%q<bundler>, [">= 0"])
52
+ s.add_dependency(%q<jeweler>, [">= 0"])
53
+ s.add_dependency(%q<vagrant>, [">= 0"])
54
+ end
55
+ else
56
+ s.add_dependency(%q<rspec>, [">= 0"])
57
+ s.add_dependency(%q<rdoc>, [">= 0"])
58
+ s.add_dependency(%q<bundler>, [">= 0"])
59
+ s.add_dependency(%q<jeweler>, [">= 0"])
60
+ s.add_dependency(%q<vagrant>, [">= 0"])
61
+ end
62
+ end
63
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-http-basic-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-10 00:00:00.000000000 Z
12
+ date: 2013-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -111,6 +111,7 @@ files:
111
111
  - lib/vagrant-http-basic-authentication.rb
112
112
  - spec/spec_helper.rb
113
113
  - spec/vagrant-http-basic-authentication_spec.rb
114
+ - vagrant-http-basic-authentication.gemspec
114
115
  homepage: http://github.com/igorbonadio/vagrant-http-basic-authentication
115
116
  licenses:
116
117
  - MIT
@@ -126,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
127
  version: '0'
127
128
  segments:
128
129
  - 0
129
- hash: -2795243395500111539
130
+ hash: -4001356623198862808
130
131
  required_rubygems_version: !ruby/object:Gem::Requirement
131
132
  none: false
132
133
  requirements: