MrMurano 1.11.2 → 1.11.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7952441f550b0a314943de0c8bf2ced3e496b406
4
- data.tar.gz: 1e10b41f47a6fbb668bd75c78593094f44835923
3
+ metadata.gz: f3834a5056532662031cc184d66b913ff77d516f
4
+ data.tar.gz: 4185017027496ed440bb23d0c84bf39ea44ecb9e
5
5
  SHA512:
6
- metadata.gz: 9271fcc60621b98bdf94bf59392c473a952323eaf8d370d43542e5a88a6c91cc48d07e706a741c659c97f09c5d2bf509925ed158bf860f071189dac8fdc88a31
7
- data.tar.gz: 98b2e10a2144ad74e0a6c55f2d7d05d773c2a31037a3ae11fc44a5f7c19c1e3362ac2ef3b28cfa98c590414fb7d0b358f4886c275dba1d411fb5e239a22cf08f
6
+ metadata.gz: 4587f4ee92cc776f1b7284a6a0da7992fc15ba180b48aa6178345eec23b6ff5843d153de20eade090d45be464f9c9d38daae28f8f2f4a9f3e9baafd23deb5d91
7
+ data.tar.gz: 7420fae6e4e16eb99c122f05dd45efc6c49980c9dc346b97023d61603cdda7c7e7e28b628a733966d592d4aa919d3742b6e0ad267d79cc0877b00ef2a7ddc071
data/.travis.yml CHANGED
@@ -1,13 +1,14 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0
4
- - 2.2
3
+ - 2.0
4
+ - 2.2
5
5
 
6
6
  before_deploy: "rake build"
7
7
  deploy:
8
8
  provider: releases
9
9
  api_key:
10
10
  secure: oB28IBHoSQVgP0PtP1uc+cRMBNhqHCCfCCV+sLNspjCGJeIjhZ4lmLcMYSy8l0+TBWxmXl6VIQd6GbyEezbB5daA4+pxY/An0OpM649t29+QuMCK8iXrD8/HXfaUzY2CP5RP47GoC/5xyCwqv3EEUjFPEGhUb5hYc74kfe3nwBmhKliHFQpZvuDE0EHWTgcEOep+kf7O+3cVf7vJVddz+Vj05t1s6VCwhBQsbUvOV4/Jv7nhHa7q0UGoY9M7sTNpwgawFeMwqvtXxl8sVbiHPLm+u6vikSbVnSdyi7wlVAoe+DSkzmnVHYzMd/t1Io7kEiLEAyDyrlJPJYS+XTMqxQ/KUDJNhf/N2IJMW2vPA+6TjpxCqcdY4QwkLNb7JfFWgQb9X4UksAEQU24W6110+zPUGmbg37eM80OrsadTWy65IQbLJ0sFFhm8vu/e2i/3LadYscw6A0Tyc1JXgGfGKd0nqyAyKGLcSBw1+dwwzkyKNHWFAaLy5hAEKv2qZdVNrTtcLhJtuxv8VUuevd3gfT6FLOIN/XAyg71mSvC2BA12vzM6KkTPNIaSmUITDgEplT5cs5h8PZ4eRghpmnT2EA3k0O3p14Ng3eeACMImJYQRKWmU/yVWVo69VVH0GRfm5SWb6xlDLFXt/Mii1MPx9ruhC232wdRACoep18w1qUY=
11
+ file_glob: true
11
12
  file: "pkg/MrMurano-*.gem"
12
13
  skip_cleanup: true
13
14
  on:
@@ -15,3 +16,4 @@ deploy:
15
16
  tags: true
16
17
  rvm: 2.2
17
18
 
19
+ # vim: set et sw=2 ts=2 :
data/README.markdown CHANGED
@@ -9,7 +9,7 @@ MrMurano is the command-line tool that interacts with Murano and makes different
9
9
  tasks easier. MrMurano makes it easy to deploy code to a solution, import many
10
10
  product definitions at once, set up endpoints and APIs, and more.
11
11
 
12
- MrMurano works around the idea of syncing, much like rsync. Files from your working
12
+ MrMurano works around the idea of syncing, much like rsync. Files from your project
13
13
  directory are synced up (or down) from Murano.
14
14
 
15
15
  ## Usage
@@ -33,8 +33,7 @@ running in Murano. Here is the list.
33
33
  - Set it: `mr config business.id ZZZZZZZZZ`
34
34
  - Create a product: `mr product create myawesomeproduct`
35
35
  - Save the result: `mr config product.id YYYYYYYYY`
36
- - Set the product definition: `mr config product.spec prd.spec`
37
- - Add resource aliases to specs/prd.spec
36
+ - Add resource aliases to specs/resources.yaml
38
37
  - Sync the product definition up: `mr syncup -V --specs`
39
38
  - Create a solution: `mr solution create myawesomesolution`
40
39
  - Save the result: `mr config solution.id XXXXXX`
data/Rakefile CHANGED
@@ -2,18 +2,24 @@ require "bundler/gem_tasks"
2
2
 
3
3
  task :default => [:test]
4
4
 
5
+ tagName = "v#{Bundler::GemHelper.gemspec.version}"
6
+ gemName = "MrMurano-#{Bundler::GemHelper.gemspec.version}.gem"
7
+ builtGem = "pkg/#{gemName}"
8
+
5
9
  desc "Install gem in user dir"
6
10
  task :bob do
7
- sh %{gem install --user-install pkg/MrMurano-#{Bundler::GemHelper.gemspec.version}.gem}
11
+ sh %{gem install --user-install #{builtGem}}
8
12
  end
9
13
 
10
14
  desc "Uninstall from user dir"
11
15
  task :unbob do
12
- sh %{gem uninstall --user-install pkg/MrMurano-#{Bundler::GemHelper.gemspec.version}.gem}
16
+ sh %{gem uninstall --user-install #{builtGem}}
13
17
  end
14
18
 
15
19
  task :echo do
16
- puts "= #{Bundler::GemHelper.gemspec.version} ="
20
+ puts tagName
21
+ puts gemName
22
+ puts builtGem
17
23
  end
18
24
 
19
25
  namespace :git do
@@ -35,19 +41,46 @@ namespace :git do
35
41
  task :all => [:origin, :upstream]
36
42
  end
37
43
 
38
- task :gempush do
39
- sh %{gem push pkg/MrMurano-#{Bundler::GemHelper.gemspec.version}.gem}
40
- end
41
-
42
44
  task :gemit do
43
45
  mrt=Bundler::GemHelper.gemspec.version
44
46
  sh %{git checkout v#{mrt}}
45
47
  Rake::Task[:build].invoke
46
48
  Rake::Task[:bob].invoke
47
- Rake::Task[:gempush].invoke
49
+ Rake::Task['push::gem'].invoke
48
50
  sh %{git checkout develop}
49
51
  end
50
52
 
53
+ namespace :push do
54
+ desc 'Push gem up to RubyGems'
55
+ task :gem do
56
+ sh %{gem push pkg/MrMurano-#{Bundler::GemHelper.gemspec.version}.gem}
57
+ end
58
+
59
+ namespace :github do
60
+ desc "Make a release in Github"
61
+ task :makeRelease do
62
+ # ENV['GITHUB_TOKEN'] set by CI.
63
+ # ENV['GITHUB_USER'] set by CI.
64
+ # ENV['GITHUB_REPO'] set by CI
65
+ # Create Release
66
+ sh %{github-release info --tag #{tagName}} do |ok, res|
67
+ if not ok then
68
+ sh %{github-release release --tag #{tagName}}
69
+ end
70
+ end
71
+ end
72
+
73
+ desc 'Push gem up to Github Releases'
74
+ task :gem => [:makeRelease, :build] do
75
+ # ENV['GITHUB_TOKEN'] set by CI.
76
+ # ENV['GITHUB_USER'] set by CI.
77
+ # ENV['GITHUB_REPO'] set by CI
78
+ # upload gem
79
+ sh %{github-release upload --tag #{tagName} --name #{gemName} --file #{builtGem}}
80
+ end
81
+ end
82
+ end
83
+
51
84
  desc "Prints a cmd to test this in another directory"
52
85
  task :testwith do
53
86
  pwd=Dir.pwd.sub(Dir.home, '~')
@@ -100,6 +133,19 @@ if Gem.win_platform? then
100
133
  file installerName => ['Output/MrMuranoSetup.exe'] do |t|
101
134
  FileUtils.move t.prerequisites.first, t.name, :verbose=>true
102
135
  end
136
+
137
+ namespace :push do
138
+ namespace :github do
139
+ desc "Push Windows installer to Github Releases"
140
+ task :inno => [:makeRelease, installerName] do
141
+ # ENV['GITHUB_TOKEN'] set by CI.
142
+ # ENV['GITHUB_USER'] set by CI.
143
+ # ENV['GITHUB_REPO'] set by CI
144
+ iname = File.basename(installerName)
145
+ sh %{github-release upload --tag #{tagName} --name #{iname} --file #{installerName}}
146
+ end
147
+ end
148
+ end
103
149
  end
104
150
 
105
151
  # vim: set sw=4 ts=4 :
@@ -1,4 +1,4 @@
1
1
  module MrMurano
2
- VERSION = '1.11.2'.freeze
2
+ VERSION = '1.11.3'.freeze
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MrMurano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.2
4
+ version: 1.11.3
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: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2016-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander