mineworker 0.0.1

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.
data/.gitignore ADDED
@@ -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 mineworker.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/lib/mineworker.rb ADDED
@@ -0,0 +1,22 @@
1
+ require "mineworker/version"
2
+
3
+ module Mineworker
4
+ def mine.md
5
+ options = [:hard_wrap, :filter_html, :autolink, :no_intraemphasis, :fenced_code, :gh_blockcode]
6
+ Redcarpet.new(text, *options).to_html).html_safe
7
+ end
8
+
9
+ def mine.tweet
10
+ client.update(text)
11
+ end
12
+
13
+ def mine.loc
14
+ Twitter.user(user).location
15
+ end
16
+
17
+ def mine.tline1
18
+ Twitter.user_timeline(user).first.text
19
+
20
+ end
21
+
22
+
@@ -0,0 +1,3 @@
1
+ module Mineworker
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "mineworker/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "mineworker"
7
+ s.version = Mineworker::VERSION
8
+ s.authors = ["cookiebatch"]
9
+ s.email = ["keymint1498@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{A sort of "method framework", if you would.}
12
+ s.description = %q{Mineworker is a bunch of methods for using with other gems (currently Redcarpet and Twitter)}
13
+
14
+ s.rubyforge_project = "mineworker"
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 "rest-client"
24
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mineworker
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - cookiebatch
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-10-31 00:00:00 Z
19
+ dependencies: []
20
+
21
+ description: Mineworker is a bunch of methods for using with other gems (currently Redcarpet and Twitter)
22
+ email:
23
+ - keymint1498@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - .gitignore
32
+ - Gemfile
33
+ - Rakefile
34
+ - lib/mineworker.rb
35
+ - lib/mineworker/version.rb
36
+ - mineworker.gemspec
37
+ homepage: ""
38
+ licenses: []
39
+
40
+ post_install_message:
41
+ rdoc_options: []
42
+
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ hash: 3
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
63
+ requirements: []
64
+
65
+ rubyforge_project: mineworker
66
+ rubygems_version: 1.8.11
67
+ signing_key:
68
+ specification_version: 3
69
+ summary: A sort of "method framework", if you would.
70
+ test_files: []
71
+
72
+ has_rdoc: