pupu 0.0.5.4 → 0.0.5.5
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.
- data/lib/pupu/cli.rb +1 -1
- data/lib/pupu/dsl.rb +1 -0
- data/lib/pupu/github.rb +6 -2
- data/lib/pupu/version.rb +1 -1
- metadata +4 -4
data/lib/pupu/cli.rb
CHANGED
@@ -148,7 +148,7 @@ module Pupu
|
|
148
148
|
# search on github
|
149
149
|
require "yaml"
|
150
150
|
require "open-uri"
|
151
|
-
open("
|
151
|
+
open("https://github.com/api/v1/yaml/search/pupu") do |stream|
|
152
152
|
repositories = YAML::load(stream.read)["repositories"]
|
153
153
|
repositories.each do |repository|
|
154
154
|
repository = OpenStruct.new(repository)
|
data/lib/pupu/dsl.rb
CHANGED
data/lib/pupu/github.rb
CHANGED
@@ -78,8 +78,12 @@ module Pupu
|
|
78
78
|
dsl = DSL.new(pupu)
|
79
79
|
dsl.instance_eval(File.read(pupu.file("config.rb").path))
|
80
80
|
dsl.get_dependencies.each do |dependency|
|
81
|
-
|
82
|
-
|
81
|
+
begin
|
82
|
+
info "Installing dependency #{dependency}"
|
83
|
+
self.install(dependency.name.to_s, options) # FIXME: "user/repo"
|
84
|
+
rescue PluginIsAlreadyInstalled => exception
|
85
|
+
puts "~ #{exception.message}"
|
86
|
+
end
|
83
87
|
end
|
84
88
|
end
|
85
89
|
|
data/lib/pupu/version.rb
CHANGED
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pupu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 81
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 5
|
10
|
-
-
|
11
|
-
version: 0.0.5.
|
10
|
+
- 5
|
11
|
+
version: 0.0.5.5
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain:
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-03 00:00:00 +01:00
|
19
19
|
default_executable: pupu
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|