nib 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/nib +7 -0
- data/config/commands.json +8 -0
- data/lib/nib.rb +1 -0
- data/lib/nib/check_for_update.rb +2 -2
- data/lib/nib/code_climate.rb +1 -1
- data/lib/nib/command.rb +1 -1
- data/lib/nib/console.rb +1 -1
- data/lib/nib/debug.rb +1 -1
- data/lib/nib/exec.rb +1 -1
- data/lib/nib/history.rb +2 -2
- data/lib/nib/setup.rb +1 -1
- data/lib/nib/shell.rb +1 -1
- data/lib/nib/unrecognized_help.rb +1 -1
- data/lib/nib/update.rb +5 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1651bb01b23fef2f4e1415fa29fdf8285a95b5a1
|
4
|
+
data.tar.gz: 0c90102a53cb0e68f884e8513b71f221eb5dd6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b84daa061d383e755522257a97bf784d6a4179b8aeafb9f98f67e8cf909815d0c582a85cd1418f686ef25707810c9b4a7d397b373bd9349b9a466ac6b88e051
|
7
|
+
data.tar.gz: 68b68e21a45334ce4405fe3f20baa2cb20ea7398327e1a3bf3f12174d6e40af1dca169fe86bd3038a8df0b3d7e42fa477a47315587176ca5f0d18d01b489161f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1
|
data/bin/nib
CHANGED
data/config/commands.json
CHANGED
@@ -101,5 +101,13 @@
|
|
101
101
|
"long_description": "",
|
102
102
|
"options": [],
|
103
103
|
"service_options": ""
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"name": "update",
|
107
|
+
"type": "custom",
|
108
|
+
"short_description": "Download the latest version of nib",
|
109
|
+
"long_description": "",
|
110
|
+
"options": [],
|
111
|
+
"service_options": ""
|
104
112
|
}
|
105
113
|
]
|
data/lib/nib.rb
CHANGED
data/lib/nib/check_for_update.rb
CHANGED
@@ -4,10 +4,10 @@ class Nib::CheckForUpdate
|
|
4
4
|
def self.execute(_, _)
|
5
5
|
return if installed == latest
|
6
6
|
|
7
|
-
puts
|
7
|
+
puts <<-MESSAGE
|
8
8
|
|
9
9
|
An update is available for nib: #{latest}
|
10
|
-
Use '
|
10
|
+
Use 'nib update' to install the latest version
|
11
11
|
MESSAGE
|
12
12
|
end
|
13
13
|
|
data/lib/nib/code_climate.rb
CHANGED
data/lib/nib/command.rb
CHANGED
data/lib/nib/console.rb
CHANGED
data/lib/nib/debug.rb
CHANGED
data/lib/nib/exec.rb
CHANGED
data/lib/nib/history.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Nib::History
|
2
|
-
IRBRC =
|
2
|
+
IRBRC = <<-'IRB'.freeze
|
3
3
|
require \"rubygems\"
|
4
4
|
require \"irb/completion\"
|
5
5
|
require \"irb/ext/save-history\"
|
@@ -20,7 +20,7 @@ module Nib::History
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def command
|
23
|
-
|
23
|
+
<<-COMMAND
|
24
24
|
/bin/sh -c \"
|
25
25
|
export HISTFILE=./tmp/shell_history
|
26
26
|
echo '#{IRBRC}' > /root/.irbrc
|
data/lib/nib/setup.rb
CHANGED
data/lib/nib/shell.rb
CHANGED
data/lib/nib/update.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Allen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-02-
|
12
|
+
date: 2017-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gli
|
@@ -137,9 +137,8 @@ dependencies:
|
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: 1.0.5
|
140
|
-
description:
|
141
|
-
|
142
|
-
'
|
140
|
+
description: |2
|
141
|
+
nib is a docker-compose wrapper geared towards Ruby/Rails development.
|
143
142
|
email:
|
144
143
|
- noreply@technekes.com
|
145
144
|
executables:
|
@@ -168,6 +167,7 @@ files:
|
|
168
167
|
- lib/nib/setup.rb
|
169
168
|
- lib/nib/shell.rb
|
170
169
|
- lib/nib/unrecognized_help.rb
|
170
|
+
- lib/nib/update.rb
|
171
171
|
- lib/nib/version.rb
|
172
172
|
homepage: https://github.com/technekes/nib
|
173
173
|
licenses: []
|
@@ -181,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
181
|
requirements:
|
182
182
|
- - ">="
|
183
183
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
184
|
+
version: 2.2.0
|
185
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
187
|
- - ">="
|