brewer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -2
  3. data/README.md +7 -54
  4. data/brewer.gemspec +3 -3
  5. metadata +1 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b86f3d75b1d354cfdcf38a63642d7a52be64c3c
4
- data.tar.gz: f232eab1e3215a004b5ff7b8a56ab9ff4217fbb1
3
+ metadata.gz: da725bf45d640d2ed47f8a601cc284ab9b15c1a0
4
+ data.tar.gz: 838e8508e686b98742504e13892de6a053f9b2ae
5
5
  SHA512:
6
- metadata.gz: 9bbcbf1792de044a7cff07de73cc398ddd7a5d3844b63e9953be41599c4b69296749c1bf7f17234936c0d3bcf4e3d78178d3bc878edf0d8cf4e65d9e1527cd2e
7
- data.tar.gz: f21c3b08aeccdd6dc3d0e4302582dd90b5ab78bf153ccdf9914a98e3bb6bc32c199ceed25f30839c9dc3e4f30b70647eeff10486a8e32013894f49752f435a9a
6
+ metadata.gz: 90ea6dd021aac2324ed5db78153164862f39eeb5d4bdd4ae13a3f6735480f9ca11bcbc114ce14a4fad593ff42681d0b8582971c6b7510a92967626381ccf5785
7
+ data.tar.gz: ac50e2c7f4f0e94bfa07fe1f8c002601f383c15983fd399e754dd7f4901c525196b1b49645c12691d19a8daa79d65971d097de9a7ab1d22608369c132f64bf5d
data/Gemfile CHANGED
@@ -6,8 +6,6 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  gem 'ripl'
9
- gem 'ripl-play'
10
- gem 'ripl-multi_line'
11
9
  gem 'git'
12
10
 
13
11
  group :test do
data/README.md CHANGED
@@ -4,64 +4,17 @@
4
4
  # Disclaimer
5
5
  This is just an API to make adaptibrew more user friendly. It will provide a clean shell and easy to understand methods for all the actions you need to control your brew rig. This will require an actual brew rig and all the equipment listed in [adaptiman/adaptibrew](https://github.com/adaptiman/adaptibrew). If you are looking to build an automated brew rig, **this is not the place to start**. Head over to [adaptiman/adaptibrew](https://github.com/adaptiman/adaptibrew), or hit up [adaptiman](https://github.com/adaptiman).
6
6
 
7
- # Running
8
- You'll need Ruby installed of course.
9
-
10
- First, you need to install missing gems. To do that, run
7
+ # Installation
8
+ This package is a weird half-breed Frankenstein's monster type of thing. You can install it as a gem with
11
9
  ```shell
12
- bundle install
10
+ gem install brewer
13
11
  ```
14
- from inside the root directory. If there are any errors, bundler will probably tell you how to solve them. Otherwise, gg wp.
15
-
16
- To initialize, run
12
+ and `require 'brewer'` in your ruby code, or run
17
13
  ```shell
18
14
  brewer
19
15
  ```
20
- from inside the root directory. This will open up a Ripl shell. It looks like this:
21
- ```shell
22
- >>
23
- ```
24
-
25
- **If that doesn't work**, the `brewer` file might not be executable. Run
26
- ```shell
27
- sudo chmod +x brewer
28
- ```
29
- to make it executable and try again.
30
-
31
- # Testing & Rake
32
- Run
33
- ```shell
34
- rake test
35
- ```
36
- to run all tests. You can run a specific test case with
37
- ```shell
38
- rake test['adaptibrew']
39
- ```
40
- This will run `tests/tc_adaptibrew.rb`. You can of course change `adaptibrew` to another `tc_*.rb` in order to run specific test cases.
16
+ to open an interactive shell to control your brew rig in realtime. Fancy.
41
17
 
42
- A code coverage report will be created in `coverage/` upon testing. Checkout `coverage/index.html` to view the report. You can also run
43
- ```shell
44
- rake coverage
45
- ```
46
- to see the coverage report.
47
-
48
- ## Other rake commands
49
-
50
- Delete, clone, or refresh (delete and re-clone), with
51
- ```shell
52
- rake adaptibrew['clear']
53
- rake adaptibrew['clone']
54
- rake adaptibrew['refresh']
55
- ```
56
18
  # Documentation
57
- **Warning: RDoc have a seizure when encountering Gemfiles, Rakefiles, etc. Basically files that don't end in `.rb` but have ruby syntax. Docs will be a bit weird on those files. I suggest just reading the comments in source.**
58
-
59
- Run
60
- ```shell
61
- rdoc
62
- ```
63
- to generate/update documentation, and run
64
- ```shell
65
- rake docs
66
- ```
67
- to open documentation.
19
+ **Warning: RDoc may have a seizure when encountering Gemfiles, Rakefiles, etc. Basically files that don't end in `.rb` but have ruby syntax. Docs will be a bit weird on those files. I suggest just reading the comments in source.**
20
+ Documentation is in `doc/` or on rubygems.org
@@ -2,7 +2,7 @@ require 'rake'
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "brewer"
5
- s.version = "0.0.5"
5
+ s.version = "0.0.6"
6
6
  s.default_executable = "brewer"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.summary = %q{A shell interface for adaptibrew}
21
21
  s.license = 'MIT'
22
22
 
23
+ # TODO: update these versions
24
+
23
25
  s.add_runtime_dependency 'git', '>=0.0.0'
24
26
  s.add_runtime_dependency 'ripl', '>=0.0.0'
25
- s.add_runtime_dependency 'ripl-play', '>=0.0.0'
26
- s.add_runtime_dependency 'ripl-multi-line', '>=0.0.0'
27
27
 
28
28
  s.add_development_dependency 'rake', '>=0.0.0'
29
29
  s.add_development_dependency 'test-unit', '>=0.0.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Sweeney
@@ -38,34 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.0.0
41
- - !ruby/object:Gem::Dependency
42
- name: ripl-play
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 0.0.0
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 0.0.0
55
- - !ruby/object:Gem::Dependency
56
- name: ripl-multi-line
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: 0.0.0
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: 0.0.0
69
41
  - !ruby/object:Gem::Dependency
70
42
  name: rake
71
43
  requirement: !ruby/object:Gem::Requirement