fart 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/bin/fart +10 -0
- data/bin/test.rb +10 -0
- data/fart.gemspec +27 -0
- data/lib/fart.rb +11 -0
- data/lib/fart/cli.rb +16 -0
- data/lib/fart/fart.mp3 +0 -0
- data/lib/fart/version.rb +3 -0
- metadata +79 -0
data/.DS_Store
ADDED
Binary file
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/fart
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
|
4
|
+
require 'rubygems' unless defined?(Gem)
|
5
|
+
# require 'bundler/setup'
|
6
|
+
|
7
|
+
lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
|
8
|
+
$LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)
|
9
|
+
require 'fart/cli'
|
10
|
+
Fart::CLI.start
|
data/bin/test.rb
ADDED
data/fart.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "fart/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "fart"
|
7
|
+
s.version = Fart::VERSION
|
8
|
+
s.authors = ["Manish Das"]
|
9
|
+
s.email = ["manishlaldas.md@gmail.com"]
|
10
|
+
s.homepage = "http://manishdas.github.com"
|
11
|
+
s.summary = %q{Write a gem summary}
|
12
|
+
s.description = %q{Write a gem description}
|
13
|
+
|
14
|
+
s.rubyforge_project = "fart"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = ["fart"]
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
# specify any dependencies here; for example:
|
22
|
+
s.add_dependency "thor", "~> 0.14"
|
23
|
+
|
24
|
+
s.add_development_dependency "bundler", "~> 1.0.0"
|
25
|
+
# s.add_development_dependency "rspec"
|
26
|
+
# s.add_runtime_dependency "rest-client"
|
27
|
+
end
|
data/lib/fart.rb
ADDED
data/lib/fart/cli.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'thor'
|
2
|
+
require File.expand_path('../../fart', __FILE__)
|
3
|
+
|
4
|
+
module Fart
|
5
|
+
class CLI < Thor
|
6
|
+
include Thor::Actions
|
7
|
+
default_task :fart
|
8
|
+
|
9
|
+
desc "fart", "Plays fart noise"
|
10
|
+
def fart
|
11
|
+
say("Playing Fart Noise......", :yellow)
|
12
|
+
Paad.play()
|
13
|
+
say("Played Fart Noise", :green)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/fart/fart.mp3
ADDED
Binary file
|
data/lib/fart/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fart
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Manish Das
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-04-13 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: thor
|
16
|
+
requirement: &70325548218920 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.14'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70325548218920
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bundler
|
27
|
+
requirement: &70325548218420 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70325548218420
|
36
|
+
description: Write a gem description
|
37
|
+
email:
|
38
|
+
- manishlaldas.md@gmail.com
|
39
|
+
executables:
|
40
|
+
- fart
|
41
|
+
extensions: []
|
42
|
+
extra_rdoc_files: []
|
43
|
+
files:
|
44
|
+
- .DS_Store
|
45
|
+
- .gitignore
|
46
|
+
- Gemfile
|
47
|
+
- Rakefile
|
48
|
+
- bin/fart
|
49
|
+
- bin/test.rb
|
50
|
+
- fart.gemspec
|
51
|
+
- lib/fart.rb
|
52
|
+
- lib/fart/cli.rb
|
53
|
+
- lib/fart/fart.mp3
|
54
|
+
- lib/fart/version.rb
|
55
|
+
homepage: http://manishdas.github.com
|
56
|
+
licenses: []
|
57
|
+
post_install_message:
|
58
|
+
rdoc_options: []
|
59
|
+
require_paths:
|
60
|
+
- lib
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
requirements: []
|
74
|
+
rubyforge_project: fart
|
75
|
+
rubygems_version: 1.8.16
|
76
|
+
signing_key:
|
77
|
+
specification_version: 3
|
78
|
+
summary: Write a gem summary
|
79
|
+
test_files: []
|