Skip to content

Commit 63af929

Browse files
committed
gem publish, version 0.1.1
1 parent ef983f5 commit 63af929

28 files changed

+149
-95
lines changed

.DS_Store

6 KB
Binary file not shown.

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in facy.gemspec
4+
gemspec

Gemfile.lock

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
PATH
2+
remote: .
3+
specs:
4+
facy (0.0.1)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
activesupport (4.0.4)
10+
i18n (~> 0.6, >= 0.6.9)
11+
minitest (~> 4.2)
12+
multi_json (~> 1.3)
13+
thread_safe (~> 0.1)
14+
tzinfo (~> 0.3.37)
15+
addressable (2.3.6)
16+
eventmachine (1.0.3)
17+
faraday (0.9.0)
18+
multipart-post (>= 1.2, < 3)
19+
i18n (0.6.9)
20+
koala (1.10.0)
21+
addressable
22+
faraday
23+
multi_json
24+
launchy (2.4.2)
25+
addressable (~> 2.3)
26+
minitest (4.7.5)
27+
multi_json (1.10.1)
28+
multipart-post (2.0.0)
29+
thread_safe (0.3.3)
30+
tzinfo (0.3.39)
31+
32+
PLATFORMS
33+
ruby
34+
35+
DEPENDENCIES
36+
activesupport (~> 4.0)
37+
bundler (~> 1.5)
38+
eventmachine (~> 1.0)
39+
facy!
40+
koala (~> 1.10)
41+
launchy (~> 2.4)

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

LICENSE.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2014 dxhuy1988
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
1-
facy
2-
====
1+
# Facy
32

4-
facebook fancy simple terminal interface
3+
TODO: Write a gem description
4+
5+
## Installation
6+
7+
Add this line to your application's Gemfile:
8+
9+
gem 'facy'
10+
11+
And then execute:
12+
13+
$ bundle
14+
15+
Or install it yourself as:
16+
17+
$ gem install facy
18+
19+
## Usage
20+
21+
TODO: Write usage instructions here
22+
23+
## Contributing
24+
25+
1. Fork it ( http://github.com/<my-github-username>/facy/fork )
26+
2. Create your feature branch (`git checkout -b my-new-feature`)
27+
3. Commit your changes (`git commit -am 'Add some feature'`)
28+
4. Push to the branch (`git push origin my-new-feature`)
29+
5. Create new Pull Request

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require "bundler/gem_tasks"

bin/facy

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env ruby
2+
print "\e[31m"
3+
puts %q{
4+
_/ ____\____ ____ ___.__.
5+
\ __\\__ \ _/ ___< | |
6+
| | / __ \\ \___\___ |
7+
|__| (____ /\___ > ____|
8+
\/ \/\/
9+
}
10+
print "\e[0m"
11+
require 'facy'
12+
Facy.start({})

config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
app_id: 666851166740481
2-
app_token: 666851166740481|VfThRE5Qraib9yhri8BLoSpE6pc
3-
app_secret: efa360c9db9c38c824d3b31b87b21b4e
1+
app_id:
2+
app_token:
3+
app_secret:
44
redirect_uri: https://www.facebook.com/connect/login_success.html
55
permission: friends_status,manage_notifications,publish_actions,read_friendlists,read_stream,user_status

facy.gemspec

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'facy/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = "facy"
8+
spec.version = Facy::VERSION
9+
spec.authors = ["dxhuy1988"]
10+
spec.email = ["[email protected]"]
11+
spec.summary = %q{facy: terminal client for facebook}
12+
spec.description = %q{facy: first colorful terminal client for facebook}
13+
spec.homepage = "https://github.com/huydx/facy"
14+
spec.license = "MIT"
15+
16+
spec.files = `git ls-files`.split("\n") + ['config.yml']
17+
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19+
spec.require_paths = ["lib"]
20+
21+
spec.add_development_dependency "bundler", "~> 1.5"
22+
spec.add_development_dependency "koala", "~>1.10"
23+
spec.add_development_dependency "activesupport", "~>4.0"
24+
spec.add_development_dependency "launchy", "~>2.4"
25+
spec.add_development_dependency "eventmachine", "~>1.0"
26+
end

0 commit comments

Comments
 (0)