indirect 1.0.0 → 1.1.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
  SHA256:
3
- metadata.gz: c9748ecc493f4ee0a58532a66576eb25255f980c9d0b13186a4af80b2345ea29
4
- data.tar.gz: a791ac2e66daab10f3a4597496017914d53218cc91b5e5b3178d5ab6c2efde14
3
+ metadata.gz: 60369d41e255aa8031709f6d103fbbfe542d8ae99486046b9f84188acb67c7c3
4
+ data.tar.gz: 176f39153efbc4200ac1d7f6a846e8657dc2c338075ffcf0c8fbca6c399eb766
5
5
  SHA512:
6
- metadata.gz: 157afeed76f47e91464592833ca25f95236762530726c41951b7a8e754911522a6c47527d5dacb4e88b937fd4d8ae983c64f4a7bba26a08a428ae0f2f933b0b2
7
- data.tar.gz: 1c2d46ce5b65aafe2e5d678b55d140d01a6154be7b119e977717932151e827b7b3031c002834e9f14c6136e626cd873bbbb8b4502402b94d3a7b003e7aa2035e
6
+ metadata.gz: 615d79f607c369a72737b6f4d8e699224629c2e81e5d67642c277bb18a6a743996b760d9ba602cfd945ef7db8aed648a7b9d489655f021e87c656adb18c4fbdf
7
+ data.tar.gz: abc16b9f1580fe7015671a434e40e7da614c023f1f6f54d6b967565fc4b885c8769b4747ad3179fc7ca3ad05c03085de90aced9f528631b10e327e3b04c5fede
data/Gemfile CHANGED
@@ -4,3 +4,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in indirect.gemspec
6
6
  gemspec
7
+
8
+ gem "bump", "~> 0.10.0"
data/Gemfile.lock CHANGED
@@ -1,14 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- indirect (1.0.0)
4
+ indirect (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ bump (0.10.0)
9
10
  colorize (0.8.1)
10
11
  diff-lcs (1.3)
11
- rake (10.5.0)
12
+ rake (13.0.6)
12
13
  rspec (3.8.0)
13
14
  rspec-core (~> 3.8.0)
14
15
  rspec-expectations (~> 3.8.0)
@@ -27,11 +28,12 @@ PLATFORMS
27
28
  ruby
28
29
 
29
30
  DEPENDENCIES
30
- bundler (~> 1.17)
31
+ bump (~> 0.10.0)
32
+ bundler (~> 2.1)
31
33
  colorize (~> 0.8)
32
34
  indirect!
33
- rake (~> 10.0)
35
+ rake (~> 13.0)
34
36
  rspec (~> 3.0)
35
37
 
36
38
  BUNDLED WITH
37
- 1.17.2
39
+ 2.5.0.dev
data/indirect.gemspec CHANGED
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ["lib"]
30
30
 
31
- spec.add_development_dependency "bundler", "~> 1.17"
32
- spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "bundler", "~> 2.1"
32
+ spec.add_development_dependency "rake", "~> 13.0"
33
33
  spec.add_development_dependency "rspec", "~> 3.0"
34
34
  spec.add_development_dependency "colorize", "~> 0.8"
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module Indirect
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
data/lib/indirect.rb CHANGED
@@ -8,14 +8,15 @@ module Indirect
8
8
  OpenStruct.new(
9
9
  name: "André Arko",
10
10
  handle: "indirect",
11
- job: "Vice Minister of Computation at CloudCity.io",
12
- oss: "Founder at Ruby Together and Team Lead of Bundler",
11
+ job: "Vice Minister of Computation at cloudcity.io",
12
+ oss: "RubyGems Coordinator at Ruby Central",
13
13
  email: "andre@arko.net",
14
14
  website: "arko.net",
15
15
  blog: "andre.arko.net",
16
16
  twitter: "indirect",
17
17
  github: "indirect",
18
18
  linkedin: "andrearko",
19
+ mastodon: "fiasco.social/@indirect",
19
20
  card: "indirect",
20
21
  )
21
22
  end
@@ -40,13 +41,14 @@ module Indirect
40
41
  "Email" => info.email ? info.email.send(colors.next) : nil,
41
42
  "Website" => info.website ? "https://" << info.website.send(colors.next) : nil,
42
43
  "Blog" => info.blog ? "https://" << info.blog.send(colors.next) : nil,
43
- "Twitter" => info.twitter ? "https://" << info.twitter.send(colors.next) : nil,
44
44
  "GitHub" => info.github ? "https://github.com/" << info.github.send(colors.next) : nil,
45
+ "Mastodon" => info.twitter ? "https://" << info.mastodon.send(colors.next) : nil,
46
+ "Twitter" => info.twitter ? "https://twitter.com/" << info.twitter.send(colors.next) : nil,
45
47
  "LinkedIn" => info.linkedin ? "https://linkedin.com/in/" << info.linkedin.send(colors.next) : nil,
46
48
  }.select{|k,v| v }
47
49
 
48
50
  card = {
49
- "Card" => info.card ? "gemx ".red << info.card.white : nil
51
+ "Card" => info.card ? "gem exec ".red << info.card.white : nil
50
52
  }.select{|k,v| v }
51
53
 
52
54
  sections = [work, contact, card]
@@ -74,7 +76,7 @@ module Indirect
74
76
 
75
77
  title = content.lines.first
76
78
  cc = (width - title.chomp.uncolorize.size) / 2
77
- box << "│ " << " " * cc << title.chomp << " " * cc << " │\n"
79
+ box << "│ " << " " * cc << title.chomp << " " * cc << " │\n"
78
80
 
79
81
  content.lines[1..-1].each do |line|
80
82
  space_count = width - line.chomp.uncolorize.size
data/lib/output CHANGED
@@ -1,17 +1,18 @@
1
- ╭─────────────────────────────────────────────────────────────────────╮
2
-
3
- André Arko / indirect
4
-
5
- │  Work: Vice Minister of Computation at CloudCity.io
6
- │ Open Source: Founder at Ruby Together and Team Lead of Bundler
7
-
8
- │  Email: andre@arko.net
9
- │  Website: https://arko.net
10
- │  Blog: https://andre.arko.net
11
- │  Twitter: https://indirect
12
- │  GitHub: https://github.com/indirect
13
- │  LinkedIn: https://linkedin.com/in/andrearko │
14
-
15
-  Card: gemx indirect
16
-
17
- ╰─────────────────────────────────────────────────────────────────────╯
1
+ ╭────────────────────────────────────────────────────────────────╮
2
+
3
+ André Arko / indirect
4
+
5
+ │  Work: Vice Minister of Computation at cloudcity.io
6
+ │ Open Source: RubyGems Coordinator at Ruby Central
7
+
8
+ │  Email: andre@arko.net
9
+ │  Website: https://arko.net
10
+ │  Blog: https://andre.arko.net
11
+ │  GitHub: https://github.com/indirect
12
+ │  Mastodon: https://fiasco.social/@indirect
13
+ │  Twitter: https://twitter.com/indirect │
14
+  LinkedIn: https://linkedin.com/in/andrearko
15
+
16
+  Card: gem exec indirect
17
+ │ │
18
+ ╰────────────────────────────────────────────────────────────────╯
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indirect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Arko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-24 00:00:00.000000000 Z
11
+ date: 2023-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '2.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.8'
69
- description:
69
+ description:
70
70
  email:
71
71
  - andre@arko.net
72
72
  executables:
@@ -100,7 +100,7 @@ metadata:
100
100
  homepage_uri: https://github.com/indirect/indirect
101
101
  source_code_uri: https://github.com/indirect/indirect
102
102
  changelog_uri: https://github.com/indirect/indirect/blob/master/CHANGELOG.md
103
- post_install_message:
103
+ post_install_message:
104
104
  rdoc_options: []
105
105
  require_paths:
106
106
  - lib
@@ -115,8 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.0.1
119
- signing_key:
118
+ rubygems_version: 3.5.0.dev
119
+ signing_key:
120
120
  specification_version: 4
121
121
  summary: A CLI business card
122
122
  test_files: []