xdite 1.0.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c024e9c466e8724b43f455d2cbe2cc9f05015d01
4
+ data.tar.gz: 776b1c0365c9f53b1175ce4247512ff7b6573c87
5
+ SHA512:
6
+ metadata.gz: 2687de6d1dc335661daeb80b3c599ec90948e8db9b45920ed3e57274a36111c922c06b7f164a19bbbcc7bee9f573aa08ce8c2638f6c7bfa45e6b26e111c38be1
7
+ data.tar.gz: 7a9ebf2d02a0812967bfacf0a7e1185b0f39a67fcfcc7d7626b759ef9f97b4203fab9a6f448fe8988d525eac638d354dc59196770ea38cf618233dec1f3f1fb4
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require 'xdite/cli'
3
+ Xdite::Cli.start(ARGV)
@@ -0,0 +1,7 @@
1
+ module Xdite
2
+ class << self
3
+ def says
4
+ File.readlines(File.expand_path('../xdite/quotes.txt', __FILE__)).sample
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ require 'xdite'
2
+ require 'thor'
3
+
4
+ module Xdite
5
+ class Cli < Thor
6
+ default_task :says
7
+ desc 'says', 'prints a famous quote'
8
+ def says
9
+ puts Xdite.says
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,4 @@
1
+ 根據統計我講的東西,兩年後大眾才能看懂
2
+ 這個國家只有我懂先進的技術
3
+ 我身上有開外掛:我的智商135+,還有變態等級的速讀能力(9000+/min)
4
+ Zzzz
@@ -0,0 +1,3 @@
1
+ module Xdite
2
+ VERSION = '1.0.0'
3
+ end
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xdite
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Tony Jian
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-06-21 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
+ description: Command line tool taht prints famous quotes.
28
+ email: tonytonyjan@gmail.com
29
+ executables:
30
+ - xdite
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - bin/xdite
35
+ - lib/xdite.rb
36
+ - lib/xdite/cli.rb
37
+ - lib/xdite/quotes.txt
38
+ - lib/xdite/version.rb
39
+ homepage:
40
+ licenses:
41
+ - MIT
42
+ metadata: {}
43
+ post_install_message: |
44
+ ============================================
45
+ Thanks for installing!
46
+ A new command `xdite` was added, enjoy!
47
+ ============================================
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubyforge_project:
63
+ rubygems_version: 2.3.0
64
+ signing_key:
65
+ specification_version: 4
66
+ summary: Command line tool taht prints famous quotes.
67
+ test_files: []