wip 0.1.0 → 0.1.1
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/wip/cli.rb +7 -0
- data/lib/wip/version.rb +1 -1
- data/wip.gemspec +1 -25
- metadata +7 -7
data/lib/wip/cli.rb
CHANGED
@@ -2,6 +2,13 @@ $:.unshift File.expand_path('../vendor', __FILE__)
|
|
2
2
|
require 'thor'
|
3
3
|
require 'thor/actions'
|
4
4
|
|
5
|
+
# begin
|
6
|
+
# require 'wip-bootstrap'
|
7
|
+
# WIP::Bootstrap.run
|
8
|
+
# rescue
|
9
|
+
# raise 'Failed to bootstrap `wip`.'
|
10
|
+
# end
|
11
|
+
|
5
12
|
# Work around a RubyGems bug
|
6
13
|
Gem.configuration
|
7
14
|
|
data/lib/wip/version.rb
CHANGED
data/wip.gemspec
CHANGED
@@ -3,31 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
require "wip/version"
|
5
5
|
|
6
|
-
BOOTSTRAP_VERSION = "1.
|
7
|
-
|
8
|
-
begin
|
9
|
-
require "rubygems"
|
10
|
-
gem "wip-bootstrap", "= #{BOOTSTRAP_VERSION}"
|
11
|
-
require "wip-bootstrap"
|
12
|
-
rescue LoadError => e
|
13
|
-
puts %{
|
14
|
-
WARNING:
|
15
|
-
#{e.message}wip-bootstrap must be pre-installed. I'll try to grab that now.
|
16
|
-
|
17
|
-
}
|
18
|
-
local = File.join(File.dirname(__FILE__), '..', 'wip-bootstrap')
|
19
|
-
|
20
|
-
if File.exist?(local)
|
21
|
-
`cd #{local} && rake install`
|
22
|
-
else
|
23
|
-
`gem install wip-bootstrap`
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
Gem.clear_paths
|
28
|
-
gem "wip-bootstrap", "= #{BOOTSTRAP_VERSION}"
|
29
|
-
require "wip-bootstrap"
|
30
|
-
WIP::Bootstrap.run
|
6
|
+
BOOTSTRAP_VERSION = "1.1"
|
31
7
|
|
32
8
|
Gem::Specification.new do |s|
|
33
9
|
s.name ="wip"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Corey Innis
|
@@ -26,11 +26,11 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - "="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 13
|
30
30
|
segments:
|
31
31
|
- 1
|
32
|
-
-
|
33
|
-
version: "1.
|
32
|
+
- 1
|
33
|
+
version: "1.1"
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -106,7 +106,7 @@ licenses: []
|
|
106
106
|
|
107
107
|
post_install_message: |
|
108
108
|
|
109
|
-
Thank you for installing wip v0.1.
|
109
|
+
Thank you for installing wip v0.1.1
|
110
110
|
------------------------------------------------------------------------------
|
111
111
|
|
112
112
|
What happened:
|