galileo 0.2.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d6cccbea3f01da259ac89edce0c85b724b6656c
4
- data.tar.gz: 8ce2c554ee237d725cb227758e08bed6156d5bff
3
+ metadata.gz: cff722308bd5b82bd571034f8062f70ccc8962ff
4
+ data.tar.gz: 3fda22a7c0d565f6a40e2828fe1f8de05e197a88
5
5
  SHA512:
6
- metadata.gz: bf5c3651d19521ddf9bc88834719bbb29bef1314969e1f5cf40452f5a21d97cc8e848a65ed756140291892d930948c5ad83f72dbea0d1504bdc61641aa1c30d1
7
- data.tar.gz: c8d6564345f8cad2cdeb1c9bef2d449ac9b55c49b5cb6a64e8ec05398b24961342508e3b50c704952e9bc52feff405da06979b23b8c92736ace19c865db20276
6
+ metadata.gz: 54c07768d9dcc36534fe1d3061c004306a12fb5187bc5732ddf7092980429a2b3a8513d270c54b26aedc84225e559073349169c4011ecd37a0fa9dabd690f2be
7
+ data.tar.gz: 82aad6adb3da20acb3d752d87d9b2e928e9bba596321f6e051e595034af0491daf77b74fe013d6475623bb55e65dc10c30347c8feaa00d5999d6f7838ef36fba
data/bin/galileo CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: utf-8
2
3
 
3
4
  require "galileo"
4
5
 
data/lib/galileo.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require "galileo/version"
2
4
  require "octokit"
3
5
  require "terminal-table/lib/terminal-table.rb"
@@ -114,7 +116,6 @@ class Galileo
114
116
  # Add separators
115
117
  repos = repos.product([:separator]).flatten(1)[0...-1]
116
118
 
117
- # Construct the table
118
119
  table = Terminal::Table.new
119
120
  table.headings = ['Name', 'Description', 'Language', 'Author', 'Stars', 'Last Updated', ENV['_system_name'] == 'OSX' ? 'Link (⌘ + Click)' : 'Link']
120
121
  table.rows = repos[0..20]
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  class Galileo
2
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
3
5
  end
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  # require "terminal-table/cell"
2
3
  # require "terminal-table/core_ext"
3
4
  # require "terminal-table/row"
@@ -1,4 +1,4 @@
1
-
1
+ # encoding: utf-8
2
2
  module Terminal
3
3
  class Table
4
4
  class Cell
@@ -1,8 +1,8 @@
1
-
1
+ # encoding: utf-8
2
2
  class String
3
3
  def align position, length
4
4
  self.__send__ position, length
5
5
  end
6
6
  alias_method :left, :ljust
7
7
  alias_method :right, :rjust
8
- end
8
+ end
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module Terminal
2
3
  class Table
3
4
  class Row
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module Terminal
2
3
  class Table
3
4
  class Separator < Row
@@ -11,4 +12,4 @@ module Terminal
11
12
  end
12
13
  end
13
14
  end
14
- end
15
+ end
@@ -1,4 +1,4 @@
1
-
1
+ # encoding: utf-8
2
2
  module Terminal
3
3
  class Table
4
4
  # A Style object holds all the formatting information for a Table object
@@ -1,4 +1,4 @@
1
-
1
+ # encoding: utf-8
2
2
  module Terminal
3
3
  class Table
4
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module Terminal
2
3
  class Table
3
4
  module TableHelper
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module Terminal
2
3
  class Table
3
4
  VERSION = '1.4.3'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: galileo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jackson Gariety
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-31 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit