xdite 1.5.0 → 1.5.1

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: a8ecd5e8da8f565b9dcb0e800971fa8507fa2e23
4
- data.tar.gz: 4124b7f1fd96b70aa079f04365b177b894e6c78f
3
+ metadata.gz: 8cd971985f01431766deb86dd4362d192cc7b3e3
4
+ data.tar.gz: 770a58bb23faba89c3266da7fc56e548680adb13
5
5
  SHA512:
6
- metadata.gz: 2ee9cb8e6ef28ae92481cb70a5481d2a2bc713f1c9014ba0a8b2271adf95802a023cb520efcda8985e4dd7d7f14b87408cc8333a78063bbee6957db7d9331cf3
7
- data.tar.gz: e2c7e1fd707b2bb0211ed046d51aa66d543138633eb96bbfd6a47c6fed99ba51a0149259595b92391922a3c8869f0ce7108a9d262adca68a0d4431eca8bdee9a
6
+ metadata.gz: 1f95bb8505af71493833f8fe1c154ffaae7ab09e7be1e8ba05e24432a92c1ec17592090ce427a7e93ffa1410b495cff16380d59b127bd97630186ab705425cd4
7
+ data.tar.gz: e167a20c03fb7180db8cb9f95af573975789dc3ea6cee60c4dbb0a8c9892699e11a4aa6752ef8b900a54018fc350a4ca7142d51d4e580aa86effa69edb3fc095
@@ -1,11 +1,12 @@
1
+ # encoding: utf-8
1
2
  module Xdite
2
3
  class << self
3
- # inline
4
+ # per line
4
5
  def says n = 1
5
6
  quotes.sample(n.to_i).join($/)
6
7
  end
7
8
 
8
- # per line
9
+ # inline
9
10
  def sentence n = 1
10
11
  quotes.sample(n.to_i).join
11
12
  end
@@ -27,7 +28,7 @@ module Xdite
27
28
  end
28
29
 
29
30
  def quotes
30
- @quotes ||= File.readlines(File.expand_path('../xdite/quotes.txt', __FILE__)).map &:strip
31
+ @quotes ||= File.readlines(File.expand_path('../xdite/quotes.txt', __FILE__)).map(&:strip)
31
32
  end
32
33
  end
33
34
  end
@@ -91,3 +91,4 @@ ZZZzzzzz
91
91
  應該要來給我當科技部長的。我的政見是在半年內造出 1000 個 Rails Developer 反攻世界。
92
92
  應該要來給我當科技部長的。
93
93
  我的政見是在半年內造出 1000 個 Rails Developer 反攻世界。
94
+ 是大兜要放過我吧,關我屁事
@@ -1,3 +1,3 @@
1
1
  module Xdite
2
- VERSION = '1.5.0'
3
- end
2
+ VERSION = '1.5.1'
3
+ 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.5.0
4
+ version: 1.5.1
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-27 00:00:00.000000000 Z
11
+ date: 2016-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -24,6 +24,48 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
27
69
  description: Command line tool taht prints famous quotes.
28
70
  email: tonytonyjan@gmail.com
29
71
  executables:
@@ -71,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
113
  version: '0'
72
114
  requirements: []
73
115
  rubyforge_project:
74
- rubygems_version: 2.3.0
116
+ rubygems_version: 2.6.4
75
117
  signing_key:
76
118
  specification_version: 4
77
119
  summary: Command line tool taht prints famous quotes.