bozo-scripts 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/lib/bozo/tools/nuget.rb +26 -0
- data/lib/bozo_scripts.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjA3NmRhYmIwYmI5ZWI0MjZlMTUwNGE4ZWFjM2QzYzVmMzkxZWNiZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDA5ODczMWQ3M2Y2ZDcwMjQ2ZWU1MGU1YzgyNjIzZDZhNTRiMjRhYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NThiY2FmMzZmOTI1OTU4ZmQwMGFlNGQxNzdjM2E3NGY5ZDI0MjkyZjFlZDU3
|
10
|
+
ZDlkZjMyODljOTUxYmFjM2RiY2RhMmFkOTljNzk5OGQ2MDg5OTg4MmIyMGJh
|
11
|
+
Zjc1M2IyMDVkOGUxMWMxNGJjZTlkOWNiN2Q2MTQ2MmI3NTIxYmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDZlMzNkOTg3ZGVlMGZjYmQzNGVjY2Q3MmY4ZGI5MzdkYWUzYzE3N2NhMzdh
|
14
|
+
OTg1MWJjNjEwMmVjZWEyYmY2Zjk3YTI1MGFiNjg1ZWEwYzRkOTM0OWFkNzE0
|
15
|
+
YWFiNGQxNjgxYWI3NGRkYjE3ZGExZGY3NmNhNmM1NTg3MGI4OTk=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'open-uri'
|
2
|
+
|
3
|
+
module Bozo::Tools
|
4
|
+
class Nuget
|
5
|
+
|
6
|
+
# Creates a new instance.
|
7
|
+
def initialize
|
8
|
+
@url = 'http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=nuget&DownloadId=697144&FileTime=130190897355830000&Build=20959'
|
9
|
+
end
|
10
|
+
|
11
|
+
# Sets the source url for the nuget tool to be retreived from
|
12
|
+
#
|
13
|
+
# @param [String] url
|
14
|
+
# A web server hosting the nuget tool
|
15
|
+
def source(url)
|
16
|
+
@url = url
|
17
|
+
end
|
18
|
+
|
19
|
+
# Retreives the nuget tool exe from the path
|
20
|
+
def retrieve(destination_path)
|
21
|
+
open(File.join(destination_path, 'nuget.exe'), 'wb') do |file|
|
22
|
+
file << open(@url).read
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/bozo_scripts.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bozo-scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garry Shutler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- lib/bozo/test_runners/dotcover.rb
|
116
116
|
- lib/bozo/test_runners/nunit.rb
|
117
117
|
- lib/bozo/test_runners/runit.rb
|
118
|
+
- lib/bozo/tools/nuget.rb
|
118
119
|
- lib/bozo/version.rb
|
119
120
|
- lib/bozo_scripts.rb
|
120
121
|
homepage: https://github.com/zopaUK/bozo-scripts
|
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
137
|
version: '0'
|
137
138
|
requirements: []
|
138
139
|
rubyforge_project: bozo-scripts
|
139
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.2.2
|
140
141
|
signing_key:
|
141
142
|
specification_version: 4
|
142
143
|
summary: Zopa build system scripts
|