orval 1932

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 03718af1424c7798384f28d5fa14d854167e096c
4
+ data.tar.gz: a59610eb52e9cbc54379aa48b53dc20e06415fe8
5
+ SHA512:
6
+ metadata.gz: fb6ace853690793955fe7c852621a5bc5bdfd8cce4a4918454e48fff4e92111444f62834cbfbf5ccf6cff1ebb2d82a380ea3adf3270375c08ed9f6f69c4464ca
7
+ data.tar.gz: ac097d1db90306819d618f0f5d53e96ed6cd2305cfab1f0a433828484d36063d200945ad265d783b4990a27476b5943447e74a8b1465820de82c45fb4c7baa89
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+ sudo: false
3
+ bundler_args: "--retry=8 --jobs=8"
4
+ rvm:
5
+ - 2.0
6
+ - 2.1
7
+ - 2.2
8
+ - ruby-head
9
+ matrix:
10
+ allow_failures:
11
+ - rvm: ruby-head
12
+ fast_finish: true
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem "bundler"
7
+ gem "rake"
8
+ gem "rspec"
9
+ end
data/LICENSE ADDED
@@ -0,0 +1,8 @@
1
+ /*
2
+ * ----------------------------------------------------------------------------
3
+ * "THE BEER-WARE LICENSE" (Revision 42):
4
+ * Juanito Fatas wrote this file. As long as you retain this notice you
5
+ * can do whatever you want with this stuff. If we meet some day, and you think
6
+ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7
+ * ----------------------------------------------------------------------------
8
+ */
@@ -0,0 +1,45 @@
1
+ # Orval
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/orval.svg)](https://badge.fury.io/rb/orval)
4
+ [![Build Status](https://travis-ci.org/JuanitoFatas/Orval.svg)](https://travis-ci.org/JuanitoFatas/Orval)
5
+
6
+ # http://www.orval.be
7
+
8
+ [![372px-orval_et_son_verre_crop](https://cloud.githubusercontent.com/assets/1000669/11506592/249f282c-988b-11e5-8d30-3e8c8d80328b.jpg)](https://wikipedia.org/wiki/Orval_Brewery)
9
+
10
+ [<kbd>Join the Orval Club!</kbd>](http://www.orval.club)
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem "orval"
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install orval
27
+
28
+ ## Usage
29
+
30
+ ```
31
+ $ orval
32
+ orval help [COMMAND] # Describe available commands or one specific command
33
+ orval join # Open Orval club website: http://www.orval.club
34
+ orval open # Open Orval website: http://www.orval.be
35
+ orval version # First made in 1931
36
+ orval wiki # Open Orval Wikipedia page
37
+ ```
38
+
39
+ ## Contributing
40
+
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/JuanitoFatas/orval.
42
+
43
+ ## License
44
+
45
+ The gem is available as open source under the terms of the [:beer: License](LICENSE).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "orval"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ Signal.trap("INT") { abort }
4
+
5
+ lib_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))
6
+ $LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
7
+
8
+ require "orval/cli"
9
+
10
+ Orval::CLI.start
@@ -0,0 +1,6 @@
1
+ require "orval/version"
2
+ require "orval/ascii"
3
+ require "orval/cli"
4
+
5
+ module Orval
6
+ end
@@ -0,0 +1,83 @@
1
+ module Orval
2
+ ASCII=<<-ART
3
+ `,.`
4
+ `,``````` .;`
5
+ ```````;`'`````,.
6
+ ````'`'+'.'`',:```,.
7
+ ```+`+`:.+`+ #.;```.,
8
+ ` .`,,'```#.```.+ ': ``,.
9
+ ````.+;`;..`,#+++.````.;+:````:`
10
+ `..``;:``;``,###,###+.````'+:`;```,
11
+ ....```:```'###:..`.+###'`` `:''`;.`.,
12
+ ...`'.`'```+#+#,`.`#:`` :##+#:` ;:'.,````,
13
+ `...;.+....+#++,```.#+#,``` `+###```.+```````.
14
+ ``.;,,`+:.,##+.```.''#`##':`` :##,````;``'`````
15
+ ````.'+`:`.:##,..`:';;#```##';;:`` `##'``````,.'````
16
+ ````'++''.``+##...''';;#.`#,`#+'';'; ``+#+.``..`';.```
17
+ ````+;#`.``.'###``.'';';#;`:.#`,#'';';; '+###;.``+`'`,``
18
+ ```: +,``,#####;``.;;;;;'#``+..#`##''';;;` `;+####,`,+`,'`
19
+ ``:.+#.`,###+:.```:';''';#``#..,.+`##;;';';:` `:##+``:.`:+`
20
+ ``.,;: `;##:`````.'';';''#:`+....:++###'';;;;;;, ```+##```;..:+```
21
+ `.;`+` `:+# `` .''';';;;;'+ ::..@';;;;;#';;;;;;;;';; ``+##,...;.#:#`
22
+ :.``;```+## ``'';;;;;;;;''#``+..,#'#;,';##;;;;'';;;'';.``:##+...,'`+. `
23
+ ,,+.````'#+'``,;;;;;;;;;'''#.`#.;#;#',..,;'#@;'''';'''''';```'###;..`,``'`
24
+ ` ``'+`;``;#+#,``:;;;;';;'''''+'`;,#.``#+..,.'',##';;;'''''''''````'###+,``+;`'
25
+ ` `:':```+#+#,```';;;;;;';;;;;'#``++````+'.,,;''+,#+''''''';';;;;, ` ,##+#, :: +`
26
+ `` :.'++``####, ``.';;';'';;;;;;;#. ##` @.`''@+#''##`+@''''';;'';';;;;. ` '###. #:' ``
27
+ `` +;``.+##+````,';'';';';;;;;;;#:`++,`:.'`:;#';'#..#`#@'''''';''''';;';;,` ``;##,``'````` `` ``
28
+ ```` ``::``###..``,''''';''';;;;;;;'+ `:+` . `.. '+.`...+`##''''''''''';';'';;;```.##;``````` ``````
29
+ `..`````````#+'```;';''';';;;;'';;';;# #,+ `',#```..;:,#+;';';'';'''''''';''; `#+#.``````````` `
30
+ ```````````++;``:'';;;';;'';;;;';;;'#: '.+ ```````+'`.`...#`'@'';;;;';;;'''''';;;''```+###;.``````` `
31
+ ` ````..`:###```''''';;';'''';;;';;;++`:,`+ `+........#`+#;;;'';''''';;'';';''', ` ;#####+`````` ` `
32
+ ````..:+####'.``'';;';'''''''''''';''#``'.,: `#`.........+`##;';'';'''';';;''''''';...``,'###:`````` `
33
+ ```.:####+:...,''''';;'''''''';';'';#.`++++,```` ```.###+#+++++++:.#+''''''''''';;''''''''';.....`.##;```.```
34
+ `..+##;......''';;;''';''''''''''''+'`:';;+` `` `+;';''''';'''+.'@'''';'';''''''''++++++'''',.```##+`..`````` ```
35
+ `..##'.,###@##+''''';''''''+++++#####`.++####+##`````#''#@@@@#@@+''#`@####@#'';;''''''#''''#@+'''''```'##;`..```````
36
+ `,##:,##''''''#@+''''''#+'+'''''''''+#@''+;';;;'#` `#''@'''''+#@#';##'''''@#;''''''''#''''+@@'''''',``.###;``````` `
37
+ ` ``'##.:#''''''''''##'''''#';''';'''''''''@'#;;;;;;##```#:#''''''@#@#,,@''''''##'''''''''+''''+@@''''''';`` ;####',`````
38
+ ` `;###`;#''''+@#+''''+#''''#;;;''''';;'''';;#,#''''''#;.`#:#'''''#@@#;;'+'''''''@@''''''''#''''+#@'''''''''`` ,+####:.```` `
39
+ `` `'####.``#''''+####+''''##'''#';;;;######:;;;;##'+:::::'#.`+@'''''+@@@+''@'''''''''##'''';''+'''''##'''''''';;;` `,###```
40
+ `` ####+````#;;';'@##';#;''''@@''#'''''@#####;;;;;+##+;;:;;;##`+''''''@#@@''#+'''''''''#@'''''''#'';''##'''''''';;;'':``` `'+#: `
41
+ ` .##+` ` `.'#;;;''@#+;'#'''''##''#'''''###'`#'''''+##`#;;';';#;+';'''+##@,,,@'''''''''''@#''';''#'';''##';';'''''';'';'';````##' `
42
+ ,+#,````:'''''''''@#'''@''''''#@'#'''''@@#@@#'''''###:;+;:;::+#;;';';####''@''''''@'+'+'+@'';';'#;'';'##'''''''''''''''''':`.`+##
43
+ ++#```;''';'+''''''@@'''@''''''#@'@''''';''''''''';###;;#+''''''';;;;@###;'++''++'#@+'''''#@;''';#;';''@@''''''''''''''''''';.``;##,
44
+ +++ ``';;''''#''''''@#'''@''''''#@#@''+'''+''''''''@#@#;;;#;;:;;;;;;'####,..@'''''+@@+''''''@+''';#;;;''##''';''''''''''';';';;,``+##.
45
+ `+#'``:;;''';;'#;'''''@#'''@'''+''@@#@''''''+'''''++#@##,..`##;;;;;:'''#@#+,,;+'''''#@@'#'''+'@@''''#;';''##''''''''''''''''''';,``###``
46
+ .+#, ;;;'';;';;+''''''@#+''@''''''@##@''++'@@@@@'''''###'''''#'';'''''####'''@''''''#@@##'''+'+@#'''#'''''@@@@@@@@@@''''''';'';.``+#+ ,;`
47
+ `:+#: ;;;;;;;;';+'''''##'''@'''''+##+#'''''@@@@##''''+#''''';+#::;;';'###;::#+'''''''''''+'''''+@'''#''''''';''''''@@+''';;;';``.##:```` `
48
+ .##+ :;';;;'''#;'';'##'''#;';''###'#'''''@#@,:#+''''##.....`##';'''@###.,,#'''''''''''''''''''@@';#''''';'';;;'''###''''',```'##,```
49
+ ### `.'''''';++';';+#+;'#;''''###'#'''''@##'.+@'''''@#'''''+#';;;####'''#''++'+''''''';'';''''@+;#''''''''';;;''@##''.``` .###`````
50
+ :##:```,;''';#';';;#+'#'''''###+'#'''''##@#.`##''''##''''''##::;###:#;'#'''''#@@@@@@@@@'';;;;#@;#''''''';;;;'''###:```,+###' ````````
51
+ ``###;`````;';#';;;;'+;';';####;;+;;'''@#@;#``#'''''@#.`````+#:###+`':#++++##@###@##@############@@@@@#@#@####@###``####'. `````
52
+ `` ;####+,```';++:::;;;;;+#+++';;+########''#``###@####''''';#+###` `#+#########.##'''''########'##@##@###########'##+. `` `
53
+ ` .'####:``;'##+';;'+####++;;;;########;;#+`;#######';;;::'##+' #.:#####@@;#@'''';';#######';#+++++++++++:,,###```````
54
+ `` ;###` .'++#+##++##+';;;;;;+#+++#+'''#:`#,,,,,,,,,::::##+ .+;;;;''#`;#';'';'';''';';;;;;;;';''''''```##+```` ``
55
+ `` `,##; `;;;+++++#';;;;;;;;;;;'#'''';'#.`#;;;;:::::',,,# #..`..,;.##';;#+#@+';';;;';;;;'''';;,```,##.````` `
56
+ ``##+ `,;;;;;;;;;;;;;;;;;;+#;;'';''#``+...,,,,:##:::+ '';;;;# ##;';+''''@#'''';;';';'';.````,+##`````
57
+ `````+#+` `:;;;;;;;;;;;;;+;#;'##';;++`,',,,,,..#`#``.' .'```+`+#;;;+'''''#@''';'''';';```.'#####`````
58
+ ```````:###+:` ` ;;';;;;;;;;;+;';+;#'+;;#;`'..`...;#`'.`.'. #``,:.#';;+;;''''+'''''''''';```##+##;``' `
59
+ `````` :+#+###`` '';';;;';#;#;;;;'#''+;#,`#....,#``:,.``#` #`.'`##;;;#+;;'''''''''';';,``###'````'';`.
60
+ `` `````:++#' `;;';;;';'''';+#';+'+;;#``#,;#+```::..`;' #.# ##;;;;##;+;;';;#''';;'`` ##+````.:::;.
61
+ `#'`````#+#``,';'''#;#';'#;;'+';;''+`'+;`````;,..``# ` #;,;#';;;;'##';;;;'';;;':```##; `',;;:
62
+ .,+'+.```'##.``;'''##'#+'#'+';#;;';#'`# `````;;;;;'# ``#+`#+;;;;;;##''';;+;;'.` ;#+, `'.'`:
63
+ `,''#:```##+````;''+;';+;''+;;;;';#;.# ``` `+;;'+;``,# ##;;;;;;;''#''+;': ```++##```' +`'
64
+ ,.''..``+###,```,;;##+;+;+;;;;;;;#. ###+ ` +##:```#`'#;;;';''''''''';```.##++. :.+#;
65
+ `.:.`.`,####'.``.';#'++;'';;;;''#``+;++ ```````,:,#+;;;'';'''''''.``:#+#'. ,,:+:
66
+ `,``+,``.;###+.``;'+;+;;;;';;''++`,''+'`````.:#.##';';''';'''''...###'``` `:;
67
+ . #:`````+###```''##+'''';'''#;`+;;;#'.,+#@.##'''';;;''''':..###,` + .
68
+ `':'``` '##,``';;+';'''''''#.`#''';'''+,;#''''''';';;;.``### ` :, +:
69
+ ``'+:.` `##'``:;'''''''''''#.`+'''''';.#+''''''''',````##'```,+;;;.
70
+ ```'';` +##.```,;''''''''+'.,+''''+`##''''''';..,.,'##;``.;+,,,
71
+ ` .:;` :#+#':`..,'''''''#'.;'''#.+#'''''';```'+##+#``.+:.+
72
+ ;.`'. `+##+##:..'''''''#,.#;+::#+''''':..'####:```+`` ;
73
+ ``,+````:++##..:;'''''#..#+.##''''':..###,.......,+ `
74
+ `.; ` '##``:'''''+#.,.+#'''';...##;` .+.,
75
+ ` .##:`..;'''#'.'#''',`.`,##,```````` `
76
+ `````` ``##+:```.''#,#+',```;###.`````````
77
+ `` +###+````'##.```;###+ ``
78
+ `;####,``,``.+##+:```````
79
+ ``` `'#++'``++#'. ` `
80
+ ,#+#+++` `
81
+ ;++.
82
+ ART
83
+ end
@@ -0,0 +1,29 @@
1
+ require "thor"
2
+ require "orval"
3
+ require "launchy"
4
+
5
+ module Orval
6
+ class CLI < Thor
7
+ desc "version", "First made in 1931"
8
+ def version
9
+ say Orval::ASCII
10
+ say Orval::VERSION.rjust(77)
11
+ end
12
+ map %w(-v --version) => :version
13
+
14
+ desc "open", "Open Orval website: http://www.orval.be"
15
+ def open
16
+ Launchy.open("http://www.orval.be")
17
+ end
18
+
19
+ desc "join", "Open Orval club website: http://www.orval.club"
20
+ def join
21
+ Launchy.open("http://www.orval.club")
22
+ end
23
+
24
+ desc "wiki", "Open Orval Wikipedia page"
25
+ def wiki
26
+ Launchy.open("https://wikipedia.org/wiki/Orval_Brewery")
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,3 @@
1
+ module Orval
2
+ VERSION = "1932"
3
+ end
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "orval/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "orval"
8
+ spec.version = Orval::VERSION
9
+ spec.authors = ["JuanitoFatas"]
10
+ spec.email = ["katehuang0320@gmail.com"]
11
+
12
+ spec.summary = %q{Orval (Beer) www.orval.be}
13
+ spec.description = %q{Orval is the main brand. It is a 6.2% abv beer. It was first made in 1931, and has a complex and unusual flavor and aroma produced by a unique strain of yeast: Brettanomyces lambicus. The beer is light in color, slightly cloudy, and has a large, foamy head. There is a complex aroma of leather, spice, and many other earthy components.}
14
+ spec.homepage = "http://www.orval.be"
15
+ spec.license = "Beerware"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables << "orval"
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "thor"
23
+ spec.add_dependency "launchy"
24
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: orval
3
+ version: !ruby/object:Gem::Version
4
+ version: '1932'
5
+ platform: ruby
6
+ authors:
7
+ - JuanitoFatas
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: launchy
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: 'Orval is the main brand. It is a 6.2% abv beer. It was first made in
42
+ 1931, and has a complex and unusual flavor and aroma produced by a unique strain
43
+ of yeast: Brettanomyces lambicus. The beer is light in color, slightly cloudy, and
44
+ has a large, foamy head. There is a complex aroma of leather, spice, and many other
45
+ earthy components.'
46
+ email:
47
+ - katehuang0320@gmail.com
48
+ executables:
49
+ - orval
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - ".gitignore"
54
+ - ".rspec"
55
+ - ".travis.yml"
56
+ - Gemfile
57
+ - LICENSE
58
+ - README.md
59
+ - Rakefile
60
+ - bin/console
61
+ - bin/setup
62
+ - exe/orval
63
+ - lib/orval.rb
64
+ - lib/orval/ascii.rb
65
+ - lib/orval/cli.rb
66
+ - lib/orval/version.rb
67
+ - orval.gemspec
68
+ homepage: http://www.orval.be
69
+ licenses:
70
+ - Beerware
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubyforge_project:
88
+ rubygems_version: 2.4.8
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Orval (Beer) www.orval.be
92
+ test_files: []
93
+ has_rdoc: