pupu 0.0.5.4 → 0.0.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -148,7 +148,7 @@ module Pupu
148
148
  # search on github
149
149
  require "yaml"
150
150
  require "open-uri"
151
- open("http://github.com/api/v1/yaml/search/pupu") do |stream|
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)
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "ostruct"
4
4
  require "media-path"
5
+ require "pupu/parser"
5
6
 
6
7
  class Hash
7
8
  def to_html_attrs
@@ -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
- info "Installing dependency #{dependency}"
82
- self.install(dependency.name.to_s, options) # FIXME: "user/repo"
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Pupu
4
- VERSION = "0.0.5.4"
4
+ VERSION = "0.0.5.5"
5
5
  end
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: 83
4
+ hash: 81
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 5
10
- - 4
11
- version: 0.0.5.4
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-01 00:00:00 +00:00
18
+ date: 2010-11-03 00:00:00 +01:00
19
19
  default_executable: pupu
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency