brah 0.1.0 → 0.3.0
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 +4 -4
- data/.gitignore +2 -0
- data/.ruby-version +1 -0
- data/Dockerfile +12 -0
- data/Gemfile +2 -0
- data/README.md +10 -31
- data/Rakefile +12 -0
- data/bin/brah +1 -1
- data/brah.gemspec +2 -1
- data/images/vape_naysh.jpg +0 -0
- data/lib/brah/version.rb +1 -1
- data/lib/brah.rb +0 -2
- data/vendor/cache/metaclass-0.0.4.gem +0 -0
- data/vendor/cache/minitest-5.9.0.gem +0 -0
- data/vendor/cache/mocha-1.1.0.gem +0 -0
- data/vendor/cache/rake-10.5.0.gem +0 -0
- data/vendor/cache/slop-4.3.0.gem +0 -0
- metadata +26 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05273303f78967cd80db608dd44e0c4031b530c3
|
4
|
+
data.tar.gz: 1caee6df1b3ac990d701c02534703c1133ff26a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddc45ff4a965062d9103ffe1e944140b658e334af0af29d12d31dbcfab3957903737c3e9133df20dd9fd13dae694b7a1de51cccfc3cf5cefca3fbeea68c7f67a
|
7
|
+
data.tar.gz: 99775fab706fdff08407052d1e8a15f8252b8ffa643fe6ab21d9e5ea821c9b67517a97b4d8fab176c41fce7f85fcd14b4815001e397864e15eba97df640589b2
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.1
|
data/Dockerfile
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,41 +1,20 @@
|
|
1
1
|
# Brah
|
2
2
|
|
3
|
-
|
3
|
+
[](https://circleci.com/gh/trayo/brah)
|
4
|
+
[](http://waffle.io/trayo/brah)
|
4
5
|
|
5
|
-
|
6
|
+
This gem opens a webpage of your GitHub repo regardless if it's public or private, brah.
|
6
7
|
|
7
|
-
|
8
|
+

|
8
9
|
|
9
|
-
|
10
|
+
## Installation
|
10
11
|
|
11
|
-
```ruby
|
12
|
-
gem 'brah'
|
13
12
|
```
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install brah
|
13
|
+
$ gem install brah
|
14
|
+
```
|
22
15
|
|
23
16
|
## Usage
|
24
17
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
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).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/brah.
|
36
|
-
|
37
|
-
|
38
|
-
## License
|
39
|
-
|
40
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
18
|
+
```
|
19
|
+
$ brah
|
20
|
+
```
|
data/Rakefile
CHANGED
@@ -8,3 +8,15 @@ Rake::TestTask.new(:test) do |t|
|
|
8
8
|
end
|
9
9
|
|
10
10
|
task :default => :test
|
11
|
+
|
12
|
+
desc "Build the docker image"
|
13
|
+
task :docker_build do
|
14
|
+
gem_version=`cat lib/brah/version.rb`.match(/\d\.\d\.\d/)[0]
|
15
|
+
puts %x[docker build --build-arg GEM_VERSION=#{gem_version} -t brah .]
|
16
|
+
end
|
17
|
+
task :docker_build_image => :docker_build
|
18
|
+
|
19
|
+
desc "Run brah to check it's installed"
|
20
|
+
task :docker_run do
|
21
|
+
puts %x[docker run -it --rm brah brah -h]
|
22
|
+
end
|
data/bin/brah
CHANGED
data/brah.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.bindir = "bin"
|
18
|
-
spec.executables =
|
18
|
+
spec.executables = ["brah"]
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.12"
|
@@ -23,4 +23,5 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "mocha", "~> 1.1"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
25
|
spec.add_development_dependency "slop", "~> 4.3"
|
26
|
+
spec.add_runtime_dependency "slop", "~> 4.3"
|
26
27
|
end
|
Binary file
|
data/lib/brah/version.rb
CHANGED
data/lib/brah.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brah
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Yoder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,23 +80,46 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '4.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: slop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.3'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.3'
|
83
97
|
description:
|
84
98
|
email:
|
85
99
|
- trayoda@gmail.com
|
86
|
-
executables:
|
100
|
+
executables:
|
101
|
+
- brah
|
87
102
|
extensions: []
|
88
103
|
extra_rdoc_files: []
|
89
104
|
files:
|
90
105
|
- ".gitignore"
|
106
|
+
- ".ruby-version"
|
91
107
|
- ".travis.yml"
|
108
|
+
- Dockerfile
|
92
109
|
- Gemfile
|
93
110
|
- LICENSE.txt
|
94
111
|
- README.md
|
95
112
|
- Rakefile
|
96
113
|
- bin/brah
|
97
114
|
- brah.gemspec
|
115
|
+
- images/vape_naysh.jpg
|
98
116
|
- lib/brah.rb
|
99
117
|
- lib/brah/version.rb
|
118
|
+
- vendor/cache/metaclass-0.0.4.gem
|
119
|
+
- vendor/cache/minitest-5.9.0.gem
|
120
|
+
- vendor/cache/mocha-1.1.0.gem
|
121
|
+
- vendor/cache/rake-10.5.0.gem
|
122
|
+
- vendor/cache/slop-4.3.0.gem
|
100
123
|
homepage: https://github.com/trayo/brah
|
101
124
|
licenses:
|
102
125
|
- MIT
|