rainbros 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in rainbros.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $:.unshift File.expand_path('../../lib', __FILE__)
4
+ require 'rainbros'
5
+
6
+ Rainbros.bro_it_out!
@@ -0,0 +1,21 @@
1
+ require "rainbros/version"
2
+
3
+ module Rainbros
4
+ module_function
5
+ def bro_it_out!
6
+ cmd = 'dicks | lolcat'
7
+ if ARGV[0] && ARGV[0] == "forever"
8
+ while true
9
+ exit! unless system(cmd)
10
+ end
11
+ else
12
+ bros = ARGV.first || 4
13
+
14
+ if (bros = bros.to_i) > 0
15
+ bros.times { exit! unless system(cmd) }
16
+ else
17
+ system("echo 'y u no want rainbros?' | lolcat")
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,3 @@
1
+ module Rainbros
2
+ VERSION = "0.0.5"
3
+ end
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "rainbros/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "rainbros"
7
+ s.version = Rainbros::VERSION
8
+ s.authors = ["ian asaff"]
9
+ s.email = ["ian.asaff@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{This gem prints rainbros to your console}
12
+ s.description = %q{Most super awesome gem that makes you think of your awesome multicultural bros.}
13
+
14
+ s.rubyforge_project = "rainbros"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ # specify any dependencies here; for example:
22
+ # s.add_development_dependency "rspec"
23
+ s.add_runtime_dependency "dicks"
24
+ s.add_runtime_dependency "lolcat"
25
+ end
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rainbros
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - ian asaff
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: dicks
16
+ requirement: &70337698684020 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70337698684020
25
+ - !ruby/object:Gem::Dependency
26
+ name: lolcat
27
+ requirement: &70337698683600 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70337698683600
36
+ description: Most super awesome gem that makes you think of your awesome multicultural
37
+ bros.
38
+ email:
39
+ - ian.asaff@gmail.com
40
+ executables:
41
+ - rainbros
42
+ extensions: []
43
+ extra_rdoc_files: []
44
+ files:
45
+ - .gitignore
46
+ - Gemfile
47
+ - Rakefile
48
+ - bin/rainbros
49
+ - lib/rainbros.rb
50
+ - lib/rainbros/version.rb
51
+ - rainbros.gemspec
52
+ homepage: ''
53
+ licenses: []
54
+ post_install_message:
55
+ rdoc_options: []
56
+ require_paths:
57
+ - lib
58
+ required_ruby_version: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ requirements: []
71
+ rubyforge_project: rainbros
72
+ rubygems_version: 1.8.10
73
+ signing_key:
74
+ specification_version: 3
75
+ summary: This gem prints rainbros to your console
76
+ test_files: []
77
+ has_rdoc: