xdite 1.3.6 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a88a9042867e8a6e86ba14f1d0975b354c10c1a
4
- data.tar.gz: 216c194648847ef40e499396b0ee72f3d8352900
3
+ metadata.gz: eb65240f6f57b295a1a684cbc7b07d360501d995
4
+ data.tar.gz: bee7be7fa9baa47f544d0385f0c3e44ef42af347
5
5
  SHA512:
6
- metadata.gz: 34534f15edd4b42401289e763a061a640e1a2193fc95fd1c4c9221a984e1363d1b3d5644136bdf0e8b3f5706070a73127d50df3a67f2865dcf922d2958f96ac9
7
- data.tar.gz: a554e4e2dbdd22a72e1a19f5a9dc00c2e3def9a4a0a91f3f154d617a2aa8daa77730bdf4498ab8c729d7242143c964345440778af901d824cc8571f7d2b0b75e
6
+ metadata.gz: 69d4bf66860a98440a9006b96f7b1638113c30b0fed1d6c91ab46682e169986746aef5b2f3bfdafd16a745b7f29404c7b2d067e458485bf7bb014403d4cd5698
7
+ data.tar.gz: 3e4911a9e6195c41bfab923c55e04a6ca946d0daac1a6e61895e76c4d9dc61baaabf78826fa3369c26d4858e6e8acaf0d87affaf9f7164e7a0cb27b2ea43cb54
data/lib/xdite/cli.rb CHANGED
@@ -20,6 +20,12 @@ module Xdite
20
20
  puts Xdite.paragraph(number, per_paragraph)
21
21
  end
22
22
 
23
+ desc 'apologize', 'Prints apology'
24
+ def apologize
25
+ puts Xdite.apologize
26
+ end
27
+
28
+
23
29
  desc 'version', 'Prints version'
24
30
  def version
25
31
  puts Xdite::VERSION
@@ -31,4 +37,4 @@ module Xdite
31
37
  end
32
38
  end
33
39
  end
34
- end
40
+ end
data/lib/xdite/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xdite
2
- VERSION = '1.3.6'
2
+ VERSION = '1.4.6'
3
3
  end
data/lib/xdite.rb CHANGED
@@ -16,8 +16,12 @@ module Xdite
16
16
  ret.join("\n\n")
17
17
  end
18
18
 
19
+ def apologize
20
+ "別人變造我的講法還甚至發明我沒講過的話。那我到底要對這些內容去道歉什麼?"
21
+ end
22
+
19
23
  def quotes
20
24
  @quotes ||= File.readlines(File.expand_path('../xdite/quotes.txt', __FILE__)).map &:strip
21
25
  end
22
26
  end
23
- end
27
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xdite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Jian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor