rubcat 0.1.0 → 0.2.0

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: 0a35fae84b7496cbd5a933f78ea5805780c04f7e
4
- data.tar.gz: 90707fddbf577dab159f83ae22946756a0c54560
3
+ metadata.gz: f63a121a44be1405918038ea696c903ffaebda06
4
+ data.tar.gz: 7f9395a5379fbcaa0f2396c0fc900c369af1674d
5
5
  SHA512:
6
- metadata.gz: a8a02c5bcb9ecc5c0a15154a48e3814f31f668c65bb704f83391c3575887e2ef7f295d04ca21d59ef77579e8716fdd8a87b74b40364ed8067ee91f441ea03a65
7
- data.tar.gz: febcc58bb6278ac07908713f17717c9911dc78f0f41cdcfc215b8f3bf016c0f41535c3541bd8dbfa7f9716b8d50ce332253cb81254dc92ae08c1db0fef515469
6
+ metadata.gz: 5d8cc83d8c823a141410075e57def77863b59352ec198158be82096a431397eee09bc63d234966d46a0bee916c2a7c8eecce04fa051c9f35ce8d5bf2de965fdf
7
+ data.tar.gz: 0630f050ee64c0841854ccc014336a8fbce6bd06538ee72cdff28df706f6133c06d6b3bc06c99778819365c8b4f9e1f12662ab53e74eb73d2194854ea7bbe2ac
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # rubcat
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubcat`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ ![screenshot](screenshot.png)
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ simply pidcat in Ruby.
6
6
 
7
7
  ## Installation
8
8
 
@@ -10,10 +10,6 @@ Just execute:
10
10
 
11
11
  $ gem install rubcat
12
12
 
13
- ## Usage
14
-
15
- TODO: Write usage instructions here
16
-
17
13
  ## Contributing
18
14
 
19
15
  1. Fork it ( https://github.com/polamjag/rubcat/fork )
@@ -25,7 +25,7 @@ class String
25
25
 
26
26
  def trim_and_rjust(len)
27
27
  if self.length > len
28
- self[-len .. -1]
28
+ self[0 .. (len/2 - 2)] + ".." + self[-(len/2) .. -1]
29
29
  else
30
30
  self.rjust len
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Rubcat
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/screenshot.png ADDED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - polamjag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2015-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -59,6 +59,7 @@ files:
59
59
  - lib/rubcat/pretty_logcat.rb
60
60
  - lib/rubcat/version.rb
61
61
  - rubcat.gemspec
62
+ - screenshot.png
62
63
  homepage: https://github.com/rubcat
63
64
  licenses:
64
65
  - MIT