formatador 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/changelog.txt +5 -0
- data/formatador.gemspec +2 -2
- data/lib/formatador.rb +1 -1
- data/tests/table_tests.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58153bcd41291dcdd4aa4bbcfb724d233604d130470634682306fb0e8859f041
|
4
|
+
data.tar.gz: 20d3a52adff269f0a29fc6c1dda6dd87679151fa13bc496f0fbb1a7edc3ae07b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12616b0af1aea1c3b5ee100440096e7b8def45f9ed5340efd98bbc958384005b80cb9dde10d16e0f443f8520b7466a67d93fe5d03a980a19988c3db9e08eef0f
|
7
|
+
data.tar.gz: 7fd4a23d9cd157ed4e86dcec4ad15cbd277220c1c62346f36d414af5aac1db8a634a57e952073cca1feb015c039cd777b18dbbb9fadf24c983025ee4bdbf7e01
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
STDOUT text formatting
|
4
4
|
|
5
|
-
[![Build Status](https://
|
5
|
+
[![Build Status](https://github.com/geemus/formatador/actions/workflows/ruby.yml/badge.svg)](https://github.com/geemus/formatador/actions/workflows/ruby.yml)
|
6
6
|
|
7
7
|
## Quick and dirty
|
8
8
|
|
@@ -123,7 +123,7 @@ formatador.display_line('one level of indentation')
|
|
123
123
|
|
124
124
|
(The MIT License)
|
125
125
|
|
126
|
-
Copyright (c)
|
126
|
+
Copyright (c) 2022 [geemus (Wesley Beary)](http://github.com/geemus)
|
127
127
|
|
128
128
|
Permission is hereby granted, free of charge, to any person obtaining
|
129
129
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
@@ -84,7 +84,7 @@ task :release => :build do
|
|
84
84
|
puts "You must be on the master branch to release!"
|
85
85
|
exit!
|
86
86
|
end
|
87
|
-
sh "
|
87
|
+
sh "gem install pkg/#{name}-#{version}.gem"
|
88
88
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
89
89
|
sh "git tag v#{version}"
|
90
90
|
sh "git push origin master"
|
data/changelog.txt
CHANGED
data/formatador.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'formatador'
|
16
|
-
s.version = '0.
|
17
|
-
s.date = '
|
16
|
+
s.version = '1.0.0'
|
17
|
+
s.date = '2022-01-20'
|
18
18
|
|
19
19
|
## Make sure your summary is short. The description may be as long
|
20
20
|
## as you like.
|
data/lib/formatador.rb
CHANGED
data/tests/table_tests.rb
CHANGED
@@ -106,7 +106,7 @@ output = <<-OUTPUT
|
|
106
106
|
OUTPUT
|
107
107
|
output = Formatador.parse(output)
|
108
108
|
|
109
|
-
tests("#display_table([{:a => 1}, {:a =>
|
109
|
+
tests("#display_table([{:a => 1}, {:a => '震度'}])").returns(output) do
|
110
110
|
capture_stdout do
|
111
111
|
Formatador.display_table([{:a => 1}, {:a => "震度"}])
|
112
112
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formatador
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|