rbcli 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/docs/advanced/user_config_files/index.html +1 -1
- data/docs/imported/changelog/index.html +144 -18
- data/docs/search/search_index.json +1 -1
- data/docs/sitemap.xml +21 -21
- data/docs/sitemap.xml.gz +0 -0
- data/docs-src/docs/advanced/user_config_files.md +1 -1
- data/docs-src/docs/imported/changelog.md +24 -0
- data/lib/rbcli/features/autoupdate/common/autoupdate.rb +2 -0
- data/lib/rbcli/version.rb +1 -1
- data/skeletons/micro/executable +1 -1
- data/skeletons/mini/executable +2 -2
- data/skeletons/project/config/userspace.rb +1 -1
- data/skeletons/project/exe/executable +2 -1
- metadata +2 -2
data/docs/sitemap.xml
CHANGED
@@ -2,107 +2,107 @@
|
|
2
2
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
3
3
|
<url>
|
4
4
|
<loc>None</loc>
|
5
|
-
<lastmod>2018-
|
5
|
+
<lastmod>2018-10-17</lastmod>
|
6
6
|
<changefreq>daily</changefreq>
|
7
7
|
</url>
|
8
8
|
<url>
|
9
9
|
<loc>None</loc>
|
10
|
-
<lastmod>2018-
|
10
|
+
<lastmod>2018-10-17</lastmod>
|
11
11
|
<changefreq>daily</changefreq>
|
12
12
|
</url>
|
13
13
|
<url>
|
14
14
|
<loc>None</loc>
|
15
|
-
<lastmod>2018-
|
15
|
+
<lastmod>2018-10-17</lastmod>
|
16
16
|
<changefreq>daily</changefreq>
|
17
17
|
</url>
|
18
18
|
<url>
|
19
19
|
<loc>None</loc>
|
20
|
-
<lastmod>2018-
|
20
|
+
<lastmod>2018-10-17</lastmod>
|
21
21
|
<changefreq>daily</changefreq>
|
22
22
|
</url>
|
23
23
|
<url>
|
24
24
|
<loc>None</loc>
|
25
|
-
<lastmod>2018-
|
25
|
+
<lastmod>2018-10-17</lastmod>
|
26
26
|
<changefreq>daily</changefreq>
|
27
27
|
</url>
|
28
28
|
<url>
|
29
29
|
<loc>None</loc>
|
30
|
-
<lastmod>2018-
|
30
|
+
<lastmod>2018-10-17</lastmod>
|
31
31
|
<changefreq>daily</changefreq>
|
32
32
|
</url>
|
33
33
|
<url>
|
34
34
|
<loc>None</loc>
|
35
|
-
<lastmod>2018-
|
35
|
+
<lastmod>2018-10-17</lastmod>
|
36
36
|
<changefreq>daily</changefreq>
|
37
37
|
</url>
|
38
38
|
<url>
|
39
39
|
<loc>None</loc>
|
40
|
-
<lastmod>2018-
|
40
|
+
<lastmod>2018-10-17</lastmod>
|
41
41
|
<changefreq>daily</changefreq>
|
42
42
|
</url>
|
43
43
|
<url>
|
44
44
|
<loc>None</loc>
|
45
|
-
<lastmod>2018-
|
45
|
+
<lastmod>2018-10-17</lastmod>
|
46
46
|
<changefreq>daily</changefreq>
|
47
47
|
</url>
|
48
48
|
<url>
|
49
49
|
<loc>None</loc>
|
50
|
-
<lastmod>2018-
|
50
|
+
<lastmod>2018-10-17</lastmod>
|
51
51
|
<changefreq>daily</changefreq>
|
52
52
|
</url>
|
53
53
|
<url>
|
54
54
|
<loc>None</loc>
|
55
|
-
<lastmod>2018-
|
55
|
+
<lastmod>2018-10-17</lastmod>
|
56
56
|
<changefreq>daily</changefreq>
|
57
57
|
</url>
|
58
58
|
<url>
|
59
59
|
<loc>None</loc>
|
60
|
-
<lastmod>2018-
|
60
|
+
<lastmod>2018-10-17</lastmod>
|
61
61
|
<changefreq>daily</changefreq>
|
62
62
|
</url>
|
63
63
|
<url>
|
64
64
|
<loc>None</loc>
|
65
|
-
<lastmod>2018-
|
65
|
+
<lastmod>2018-10-17</lastmod>
|
66
66
|
<changefreq>daily</changefreq>
|
67
67
|
</url>
|
68
68
|
<url>
|
69
69
|
<loc>None</loc>
|
70
|
-
<lastmod>2018-
|
70
|
+
<lastmod>2018-10-17</lastmod>
|
71
71
|
<changefreq>daily</changefreq>
|
72
72
|
</url>
|
73
73
|
<url>
|
74
74
|
<loc>None</loc>
|
75
|
-
<lastmod>2018-
|
75
|
+
<lastmod>2018-10-17</lastmod>
|
76
76
|
<changefreq>daily</changefreq>
|
77
77
|
</url>
|
78
78
|
<url>
|
79
79
|
<loc>None</loc>
|
80
|
-
<lastmod>2018-
|
80
|
+
<lastmod>2018-10-17</lastmod>
|
81
81
|
<changefreq>daily</changefreq>
|
82
82
|
</url>
|
83
83
|
<url>
|
84
84
|
<loc>None</loc>
|
85
|
-
<lastmod>2018-
|
85
|
+
<lastmod>2018-10-17</lastmod>
|
86
86
|
<changefreq>daily</changefreq>
|
87
87
|
</url>
|
88
88
|
<url>
|
89
89
|
<loc>None</loc>
|
90
|
-
<lastmod>2018-
|
90
|
+
<lastmod>2018-10-17</lastmod>
|
91
91
|
<changefreq>daily</changefreq>
|
92
92
|
</url>
|
93
93
|
<url>
|
94
94
|
<loc>None</loc>
|
95
|
-
<lastmod>2018-
|
95
|
+
<lastmod>2018-10-17</lastmod>
|
96
96
|
<changefreq>daily</changefreq>
|
97
97
|
</url>
|
98
98
|
<url>
|
99
99
|
<loc>None</loc>
|
100
|
-
<lastmod>2018-
|
100
|
+
<lastmod>2018-10-17</lastmod>
|
101
101
|
<changefreq>daily</changefreq>
|
102
102
|
</url>
|
103
103
|
<url>
|
104
104
|
<loc>None</loc>
|
105
|
-
<lastmod>2018-
|
105
|
+
<lastmod>2018-10-17</lastmod>
|
106
106
|
<changefreq>daily</changefreq>
|
107
107
|
</url>
|
108
108
|
</urlset>
|
data/docs/sitemap.xml.gz
CHANGED
Binary file
|
@@ -39,7 +39,7 @@ config_userfile '~/.mytool', merge_defaults: true, required: false
|
|
39
39
|
* `path/to/config/file`
|
40
40
|
* Self explanatory. Recommended locations are a dotfile in the user's home directory, or a file under `/etc` such as `/etc/mytool/userconf.yaml`
|
41
41
|
* `merge_defaults`
|
42
|
-
* If set to `true`,
|
42
|
+
* If set to `true`, default settings override user settings. If set to `false`, default settings are not loaded at all and the user is required to have all values specified in their config.
|
43
43
|
* `required`
|
44
44
|
* If set to `true` the application will not run if the file does not exist. A message will be displayed to the user to run your application with the `--generate-config` option to generate the file given your specified defaults.
|
45
45
|
|
@@ -1,5 +1,29 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.2.6 (UNRELEASED)
|
4
|
+
|
5
|
+
### Bugfixes
|
6
|
+
|
7
|
+
Fixed a bug that caused the rbcli tool not to detect project folders correctly.
|
8
|
+
Command parameter `prompt:` now works when `required` is set to `true`.
|
9
|
+
|
10
|
+
### Changes
|
11
|
+
|
12
|
+
The `rbcli init` command now initializes into the current working directory instead of creating a new one.
|
13
|
+
Fixed erroneous documentation about the 'merge' setting on userspace config.
|
14
|
+
|
15
|
+
## 0.2.5 (Oct 8, 2018)
|
16
|
+
|
17
|
+
### Improvements
|
18
|
+
|
19
|
+
* Added a useful error message when local or remote state is used but not initialized.
|
20
|
+
|
21
|
+
### Bugfixes
|
22
|
+
|
23
|
+
* Fixed a bug in the Github Updater where RBCli crashed when a version tag was not present in the repo.
|
24
|
+
* Fixed a bug where deleting a state key would crash Rbcli
|
25
|
+
* Fixed a bug where remote state crashed with certain configurations
|
26
|
+
|
3
27
|
## 0.2.4 (Sep 4, 2018)
|
4
28
|
|
5
29
|
* This is a dummy release required to update the License in the Gemspec file. The license has not changed (GPLv3).
|
@@ -18,6 +18,8 @@
|
|
18
18
|
# For questions regarding licensing, please contact andrew@blacknex.us #
|
19
19
|
##################################################################################
|
20
20
|
|
21
|
+
#TODO: Detect invalid network connections and skip
|
22
|
+
#TODO: Add a timeout
|
21
23
|
|
22
24
|
require 'rubygems'
|
23
25
|
module Rbcli::Autoupdate
|
data/lib/rbcli/version.rb
CHANGED
data/skeletons/micro/executable
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
## It's job is to load and execute the application.
|
8
8
|
#########################################################
|
9
9
|
|
10
|
-
require 'rbcli'
|
10
|
+
require (ENV['RBCLI_ENV'] == 'development') ? ENV['RBCLI_DEVPATH'] || 'rbcli' : 'rbcli'
|
11
11
|
|
12
12
|
#########################
|
13
13
|
## Configuration Block ##
|
data/skeletons/mini/executable
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
## It's job is to load and execute the application.
|
8
8
|
#########################################################
|
9
9
|
|
10
|
-
require 'rbcli'
|
10
|
+
require (ENV['RBCLI_ENV'] == 'development') ? ENV['RBCLI_DEVPATH'] || 'rbcli' : 'rbcli'
|
11
11
|
|
12
12
|
#########################
|
13
13
|
## Configuration Block ##
|
@@ -68,7 +68,7 @@ Rbcli::Configurate.me do
|
|
68
68
|
#
|
69
69
|
# config_userfile <path>, merge_defaults: <optional: (true|false), default: true>, required: <optional: (true|false, default: false)
|
70
70
|
#
|
71
|
-
# If merge_defaults=true,
|
71
|
+
# If merge_defaults=true, default settings override user settings.
|
72
72
|
# If false, defaults set here are not loaded at all, and the user is required to set them.
|
73
73
|
# If required=true, application will not run if file does not exist.
|
74
74
|
config_userfile '~/.<%= @vars[:cmdname] %>', merge_defaults: true, required: false
|
@@ -11,7 +11,7 @@ Rbcli::Configurate.me do
|
|
11
11
|
#
|
12
12
|
# config_userfile <path>, merge_defaults: <optional: (true|false), default: true>, required: <optional: (true|false, default: false)
|
13
13
|
#
|
14
|
-
# If merge_defaults=true,
|
14
|
+
# If merge_defaults=true, default settings override user settings.
|
15
15
|
# If false, defaults set here are not loaded at all, and the user is required to set them.
|
16
16
|
# If required=true, application will not run if file does not exist.
|
17
17
|
#
|
@@ -9,8 +9,9 @@
|
|
9
9
|
## You should not need to edit this file.
|
10
10
|
#########################################################
|
11
11
|
|
12
|
-
require 'rbcli'
|
12
|
+
require (ENV['RBCLI_ENV'] == 'development') ? ENV['RBCLI_DEVPATH'] || 'rbcli' : 'rbcli'
|
13
13
|
require "#{File.dirname(__FILE__)}/../config/version"
|
14
|
+
$projectdir = "#{File.dirname __FILE__}/.."
|
14
15
|
|
15
16
|
#########################
|
16
17
|
## Configuration Block ##
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbcli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Khoury
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|