appbundle-updater 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 993c81b1b3816818571de18733857471df1569e4
4
- data.tar.gz: 82ec4a5dca4c3a14320e2d7bc08c32ee05761894
3
+ metadata.gz: c86a316a3b0b32c0ad3faae9e906d40b77a998bb
4
+ data.tar.gz: cd63ea96c0b3c7ed571fa6c663803b42927410c9
5
5
  SHA512:
6
- metadata.gz: 494ece937ae9456b48064edde51b7fe0d724aee1d95ca39a4ae7a35706d36df26b2b886aa646ad0793926421099be5e9611c7a3e877bd64c42637fad5f67ef69
7
- data.tar.gz: 5cca9976ebd9845da42b8914afe447a81543315e2fcd9d06a8978188e6543e5387966404a37e0d914c85d888c4e762c45df49c42e489f12689f5a6e4b042eb57
6
+ metadata.gz: 9e7c82d24cc5cb92ba88131a114d3a017c6274c8e6259d8de18f5f2df39aeda51af311a7c70f24c5b438a08c756842a854be53ede242e94720b44b6e7bfb408c
7
+ data.tar.gz: 5b45da84a4b848f4fa9c078e9179cca90676ae45b3eed18294870a0a536b4b0d43fd79a484c73c928f9289003e833df249c2b09a8dc04cb1509fa30c3b7fdd73
data/README.md CHANGED
@@ -9,6 +9,12 @@ Helper to update Chef and Chef-DK appbundle'd apps inside of an omnibus bundle.
9
9
 
10
10
  ## Usage Examples
11
11
 
12
+ Install as a gem:
13
+
14
+ ```
15
+ gem install appbundle-updater
16
+ ```
17
+
12
18
  Updating chef in the /opt/chefdk bundle to master:
13
19
 
14
20
  ```
@@ -48,6 +54,22 @@ Windows users from PowerShell use the bat file:
48
54
 
49
55
  If you don't want "master" you can use any other git tag/branch/sha/etc that git understands.
50
56
 
57
+ ## Execution and Target rubies
58
+
59
+ This does not need to be installed into the embedded ruby that you are doing the update on.
60
+
61
+ You can install this into an rvm gemset as a local user (for example) and run:
62
+
63
+ ```
64
+ rvmsudo appbundle-updater chef chef master
65
+ ```
66
+
67
+ It will invoke appbundle-updater via rvm (using your user ruby+gemset under sudo), but will
68
+ correctly break the bundle and setup the PATH in order to manipulate your /opt/chefdk or
69
+ /opt/chef ruby environment.
70
+
71
+ Only tested with RVM, but chruby and rbenv are usually simpler and easier.
72
+
51
73
  ## <a name="development"></a> Development
52
74
 
53
75
  * Source hosted at [GitHub][repo]
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = spec.description
13
13
  spec.homepage = ""
14
14
  spec.license = "Apache2"
15
+ spec.homepage = "https://github.com/chef/appbundle-updater"
15
16
 
16
17
  spec.files = `git ls-files`.split($/)
17
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appbundle-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist
@@ -42,7 +42,7 @@ files:
42
42
  - lib/appbundle_updater/version.rb
43
43
  - test/integration/bootstrap.ps1
44
44
  - test/integration/bootstrap.sh
45
- homepage: ''
45
+ homepage: https://github.com/chef/appbundle-updater
46
46
  licenses:
47
47
  - Apache2
48
48
  metadata: {}