table_format 0.0.8 → 0.0.10

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: 0ecb4e366d0bfd3e4caa23c99eaf7ace891daec7da139485f2cf3de99dc52c81
4
- data.tar.gz: 6d666359f1ec0610fa654b85d2593c876c3a51269f766224ced9f1dbc5038a0d
3
+ metadata.gz: 8155545d48fb554da7c2324bf13749019a31d814f0b56b8b90a0c11424b2ad35
4
+ data.tar.gz: 8073b769b478b30f3f87e494fad61a6f940f6cecbf6d8b006b23dbaa65626647
5
5
  SHA512:
6
- metadata.gz: 37b58297e78496507612c9283a6613482c3cf618543f8f9dd234037e230fe09aac779685d6017955137b57acd4ea6c71d0cdfabac3cd8b40937f72d97a788a1f
7
- data.tar.gz: cb033b6dbb6feff4b4fb61a58cca047c8a095f47811830837ccca8180b2abee9b2d58704065cd8747a159bc7739569fbb41468a39cba8f0a02c7a3b34c325c7d
6
+ metadata.gz: 1cbf7246e86137adcf7ce79622ff1c0108a65a72f72abd0ab14f345f74720940a417f01787b09f4f3b459c62dd20a1521b4bc2b2e7d05d5b6fb92f56afd2de06
7
+ data.tar.gz: a52c220de33351f05c0d71196293cc83dcda2062e10f13d808d2ef595aa4de22ca7877d851a27cd33bc258e381b2403d2852ccdc0a8d84b30304bc9aacc9f3ed
data/.travis.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.5
3
+ - 2.6
data/README.org CHANGED
@@ -19,6 +19,32 @@ tp Object.constants.grep(/RUBY_/).map { |e| [e, Object.const_get(e)] }.to_h
19
19
  # >> | RUBY_ENGINE_VERSION | 2.5.0 |
20
20
  # >> | RUBY_COPYRIGHT | ruby - Copyright (C) 1993-2017 Yukihiro Matsumoto |
21
21
  # >> |---------------------+------------------------------------------------------------|
22
+ #+END_SRC
23
+
24
+ In the case of Rails
25
+
26
+ #+BEGIN_SRC ruby
27
+ class ApplicationController < ActionController::Base
28
+ if Rails.env.development?
29
+ before_action do
30
+ logger.debug params.to_unsafe_h.to_t(truncate: 40)
31
+ end
32
+ end
33
+ end
34
+ #+END_SRC
35
+
36
+ #+BEGIN_SRC shell
37
+ % cat log/development.log
38
+ Started POST "/api/xy_master/time_records" for ::1 at 2021-11-18 13:52:25 +0900
39
+ Processing by Api::XyMaster::TimeRecordsController#create as JSON
40
+ Parameters: (snip)
41
+ |-------------+---------------------------------------------|
42
+ | scope_key | scope_today |
43
+ | time_record | {"rule_key"=>"rule100t", "spent_sec"=>0,... |
44
+ | format | json |
45
+ | controller | api/xy_master/time_records |
46
+ | action | create |
47
+ |-------------+---------------------------------------------|
22
48
  #+END_SRC
23
49
 
24
50
  ** Installation
@@ -1,3 +1,3 @@
1
1
  module TableFormat
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.10'
3
3
  end
data/table_format.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency 'activesupport'
23
23
 
24
- spec.add_development_dependency 'bundler', '~> 1.3'
24
+ spec.add_development_dependency 'bundler'
25
25
  spec.add_development_dependency 'rake'
26
26
  spec.add_development_dependency 'rspec'
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - akicho8
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-05 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.3'
33
+ version: '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: '1.3'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -128,7 +128,7 @@ files:
128
128
  homepage: https://github.com/akicho8/table_format
129
129
  licenses: []
130
130
  metadata: {}
131
- post_install_message:
131
+ post_install_message:
132
132
  rdoc_options:
133
133
  - "--line-numbers"
134
134
  - "--inline-source"
@@ -148,8 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.1.2
152
- signing_key:
151
+ rubygems_version: 3.2.31
152
+ signing_key:
153
153
  specification_version: 4
154
154
  summary: TableFormat shows text table like emacs org-table for easy reading.
155
155
  test_files: