MuranoCLI 3.2.1.pre.beta.6 → 3.2.1.pre.beta.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +10 -0
- data/MuranoCLI.gemspec +37 -6
- data/Rakefile +38 -11
- data/lib/MrMurano/commands/business.rb +0 -4
- data/lib/MrMurano/version.rb +1 -1
- metadata +2 -251
- data/dockers/Dockerfile.2.2.9 +0 -40
- data/dockers/Dockerfile.2.3.6 +0 -40
- data/dockers/Dockerfile.2.4.3 +0 -40
- data/dockers/Dockerfile.2.5.0 +0 -40
- data/dockers/Dockerfile.GemRelease +0 -49
- data/dockers/Dockerfile.m4 +0 -122
- data/dockers/README.rst +0 -362
- data/dockers/RELEASE.rst +0 -135
- data/dockers/docker-test.sh +0 -163
- data/dockers/gem-release.sh +0 -4
- data/docs/basic_example.rst +0 -436
- data/docs/ci/.trustme.plugin +0 -140
- data/docs/ci/.trustme.sh +0 -516
- data/docs/ci/.trustme.vim +0 -55
- data/docs/completions/murano_completion-bash +0 -4484
- data/docs/demo.md +0 -109
- data/docs/develop.rst +0 -392
- data/docs/release.rst +0 -295
- data/spec/Account-Passwords_spec.rb +0 -245
- data/spec/Account_spec.rb +0 -256
- data/spec/Business_spec.rb +0 -307
- data/spec/ConfigFile_spec.rb +0 -55
- data/spec/ConfigMigrate_spec.rb +0 -108
- data/spec/Config_spec.rb +0 -440
- data/spec/Content_spec.rb +0 -422
- data/spec/GatewayBase_spec.rb +0 -65
- data/spec/GatewayDevice_spec.rb +0 -403
- data/spec/GatewayResource_spec.rb +0 -283
- data/spec/GatewaySettings_spec.rb +0 -130
- data/spec/HttpAuthed_spec.rb +0 -87
- data/spec/Http_spec.rb +0 -220
- data/spec/MakePretties_spec.rb +0 -127
- data/spec/Mock_spec.rb +0 -62
- data/spec/ProjectFile_spec.rb +0 -381
- data/spec/Setting_spec.rb +0 -120
- data/spec/Solution-ServiceConfig_spec.rb +0 -272
- data/spec/Solution-ServiceEventHandler_spec.rb +0 -442
- data/spec/Solution-ServiceModules_spec.rb +0 -562
- data/spec/Solution-UsersRoles_spec.rb +0 -269
- data/spec/Solution_spec.rb +0 -140
- data/spec/SyncRoot_spec.rb +0 -111
- data/spec/SyncUpDown_spec.rb +0 -868
- data/spec/Verbosing_spec.rb +0 -332
- data/spec/Webservice-Cors_spec.rb +0 -225
- data/spec/Webservice-Endpoint_spec.rb +0 -650
- data/spec/Webservice-File_spec.rb +0 -282
- data/spec/Webservice-Setting_spec.rb +0 -105
- data/spec/_workspace.rb +0 -43
- data/spec/cmd_business_spec.rb +0 -64
- data/spec/cmd_common.rb +0 -507
- data/spec/cmd_config_spec.rb +0 -73
- data/spec/cmd_content_spec.rb +0 -109
- data/spec/cmd_cors_spec.rb +0 -54
- data/spec/cmd_device_spec.rb +0 -130
- data/spec/cmd_domain_spec.rb +0 -62
- data/spec/cmd_element_spec.rb +0 -401
- data/spec/cmd_exchange_spec.rb +0 -114
- data/spec/cmd_help_spec.rb +0 -72
- data/spec/cmd_init_spec.rb +0 -475
- data/spec/cmd_keystore_spec.rb +0 -97
- data/spec/cmd_link_spec.rb +0 -105
- data/spec/cmd_logs_spec.rb +0 -162
- data/spec/cmd_password_spec.rb +0 -64
- data/spec/cmd_setting_application_spec.rb +0 -300
- data/spec/cmd_setting_product_spec.rb +0 -246
- data/spec/cmd_status_spec.rb +0 -300
- data/spec/cmd_syncdown_application_spec.rb +0 -128
- data/spec/cmd_syncdown_both_spec.rb +0 -178
- data/spec/cmd_syncdown_unit_spec.rb +0 -861
- data/spec/cmd_syncup_spec.rb +0 -148
- data/spec/cmd_token_spec.rb +0 -53
- data/spec/cmd_usage_spec.rb +0 -79
- data/spec/dry_run_formatter.rb +0 -28
- data/spec/fixtures/.mrmuranorc +0 -9
- data/spec/fixtures/ProjectFiles/invalid.yaml +0 -9
- data/spec/fixtures/ProjectFiles/only_meta.yaml +0 -24
- data/spec/fixtures/ProjectFiles/with_routes.yaml +0 -27
- data/spec/fixtures/SolutionFiles/0.2.0.json +0 -20
- data/spec/fixtures/SolutionFiles/0.2.0_invalid.json +0 -18
- data/spec/fixtures/SolutionFiles/0.2.json +0 -21
- data/spec/fixtures/SolutionFiles/0.3.0.json +0 -20
- data/spec/fixtures/SolutionFiles/0.3.0_invalid.json +0 -19
- data/spec/fixtures/SolutionFiles/0.3.json +0 -20
- data/spec/fixtures/SolutionFiles/basic.json +0 -20
- data/spec/fixtures/SolutionFiles/secret.json +0 -6
- data/spec/fixtures/configfile +0 -9
- data/spec/fixtures/dumped_config +0 -57
- data/spec/fixtures/exchange_element/element-show.json +0 -1
- data/spec/fixtures/exchange_element/swagger-mur-6407__10k.yaml +0 -282
- data/spec/fixtures/exchange_element/swagger-mur-6407__20k.yaml +0 -588
- data/spec/fixtures/gateway_resource_files/resources.notyaml +0 -12
- data/spec/fixtures/gateway_resource_files/resources.yaml +0 -13
- data/spec/fixtures/gateway_resource_files/resources_invalid.yaml +0 -13
- data/spec/fixtures/mrmuranorc_deleted_bob +0 -6
- data/spec/fixtures/mrmuranorc_tool_bob +0 -3
- data/spec/fixtures/product_spec_files/example.exoline.spec.yaml +0 -116
- data/spec/fixtures/product_spec_files/example.murano.spec.yaml +0 -14
- data/spec/fixtures/product_spec_files/gwe.exoline.spec.yaml +0 -21
- data/spec/fixtures/product_spec_files/gwe.murano.spec.yaml +0 -16
- data/spec/fixtures/product_spec_files/lightbulb-no-state.yaml +0 -11
- data/spec/fixtures/product_spec_files/lightbulb.yaml +0 -21
- data/spec/fixtures/roles-three.yaml +0 -11
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value 0.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value 1.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value No.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value Yes.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value bob.webmock +0 -72
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value false.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value off.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value on STDIN.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value on.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a bool value true.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a json array blob with STDIN.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) a json array blob.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) an array.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors) appends an array.webmock +0 -98
- data/spec/fixtures/snapshots/murano application setting reads Webservice.cors to a file.webmock +0 -72
- data/spec/fixtures/snapshots/murano application setting reads Webservice.cors.webmock +0 -72
- data/spec/fixtures/snapshots/murano business list as json.webmock +0 -27
- data/spec/fixtures/snapshots/murano business list as table.webmock +0 -27
- data/spec/fixtures/snapshots/murano business list fewer fields.webmock +0 -27
- data/spec/fixtures/snapshots/murano business list only ids.webmock +0 -27
- data/spec/fixtures/snapshots/murano business list output to file.webmock +0 -27
- data/spec/fixtures/snapshots/murano business without project help.webmock +0 -9
- data/spec/fixtures/snapshots/murano config Needs a key.webmock +0 -9
- data/spec/fixtures/snapshots/murano config Reads a key.webmock +0 -9
- data/spec/fixtures/snapshots/murano config Removes a key.webmock +0 -9
- data/spec/fixtures/snapshots/murano config Sets a key.webmock +0 -9
- data/spec/fixtures/snapshots/murano config Sets a user key.webmock +0 -9
- data/spec/fixtures/snapshots/murano content life cycle.webmock +0 -144
- data/spec/fixtures/snapshots/murano cors sets CORS.webmock +0 -78
- data/spec/fixtures/snapshots/murano cors show CORS.webmock +0 -64
- data/spec/fixtures/snapshots/murano device activates.webmock +0 -86
- data/spec/fixtures/snapshots/murano device enables a batch.webmock +0 -76
- data/spec/fixtures/snapshots/murano device enables and lists.webmock +0 -78
- data/spec/fixtures/snapshots/murano device writes and reads.webmock +0 -136
- data/spec/fixtures/snapshots/murano domain show domain.webmock +0 -101
- data/spec/fixtures/snapshots/murano element edit unknown as unknown element.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show --help.webmock +0 -9
- data/spec/fixtures/snapshots/murano element show as csv.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show as default-table.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show as json.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show as table truncate.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show as table wrap.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show as yaml.webmock +0 -43
- data/spec/fixtures/snapshots/murano element show using ambiguous name.webmock +0 -43
- data/spec/fixtures/snapshots/murano element without project usage.webmock +0 -9
- data/spec/fixtures/snapshots/murano exchange with project list as json.webmock +0 -59
- data/spec/fixtures/snapshots/murano exchange with project list as table.webmock +0 -59
- data/spec/fixtures/snapshots/murano exchange with project list fewer fields.webmock +0 -59
- data/spec/fixtures/snapshots/murano exchange with project list only ids.webmock +0 -59
- data/spec/fixtures/snapshots/murano exchange with project list output to file.webmock +0 -59
- data/spec/fixtures/snapshots/murano exchange with project list purchase is already added ID.webmock +0 -83
- data/spec/fixtures/snapshots/murano exchange with project list purchase is ambiguous name.webmock +0 -59
- data/spec/fixtures/snapshots/murano exchange without project help.webmock +0 -9
- data/spec/fixtures/snapshots/murano help using commander as --help.webmock +0 -9
- data/spec/fixtures/snapshots/murano help using commander no args.webmock +0 -9
- data/spec/fixtures/snapshots/murano help using subshell no args.webmock +0 -9
- data/spec/fixtures/snapshots/murano help using subshell with --help.webmock +0 -9
- data/spec/fixtures/snapshots/murano init Won't init in HOME (gracefully).webmock +0 -9
- data/spec/fixtures/snapshots/murano init in empty directory with existing project.webmock +0 -201
- data/spec/fixtures/snapshots/murano init in empty directory without existing project.webmock +0 -193
- data/spec/fixtures/snapshots/murano init in existing project directory with ProjectFile.webmock +0 -213
- data/spec/fixtures/snapshots/murano init in existing project directory with SolutionFile 0.2.0.webmock +0 -213
- data/spec/fixtures/snapshots/murano init in existing project directory with SolutionFile 0.3.0.webmock +0 -213
- data/spec/fixtures/snapshots/murano init in existing project directory without ProjectFile.webmock +0 -213
- data/spec/fixtures/snapshots/murano keystore can call other commands.webmock +0 -108
- data/spec/fixtures/snapshots/murano keystore clearAll.webmock +0 -124
- data/spec/fixtures/snapshots/murano keystore deletes.webmock +0 -112
- data/spec/fixtures/snapshots/murano keystore gets.webmock +0 -96
- data/spec/fixtures/snapshots/murano keystore infos.webmock +0 -96
- data/spec/fixtures/snapshots/murano keystore lists.webmock +0 -96
- data/spec/fixtures/snapshots/murano link with project links and lists.webmock +0 -149
- data/spec/fixtures/snapshots/murano link with project unlinks.webmock +0 -165
- data/spec/fixtures/snapshots/murano link without project help.webmock +0 -9
- data/spec/fixtures/snapshots/murano link without project subshell vs inline using commander will not list.webmock +0 -27
- data/spec/fixtures/snapshots/murano link without project subshell vs inline using subshell will not list.webmock +0 -27
- data/spec/fixtures/snapshots/murano logs when project is setup tail log.webmock +0 -9
- data/spec/fixtures/snapshots/murano password Lists when no file.webmock +0 -9
- data/spec/fixtures/snapshots/murano password deletes a password.webmock +0 -9
- data/spec/fixtures/snapshots/murano password sets a password.webmock +0 -9
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a forced string value on STDIN.webmock +0 -90
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a forced string value.webmock +0 -90
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a number value fiftyHalf.webmock +0 -64
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a number value float 12.67.webmock +0 -90
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a number value integer 12.webmock +0 -90
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a number value on STDIN.webmock +0 -90
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) a string value.webmock +0 -90
- data/spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format) merges into a dictionary.webmock +0 -90
- data/spec/fixtures/snapshots/murano single sync without ProjectFile syncdown.webmock +0 -322
- data/spec/fixtures/snapshots/murano status with ProjectFile status.webmock +0 -153
- data/spec/fixtures/snapshots/murano status with Solutionfile 0.2.0 status.webmock +0 -153
- data/spec/fixtures/snapshots/murano status with Solutionfile 0.3.0 status.webmock +0 -153
- data/spec/fixtures/snapshots/murano status without ProjectFile matches file path.webmock +0 -153
- data/spec/fixtures/snapshots/murano status without ProjectFile matches route.webmock +0 -153
- data/spec/fixtures/snapshots/murano status without ProjectFile status.webmock +0 -153
- data/spec/fixtures/snapshots/murano syncdown stubbed without ProjectFile syncdown.webmock +0 -151
- data/spec/fixtures/snapshots/murano syncdown without ProjectFile syncdown.webmock +0 -479
- data/spec/fixtures/snapshots/murano syncup without ProjectFile syncup.webmock +0 -357
- data/spec/fixtures/snapshots/murano token with project list as table.webmock +0 -9
- data/spec/fixtures/snapshots/murano token without project help.webmock +0 -9
- data/spec/fixtures/snapshots/murano usage show usage.webmock +0 -93
- data/spec/fixtures/syncable_conflict/services/devdata.lua +0 -18
- data/spec/fixtures/syncable_conflict/services/timers.lua +0 -4
- data/spec/fixtures/syncable_content/assets/icon.png +0 -0
- data/spec/fixtures/syncable_content/assets/index.html +0 -0
- data/spec/fixtures/syncable_content/assets/js/script.js +0 -0
- data/spec/fixtures/syncable_content/modules/table_util.lua +0 -58
- data/spec/fixtures/syncable_content/routes/manyRoutes.lua +0 -11
- data/spec/fixtures/syncable_content/routes/singleRoute.lua +0 -5
- data/spec/fixtures/websocket/README.rst +0 -110
- data/spec/fixtures/websocket/logs_blather.rb +0 -27
- data/spec/fixtures/websocket/logs_faker.rb +0 -153
- data/spec/fixtures/websocket/simple_connection.rb +0 -45
- data/spec/fixtures/websocket/simple_options.rb +0 -77
- data/spec/fixtures/websocket/simple_server.rb +0 -69
- data/spec/fixtures/websocket/wss-echo.rb +0 -48
- data/spec/fixtures/websocket/wss-fake-logs.rb +0 -20
- data/spec/spec_helper.rb +0 -131
- data/spec/variegated_TruthyFalsey_spec.rb +0 -29
- data/spec/webmock_snapshot.rb +0 -296
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfbb8f408935daa8c012e04617a69badbba68c3bde1aad3fb9efe8973d83961e
|
4
|
+
data.tar.gz: 73075b87b642254cb03aa6d80c5801c9b566027d5f3b1d39a2abc7db19c4d036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2de8997ef9b11542b6872505dd0c32933a482a90abc45f7f332a6ecafec861696e8bfc8bd87569b2ef656a2d72ec5e5dbbf9ee5b1dcfe530655285efe6583c7
|
7
|
+
data.tar.gz: dfa7c497d18314135484ba8c54cd4a1b683c8a81f873f2d5d3f3b53d49b1542f4acb8d2855ab6491d03386ce5fcf323750160d8915048c01a15e7991176a72f2
|
data/HISTORY.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
---------------------------------------------------------------------------
|
4
4
|
|
5
|
+
## Murano CLI v3.2.1.pre.beta.7 (2018-08-09)
|
6
|
+
|
7
|
+
### Improved
|
8
|
+
|
9
|
+
- Decrease Murano CLI Gem install size. (Issue: [MUR-7654](https://i.exosite.com/jira/browse/MUR-7654))
|
10
|
+
|
11
|
+
- Was 300 Kb, now 200 Kb.
|
12
|
+
|
13
|
+
---------------------------------------------------------------------------
|
14
|
+
|
5
15
|
## Murano CLI v3.2.1.pre.beta.6 (2018-08-09)
|
6
16
|
|
7
17
|
### Improved
|
data/MuranoCLI.gemspec
CHANGED
@@ -32,12 +32,43 @@ And so much more.
|
|
32
32
|
# If you want to print a message on Gem install, use the P.I.M., e.g.,:
|
33
33
|
# s.post_install_message = %(...)
|
34
34
|
|
35
|
-
|
36
|
-
#
|
37
|
-
# I added the
|
38
|
-
#
|
39
|
-
|
40
|
-
|
35
|
+
# (lb): 2018-08-09: Do we need to include spec files in the gem?
|
36
|
+
#
|
37
|
+
# I added the WebMock snapshots infrastructure, and a kabillion files
|
38
|
+
# under spec/fixtures/snapshots directory, and the Gem size inflated
|
39
|
+
# from 295 Kb to 757 Kb!
|
40
|
+
#
|
41
|
+
# This is the old file collector:
|
42
|
+
#
|
43
|
+
# s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
44
|
+
#
|
45
|
+
# We could try without all the snapshots, e.g.,:
|
46
|
+
#
|
47
|
+
# s.test_files = \
|
48
|
+
# `git ls-files -- {test,spec,features}/* \
|
49
|
+
# | grep -v '^spec/fixtures/snapshots' \
|
50
|
+
# `.split("\n")
|
51
|
+
#
|
52
|
+
# Or, better yet, because test_files is only used by the old,
|
53
|
+
# useless, why-would-you-expect-a-user-to-test-a-gem task,
|
54
|
+
# `gem test`, we should just not include any test files.
|
55
|
+
#
|
56
|
+
# Similarly, we should exclude spec files from the list of normal
|
57
|
+
# gem files, too. Here's the original files collector:
|
58
|
+
#
|
59
|
+
# s.files = `git ls-files`.split("\n")
|
60
|
+
#
|
61
|
+
# And following is syntax similar to what the bundler template suggests, from
|
62
|
+
#
|
63
|
+
# https://github.com/bundler/bundler/blob/e41edd133a737ed95581a4e850076c7160289269/lib/bundler/templates/newgem/newgem.gemspec.tt
|
64
|
+
#
|
65
|
+
# (Essentially, we just want bin/ and lib/ files, and maybe some top-level
|
66
|
+
# files, like MuranoCLI.gemspec, but include all top-level files; I don't
|
67
|
+
# know gems well enough, and we've already saved substantial weight. (Back
|
68
|
+
# down to 205 Kb, even less than the original 295 Kb.)
|
69
|
+
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(dockers|docs|spec)/}) }
|
70
|
+
|
71
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
41
72
|
s.require_paths = ['lib']
|
42
73
|
|
43
74
|
s.add_runtime_dependency('certified', '1.0.0')
|
data/Rakefile
CHANGED
@@ -12,9 +12,26 @@ require 'tmpdir'
|
|
12
12
|
|
13
13
|
task default: %i[test]
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
# ***
|
16
|
+
|
17
|
+
def current_ver
|
18
|
+
Bundler::GemHelper.gemspec.version.version
|
19
|
+
end
|
20
|
+
|
21
|
+
def tag_name
|
22
|
+
"v#{current_ver}"
|
23
|
+
end
|
24
|
+
|
25
|
+
def gem_name(gem_ver=nil)
|
26
|
+
gem_ver ||= current_ver
|
27
|
+
"MuranoCLI-#{gem_ver}.gem"
|
28
|
+
end
|
29
|
+
|
30
|
+
def built_gem(gem_ver=nil)
|
31
|
+
"pkg/#{gem_name(gem_ver)}"
|
32
|
+
end
|
33
|
+
|
34
|
+
# ***
|
18
35
|
|
19
36
|
# NOTE: If you're looking for the :build task, look in the bundler code, e.g.,
|
20
37
|
# /usr/lib/ruby/vendor_ruby/bundler/gem_helper.rb::build_gem
|
@@ -29,12 +46,23 @@ task :unbob do
|
|
29
46
|
sh %(gem uninstall --user-install #{built_gem})
|
30
47
|
end
|
31
48
|
|
32
|
-
|
33
|
-
|
34
|
-
sh %(rake build)
|
49
|
+
def build_gem_install_user(gem_ver=nil)
|
50
|
+
# (lb) In lieu of shelling out, e.g.,
|
51
|
+
# sh %(rake build)
|
52
|
+
# we can just invoke the task directly.
|
53
|
+
# (Note that .invoke executes the dependencies, but it only executes the
|
54
|
+
# task if it has not already been invoked; and .execute executes the task
|
55
|
+
# but doesn't execute its dependencies; to do both, you'd want to first
|
56
|
+
# .reenable, and then .invoke. And now you know.
|
57
|
+
Rake::Task['build'].invoke
|
35
58
|
# Bundler::GemHelper.gemspec.base_dir is the base of the project,
|
36
59
|
# and not the base of the gem directory.
|
37
|
-
sh %(gem install -i #{Gem.dir} #{built_gem})
|
60
|
+
sh %(gem install -i #{Gem.dir} #{built_gem(gem_ver)})
|
61
|
+
end
|
62
|
+
|
63
|
+
desc 'Build and install into user gems directory (useful for rvm and chruby)'
|
64
|
+
task :'install:user' do
|
65
|
+
build_gem_install_user
|
38
66
|
end
|
39
67
|
|
40
68
|
desc 'Uninstall gem from user gems directory'
|
@@ -108,10 +136,6 @@ end
|
|
108
136
|
|
109
137
|
# ***
|
110
138
|
|
111
|
-
def current_ver
|
112
|
-
Bundler::GemHelper.gemspec.version.version
|
113
|
-
end
|
114
|
-
|
115
139
|
def verify_semantic_version!(parts, must_beta: nil)
|
116
140
|
msg = nil
|
117
141
|
if must_beta == true && parts.length <= 3
|
@@ -214,6 +238,9 @@ namespace :bump do
|
|
214
238
|
$stdout.puts
|
215
239
|
sh %(git commit -m "Version: #{current_ver} → #{next_ver}")
|
216
240
|
$stdout.puts
|
241
|
+
|
242
|
+
build_gem_install_user(next_ver)
|
243
|
+
|
217
244
|
# (lb): Meh. We could push to origin. Or not.
|
218
245
|
# sh %(git push origin HEAD)
|
219
246
|
require 'rainbow'
|
@@ -377,10 +377,6 @@ def business_find_or_ask!(acc, options)
|
|
377
377
|
biz = businesses_ask_which(acc) if biz.nil?
|
378
378
|
end
|
379
379
|
|
380
|
-
$cfg.set('business.id', nil, :internal)
|
381
|
-
$cfg.set('business.name', nil, :internal)
|
382
|
-
$cfg.set('business.fuzzy', nil, :internal)
|
383
|
-
|
384
380
|
biz
|
385
381
|
end
|
386
382
|
|
data/lib/MrMurano/version.rb
CHANGED
@@ -26,7 +26,7 @@ module MrMurano
|
|
26
26
|
# '3.0.0-beta.2' is changed to '3.0.0.pre.beta.2'
|
27
27
|
# which breaks our build (which expects the version to match herein).
|
28
28
|
# So stick to using the '.pre.X' syntax, which ruby/gems knows.
|
29
|
-
VERSION = '3.2.1.pre.beta.
|
29
|
+
VERSION = '3.2.1.pre.beta.7'
|
30
30
|
EXE_NAME = File.basename($PROGRAM_NAME)
|
31
31
|
SIGN_UP_URL = 'https://exosite.com/signup/'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: MuranoCLI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.1.pre.beta.
|
4
|
+
version: 3.2.1.pre.beta.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Conrad Tadpol Tilstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: certified
|
@@ -475,24 +475,6 @@ files:
|
|
475
475
|
- Rakefile
|
476
476
|
- TODO.taskpaper
|
477
477
|
- bin/murano
|
478
|
-
- dockers/Dockerfile.2.2.9
|
479
|
-
- dockers/Dockerfile.2.3.6
|
480
|
-
- dockers/Dockerfile.2.4.3
|
481
|
-
- dockers/Dockerfile.2.5.0
|
482
|
-
- dockers/Dockerfile.GemRelease
|
483
|
-
- dockers/Dockerfile.m4
|
484
|
-
- dockers/README.rst
|
485
|
-
- dockers/RELEASE.rst
|
486
|
-
- dockers/docker-test.sh
|
487
|
-
- dockers/gem-release.sh
|
488
|
-
- docs/basic_example.rst
|
489
|
-
- docs/ci/.trustme.plugin
|
490
|
-
- docs/ci/.trustme.sh
|
491
|
-
- docs/ci/.trustme.vim
|
492
|
-
- docs/completions/murano_completion-bash
|
493
|
-
- docs/demo.md
|
494
|
-
- docs/develop.rst
|
495
|
-
- docs/release.rst
|
496
478
|
- lib/MrMurano.rb
|
497
479
|
- lib/MrMurano/Account.rb
|
498
480
|
- lib/MrMurano/AccountBase.rb
|
@@ -579,237 +561,6 @@ files:
|
|
579
561
|
- lib/MrMurano/variegated/ruby_dig.rb
|
580
562
|
- lib/MrMurano/verbosing.rb
|
581
563
|
- lib/MrMurano/version.rb
|
582
|
-
- spec/Account-Passwords_spec.rb
|
583
|
-
- spec/Account_spec.rb
|
584
|
-
- spec/Business_spec.rb
|
585
|
-
- spec/ConfigFile_spec.rb
|
586
|
-
- spec/ConfigMigrate_spec.rb
|
587
|
-
- spec/Config_spec.rb
|
588
|
-
- spec/Content_spec.rb
|
589
|
-
- spec/GatewayBase_spec.rb
|
590
|
-
- spec/GatewayDevice_spec.rb
|
591
|
-
- spec/GatewayResource_spec.rb
|
592
|
-
- spec/GatewaySettings_spec.rb
|
593
|
-
- spec/HttpAuthed_spec.rb
|
594
|
-
- spec/Http_spec.rb
|
595
|
-
- spec/MakePretties_spec.rb
|
596
|
-
- spec/Mock_spec.rb
|
597
|
-
- spec/ProjectFile_spec.rb
|
598
|
-
- spec/Setting_spec.rb
|
599
|
-
- spec/Solution-ServiceConfig_spec.rb
|
600
|
-
- spec/Solution-ServiceEventHandler_spec.rb
|
601
|
-
- spec/Solution-ServiceModules_spec.rb
|
602
|
-
- spec/Solution-UsersRoles_spec.rb
|
603
|
-
- spec/Solution_spec.rb
|
604
|
-
- spec/SyncRoot_spec.rb
|
605
|
-
- spec/SyncUpDown_spec.rb
|
606
|
-
- spec/Verbosing_spec.rb
|
607
|
-
- spec/Webservice-Cors_spec.rb
|
608
|
-
- spec/Webservice-Endpoint_spec.rb
|
609
|
-
- spec/Webservice-File_spec.rb
|
610
|
-
- spec/Webservice-Setting_spec.rb
|
611
|
-
- spec/_workspace.rb
|
612
|
-
- spec/cmd_business_spec.rb
|
613
|
-
- spec/cmd_common.rb
|
614
|
-
- spec/cmd_config_spec.rb
|
615
|
-
- spec/cmd_content_spec.rb
|
616
|
-
- spec/cmd_cors_spec.rb
|
617
|
-
- spec/cmd_device_spec.rb
|
618
|
-
- spec/cmd_domain_spec.rb
|
619
|
-
- spec/cmd_element_spec.rb
|
620
|
-
- spec/cmd_exchange_spec.rb
|
621
|
-
- spec/cmd_help_spec.rb
|
622
|
-
- spec/cmd_init_spec.rb
|
623
|
-
- spec/cmd_keystore_spec.rb
|
624
|
-
- spec/cmd_link_spec.rb
|
625
|
-
- spec/cmd_logs_spec.rb
|
626
|
-
- spec/cmd_password_spec.rb
|
627
|
-
- spec/cmd_setting_application_spec.rb
|
628
|
-
- spec/cmd_setting_product_spec.rb
|
629
|
-
- spec/cmd_status_spec.rb
|
630
|
-
- spec/cmd_syncdown_application_spec.rb
|
631
|
-
- spec/cmd_syncdown_both_spec.rb
|
632
|
-
- spec/cmd_syncdown_unit_spec.rb
|
633
|
-
- spec/cmd_syncup_spec.rb
|
634
|
-
- spec/cmd_token_spec.rb
|
635
|
-
- spec/cmd_usage_spec.rb
|
636
|
-
- spec/dry_run_formatter.rb
|
637
|
-
- spec/fixtures/.mrmuranorc
|
638
|
-
- spec/fixtures/ProjectFiles/invalid.yaml
|
639
|
-
- spec/fixtures/ProjectFiles/only_meta.yaml
|
640
|
-
- spec/fixtures/ProjectFiles/with_routes.yaml
|
641
|
-
- spec/fixtures/SolutionFiles/0.2.0.json
|
642
|
-
- spec/fixtures/SolutionFiles/0.2.0_invalid.json
|
643
|
-
- spec/fixtures/SolutionFiles/0.2.json
|
644
|
-
- spec/fixtures/SolutionFiles/0.3.0.json
|
645
|
-
- spec/fixtures/SolutionFiles/0.3.0_invalid.json
|
646
|
-
- spec/fixtures/SolutionFiles/0.3.json
|
647
|
-
- spec/fixtures/SolutionFiles/basic.json
|
648
|
-
- spec/fixtures/SolutionFiles/secret.json
|
649
|
-
- spec/fixtures/configfile
|
650
|
-
- spec/fixtures/dumped_config
|
651
|
-
- spec/fixtures/exchange_element/element-show.json
|
652
|
-
- spec/fixtures/exchange_element/swagger-mur-6407__10k.yaml
|
653
|
-
- spec/fixtures/exchange_element/swagger-mur-6407__20k.yaml
|
654
|
-
- spec/fixtures/gateway_resource_files/resources.notyaml
|
655
|
-
- spec/fixtures/gateway_resource_files/resources.yaml
|
656
|
-
- spec/fixtures/gateway_resource_files/resources_invalid.yaml
|
657
|
-
- spec/fixtures/mrmuranorc_deleted_bob
|
658
|
-
- spec/fixtures/mrmuranorc_tool_bob
|
659
|
-
- spec/fixtures/product_spec_files/example.exoline.spec.yaml
|
660
|
-
- spec/fixtures/product_spec_files/example.murano.spec.yaml
|
661
|
-
- spec/fixtures/product_spec_files/gwe.exoline.spec.yaml
|
662
|
-
- spec/fixtures/product_spec_files/gwe.murano.spec.yaml
|
663
|
-
- spec/fixtures/product_spec_files/lightbulb-no-state.yaml
|
664
|
-
- spec/fixtures/product_spec_files/lightbulb.yaml
|
665
|
-
- spec/fixtures/roles-three.yaml
|
666
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
667
|
-
a bool value 0.webmock
|
668
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
669
|
-
a bool value 1.webmock
|
670
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
671
|
-
a bool value No.webmock
|
672
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
673
|
-
a bool value Yes.webmock
|
674
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
675
|
-
a bool value bob.webmock
|
676
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
677
|
-
a bool value false.webmock
|
678
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
679
|
-
a bool value off.webmock
|
680
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
681
|
-
a bool value on STDIN.webmock
|
682
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
683
|
-
a bool value on.webmock
|
684
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
685
|
-
a bool value true.webmock
|
686
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
687
|
-
a json array blob with STDIN.webmock
|
688
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
689
|
-
a json array blob.webmock
|
690
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
691
|
-
an array.webmock
|
692
|
-
- spec/fixtures/snapshots/murano application setting Writes (using Webservice.cors)
|
693
|
-
appends an array.webmock
|
694
|
-
- spec/fixtures/snapshots/murano application setting reads Webservice.cors to a file.webmock
|
695
|
-
- spec/fixtures/snapshots/murano application setting reads Webservice.cors.webmock
|
696
|
-
- spec/fixtures/snapshots/murano business list as json.webmock
|
697
|
-
- spec/fixtures/snapshots/murano business list as table.webmock
|
698
|
-
- spec/fixtures/snapshots/murano business list fewer fields.webmock
|
699
|
-
- spec/fixtures/snapshots/murano business list only ids.webmock
|
700
|
-
- spec/fixtures/snapshots/murano business list output to file.webmock
|
701
|
-
- spec/fixtures/snapshots/murano business without project help.webmock
|
702
|
-
- spec/fixtures/snapshots/murano config Needs a key.webmock
|
703
|
-
- spec/fixtures/snapshots/murano config Reads a key.webmock
|
704
|
-
- spec/fixtures/snapshots/murano config Removes a key.webmock
|
705
|
-
- spec/fixtures/snapshots/murano config Sets a key.webmock
|
706
|
-
- spec/fixtures/snapshots/murano config Sets a user key.webmock
|
707
|
-
- spec/fixtures/snapshots/murano content life cycle.webmock
|
708
|
-
- spec/fixtures/snapshots/murano cors sets CORS.webmock
|
709
|
-
- spec/fixtures/snapshots/murano cors show CORS.webmock
|
710
|
-
- spec/fixtures/snapshots/murano device activates.webmock
|
711
|
-
- spec/fixtures/snapshots/murano device enables a batch.webmock
|
712
|
-
- spec/fixtures/snapshots/murano device enables and lists.webmock
|
713
|
-
- spec/fixtures/snapshots/murano device writes and reads.webmock
|
714
|
-
- spec/fixtures/snapshots/murano domain show domain.webmock
|
715
|
-
- spec/fixtures/snapshots/murano element edit unknown as unknown element.webmock
|
716
|
-
- spec/fixtures/snapshots/murano element show --help.webmock
|
717
|
-
- spec/fixtures/snapshots/murano element show as csv.webmock
|
718
|
-
- spec/fixtures/snapshots/murano element show as default-table.webmock
|
719
|
-
- spec/fixtures/snapshots/murano element show as json.webmock
|
720
|
-
- spec/fixtures/snapshots/murano element show as table truncate.webmock
|
721
|
-
- spec/fixtures/snapshots/murano element show as table wrap.webmock
|
722
|
-
- spec/fixtures/snapshots/murano element show as yaml.webmock
|
723
|
-
- spec/fixtures/snapshots/murano element show using ambiguous name.webmock
|
724
|
-
- spec/fixtures/snapshots/murano element without project usage.webmock
|
725
|
-
- spec/fixtures/snapshots/murano exchange with project list as json.webmock
|
726
|
-
- spec/fixtures/snapshots/murano exchange with project list as table.webmock
|
727
|
-
- spec/fixtures/snapshots/murano exchange with project list fewer fields.webmock
|
728
|
-
- spec/fixtures/snapshots/murano exchange with project list only ids.webmock
|
729
|
-
- spec/fixtures/snapshots/murano exchange with project list output to file.webmock
|
730
|
-
- spec/fixtures/snapshots/murano exchange with project list purchase is already added
|
731
|
-
ID.webmock
|
732
|
-
- spec/fixtures/snapshots/murano exchange with project list purchase is ambiguous
|
733
|
-
name.webmock
|
734
|
-
- spec/fixtures/snapshots/murano exchange without project help.webmock
|
735
|
-
- spec/fixtures/snapshots/murano help using commander as --help.webmock
|
736
|
-
- spec/fixtures/snapshots/murano help using commander no args.webmock
|
737
|
-
- spec/fixtures/snapshots/murano help using subshell no args.webmock
|
738
|
-
- spec/fixtures/snapshots/murano help using subshell with --help.webmock
|
739
|
-
- spec/fixtures/snapshots/murano init Won't init in HOME (gracefully).webmock
|
740
|
-
- spec/fixtures/snapshots/murano init in empty directory with existing project.webmock
|
741
|
-
- spec/fixtures/snapshots/murano init in empty directory without existing project.webmock
|
742
|
-
- spec/fixtures/snapshots/murano init in existing project directory with ProjectFile.webmock
|
743
|
-
- spec/fixtures/snapshots/murano init in existing project directory with SolutionFile
|
744
|
-
0.2.0.webmock
|
745
|
-
- spec/fixtures/snapshots/murano init in existing project directory with SolutionFile
|
746
|
-
0.3.0.webmock
|
747
|
-
- spec/fixtures/snapshots/murano init in existing project directory without ProjectFile.webmock
|
748
|
-
- spec/fixtures/snapshots/murano keystore can call other commands.webmock
|
749
|
-
- spec/fixtures/snapshots/murano keystore clearAll.webmock
|
750
|
-
- spec/fixtures/snapshots/murano keystore deletes.webmock
|
751
|
-
- spec/fixtures/snapshots/murano keystore gets.webmock
|
752
|
-
- spec/fixtures/snapshots/murano keystore infos.webmock
|
753
|
-
- spec/fixtures/snapshots/murano keystore lists.webmock
|
754
|
-
- spec/fixtures/snapshots/murano link with project links and lists.webmock
|
755
|
-
- spec/fixtures/snapshots/murano link with project unlinks.webmock
|
756
|
-
- spec/fixtures/snapshots/murano link without project help.webmock
|
757
|
-
- spec/fixtures/snapshots/murano link without project subshell vs inline using commander
|
758
|
-
will not list.webmock
|
759
|
-
- spec/fixtures/snapshots/murano link without project subshell vs inline using subshell
|
760
|
-
will not list.webmock
|
761
|
-
- spec/fixtures/snapshots/murano logs when project is setup tail log.webmock
|
762
|
-
- spec/fixtures/snapshots/murano password Lists when no file.webmock
|
763
|
-
- spec/fixtures/snapshots/murano password deletes a password.webmock
|
764
|
-
- spec/fixtures/snapshots/murano password sets a password.webmock
|
765
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
766
|
-
a forced string value on STDIN.webmock
|
767
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
768
|
-
a forced string value.webmock
|
769
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
770
|
-
a number value fiftyHalf.webmock
|
771
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
772
|
-
a number value float 12.67.webmock
|
773
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
774
|
-
a number value integer 12.webmock
|
775
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
776
|
-
a number value on STDIN.webmock
|
777
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
778
|
-
a string value.webmock
|
779
|
-
- spec/fixtures/snapshots/murano product setting Writes (using Device2.identity_format)
|
780
|
-
merges into a dictionary.webmock
|
781
|
-
- spec/fixtures/snapshots/murano single sync without ProjectFile syncdown.webmock
|
782
|
-
- spec/fixtures/snapshots/murano status with ProjectFile status.webmock
|
783
|
-
- spec/fixtures/snapshots/murano status with Solutionfile 0.2.0 status.webmock
|
784
|
-
- spec/fixtures/snapshots/murano status with Solutionfile 0.3.0 status.webmock
|
785
|
-
- spec/fixtures/snapshots/murano status without ProjectFile matches file path.webmock
|
786
|
-
- spec/fixtures/snapshots/murano status without ProjectFile matches route.webmock
|
787
|
-
- spec/fixtures/snapshots/murano status without ProjectFile status.webmock
|
788
|
-
- spec/fixtures/snapshots/murano syncdown stubbed without ProjectFile syncdown.webmock
|
789
|
-
- spec/fixtures/snapshots/murano syncdown without ProjectFile syncdown.webmock
|
790
|
-
- spec/fixtures/snapshots/murano syncup without ProjectFile syncup.webmock
|
791
|
-
- spec/fixtures/snapshots/murano token with project list as table.webmock
|
792
|
-
- spec/fixtures/snapshots/murano token without project help.webmock
|
793
|
-
- spec/fixtures/snapshots/murano usage show usage.webmock
|
794
|
-
- spec/fixtures/syncable_conflict/services/devdata.lua
|
795
|
-
- spec/fixtures/syncable_conflict/services/timers.lua
|
796
|
-
- spec/fixtures/syncable_content/assets/icon.png
|
797
|
-
- spec/fixtures/syncable_content/assets/index.html
|
798
|
-
- spec/fixtures/syncable_content/assets/js/script.js
|
799
|
-
- spec/fixtures/syncable_content/modules/table_util.lua
|
800
|
-
- spec/fixtures/syncable_content/routes/manyRoutes.lua
|
801
|
-
- spec/fixtures/syncable_content/routes/singleRoute.lua
|
802
|
-
- spec/fixtures/websocket/README.rst
|
803
|
-
- spec/fixtures/websocket/logs_blather.rb
|
804
|
-
- spec/fixtures/websocket/logs_faker.rb
|
805
|
-
- spec/fixtures/websocket/simple_connection.rb
|
806
|
-
- spec/fixtures/websocket/simple_options.rb
|
807
|
-
- spec/fixtures/websocket/simple_server.rb
|
808
|
-
- spec/fixtures/websocket/wss-echo.rb
|
809
|
-
- spec/fixtures/websocket/wss-fake-logs.rb
|
810
|
-
- spec/spec_helper.rb
|
811
|
-
- spec/variegated_TruthyFalsey_spec.rb
|
812
|
-
- spec/webmock_snapshot.rb
|
813
564
|
homepage: https://github.com/exosite/MuranoCLI
|
814
565
|
licenses:
|
815
566
|
- MIT
|