dev_dock 0.1.0 → 0.1.1

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: f1a1ac8d0d731242619e6b019959babddc67264c
4
- data.tar.gz: 44fef0dbde06722769ea7e31040b810c1ed130a1
3
+ metadata.gz: 7f457c1a24b2f1d8ae0d9545eff97f60123ca6d4
4
+ data.tar.gz: 91c64ee4122a9682fd38bcf2121222c1ceb1d09d
5
5
  SHA512:
6
- metadata.gz: 222e0fbbd9a69a97383a79c3c5d72ef9bd21a997e989debf7a72c5accb8f93d2a75112951c75979408b63b8396759461c061c6a8796761aafeb27249885003e7
7
- data.tar.gz: 8c69529e65f2949cd445fea3a2001cc073268a3c37489865ad8a800aa96b40bd26eb409d9894536259917141946ab93fffb622bec142db3d5459441aa86dae8c
6
+ metadata.gz: f867c192a59fe4bc827b3505e6e4c4f5e289c8b01110ef1171ec9551a77afb2bfeafa0cdf17bc8e179f7b5a5e2d0f30815cb116b8e055bd89882cf8ddabc4e0d
7
+ data.tar.gz: d5d7d44adb462f224a5c22781b451aade48d94bf1470a38c58d4b9890e52444e6d5ba55cda45cfc291d7d7fd6dae5d25972d7659eb8ec749932cbd9e039965a1
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
-
9
+ /*.gem
10
+ /vendor
10
11
  # rspec failure tracking
11
12
  .rspec_status
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dev_dock (0.1.0)
4
+ dev_dock (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,39 +1,34 @@
1
1
  # DevDock
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/dev_dock`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ A command utility to manage containerized development environments.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
5
 
7
6
  ## Installation
8
7
 
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'dev_dock'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
8
  $ gem install dev_dock
22
9
 
23
10
  ## Usage
24
11
 
25
- TODO: Write usage instructions here
12
+ Run `dev_dock --help` for full instructions.
26
13
 
27
14
  ## Development
28
15
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
16
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
17
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
18
+ prompt that will allow you to experiment.
30
19
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
20
+ To install this gem onto your local machine, run `bundle exec rake install`. To
21
+ release a new version, update the version number in `version.rb`, and then run
22
+ `bundle exec rake release`, which will create a git tag for the version, push
23
+ git commits and tags, and push the `.gem` file to
24
+ [rubygems.org](https://rubygems.org).
32
25
 
33
26
  ## Contributing
34
27
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dev_dock.
28
+ Bug reports and pull requests are welcome on GitHub at
29
+ https://github.com/[USERNAME]/dev_dock.
36
30
 
37
31
  ## License
38
32
 
39
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
33
+ The gem is available as open source under the terms of the
34
+ [MIT License](https://opensource.org/licenses/MIT).
data/bin/dev_dock CHANGED
@@ -2,12 +2,9 @@
2
2
 
3
3
  require 'dev_dock'
4
4
 
5
- $help_text = <<TEXT
6
- dev_dock <command> <options>
7
- TEXT
8
-
9
5
  def help(code = 1)
10
- puts $help_text
6
+ helpfile = File.expand_path('../../help.txt', __FILE__)
7
+ puts File.read(helpfile)
11
8
  exit code
12
9
  end
13
10
 
data/help.txt ADDED
@@ -0,0 +1,10 @@
1
+ dev_dock <command> <options>
2
+
3
+ subcommands:
4
+
5
+ start <image>
6
+ Start a development session.
7
+
8
+ purge <image>
9
+ Kill your container and remove all volumes tied to it.
10
+
@@ -1,3 +1,3 @@
1
1
  module DevDock
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_dock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AGhost-7
@@ -73,6 +73,7 @@ files:
73
73
  - bin/dev_dock
74
74
  - bin/setup
75
75
  - dev_dock.gemspec
76
+ - help.txt
76
77
  - lib/dev_dock.rb
77
78
  - lib/dev_dock/container.rb
78
79
  - lib/dev_dock/image.rb