cline 1.0.0 → 1.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/cline.gemspec +0 -16
- data/lib/cline/command.rb +1 -1
- data/lib/cline/version.rb +1 -1
- metadata +3 -7
data/cline.gemspec
CHANGED
|
@@ -12,22 +12,6 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
s.summary = %q{Show recently news on the terminal}
|
|
13
13
|
s.description = %q{Show recently news on the terminal.}
|
|
14
14
|
|
|
15
|
-
s.post_install_message = <<-EOM
|
|
16
|
-
**Important changes**
|
|
17
|
-
|
|
18
|
-
`tick` command usage has changed.
|
|
19
|
-
|
|
20
|
-
`cline tick OFFSET INTERVAL' -> `cline tick INTERVAL OFFSET'
|
|
21
|
-
|
|
22
|
-
**Cline server is available**
|
|
23
|
-
|
|
24
|
-
Cline uses daemon process if it's running.
|
|
25
|
-
|
|
26
|
-
$ cline server start # start server
|
|
27
|
-
$ cline server stop # stop server
|
|
28
|
-
$ cline server reload # reload config file
|
|
29
|
-
EOM
|
|
30
|
-
|
|
31
15
|
s.files = `git ls-files`.split("\n")
|
|
32
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
33
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
data/lib/cline/command.rb
CHANGED
|
@@ -111,7 +111,7 @@ module Cline
|
|
|
111
111
|
|
|
112
112
|
desc :recent, 'Show recent notification'
|
|
113
113
|
method_options limit: :integer
|
|
114
|
-
def recent(limit = options[:limit] ||
|
|
114
|
+
def recent(limit = options[:limit] || 10)
|
|
115
115
|
Notification.recent_notified.limit(limit).each do |notification|
|
|
116
116
|
puts notification.display_message
|
|
117
117
|
end
|
data/lib/cline/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-01-
|
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: thor
|
|
@@ -272,11 +272,7 @@ files:
|
|
|
272
272
|
- spec/tmp/.gitkeep
|
|
273
273
|
homepage: https://github.com/hibariya/cline
|
|
274
274
|
licenses: []
|
|
275
|
-
post_install_message:
|
|
276
|
-
changed.\n\n `cline tick OFFSET INTERVAL' -> `cline tick INTERVAL OFFSET'\n\n
|
|
277
|
-
\ **Cline server is available**\n\n Cline uses daemon process if it's running.\n\n
|
|
278
|
-
\ $ cline server start # start server\n $ cline server stop # stop server\n
|
|
279
|
-
\ $ cline server reload # reload config file\n"
|
|
275
|
+
post_install_message:
|
|
280
276
|
rdoc_options: []
|
|
281
277
|
require_paths:
|
|
282
278
|
- lib
|