diffend 0.2.34 → 0.2.35

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: cc45142bb5d879748312afda05037afb9e404bedd0eef6ac22b62222b4877a81
4
- data.tar.gz: 8fdefc71c114956828319e7b1add646bade02b56447dedb900e22161eec51611
3
+ metadata.gz: '0780c79922b3857482318780ad968af290af191fd0c59e032f9a0f94d671ad6d'
4
+ data.tar.gz: d2f91acc6e7ea5d3a59bd8b86c49c5c4d763eff6bf3af3ecf6b00d99730da36b
5
5
  SHA512:
6
- metadata.gz: 359a68adcd4a1fd428510a2f9f37469fefca76b4fdd0e02415bf09b1a99b26d0080bb755e98a4a48c8be840f4dbdf13c6f50ed77af3dd2093f321a560835bdc6
7
- data.tar.gz: a5dcef6929e7d63c2b66e237d790d51de2b17c12461ba3a91b3d4160decb35f79c11111bd4e5322f5e5a4ce748e32d0dd3abb993b7d77efc37792f413100e57a
6
+ metadata.gz: 15ec791f3eea3e174ad8a09d68f9f5b20511e9728c3f4481b9b2c97e377cdb5eb6e0faee215a24979b18f846e8a2bd01cc9569634c4307ccf448e4bcb73e035d
7
+ data.tar.gz: a5b7b8ab500fa6dcb187f46137d89337bc1f4bd3eaa006c5ba43dada667ffbce01ea61a68678a5f04a211b91cbdc8e73f55fcb3350db7bb74a93dc50d3051cd7
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ���8���6Uu��f`��9,8��[;��"$T7��: k���Y�L�ߎ� ?�#ROc��W[)u `=!�����=Hސ�G{NyvoLN�b����u���%Z�8 ҇U����p�X�!��cr0��jj���ş�}�Ib���O���;���Фd��7�j��
2
- F/��^*�� �6�|=d�;��P@ª���N��"209�N� # �c�>�%s`�r�fk8�tyQ�������As~�'�"ޗ��"�����T-��͂���ĝ҃�����u����~iO��� ���ҨoB�&Qs���E�A޻� C���r�3g�� •���>s�c��]4$���%H�h��c�9MҪה��������l�:|�ranϙK�g�.=!
1
+ 2��oa�)qN���Q6���@`Sb-��8��!=4
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased][master]
4
4
 
5
+ ## [0.2.35] (2020-11-04)
6
+ - clean command name and title of a process ([#76](https://github.com/diffend-io/diffend-ruby/pull/76))
7
+ - handle `uninitialized constant #<Class:Diffend::Configs::Fetcher>::ERB` ([#75](https://github.com/diffend-io/diffend-ruby/pull/75))
8
+
5
9
  ## [0.2.34] (2020-10-25)
6
10
  - handle `Bundler::GitError` ([#72](https://github.com/diffend-io/diffend-ruby/pull/72))
7
11
 
@@ -94,7 +98,8 @@
94
98
 
95
99
  - initial release
96
100
 
97
- [master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.34...HEAD
101
+ [master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.35...HEAD
102
+ [0.2.35]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.34...v0.2.35
98
103
  [0.2.34]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.33...v0.2.34
99
104
  [0.2.33]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.32...v0.2.33
100
105
  [0.2.32]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.31...v0.2.32
@@ -1,26 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- diffend (0.2.34)
4
+ diffend (0.2.35)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  diff-lcs (1.4.4)
10
10
  rake (13.0.1)
11
- rspec (3.9.0)
12
- rspec-core (~> 3.9.0)
13
- rspec-expectations (~> 3.9.0)
14
- rspec-mocks (~> 3.9.0)
15
- rspec-core (3.9.3)
16
- rspec-support (~> 3.9.3)
17
- rspec-expectations (3.9.4)
11
+ rspec (3.10.0)
12
+ rspec-core (~> 3.10.0)
13
+ rspec-expectations (~> 3.10.0)
14
+ rspec-mocks (~> 3.10.0)
15
+ rspec-core (3.10.0)
16
+ rspec-support (~> 3.10.0)
17
+ rspec-expectations (3.10.0)
18
18
  diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.9.0)
20
- rspec-mocks (3.9.1)
19
+ rspec-support (~> 3.10.0)
20
+ rspec-mocks (3.10.0)
21
21
  diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.9.0)
23
- rspec-support (3.9.4)
22
+ rspec-support (~> 3.10.0)
23
+ rspec-support (3.10.0)
24
24
 
25
25
  PLATFORMS
26
26
  java
@@ -1,6 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'yaml'
3
+ %w[
4
+ erb
5
+ yaml
6
+ ].each(&method(:require))
4
7
 
5
8
  module Diffend
6
9
  # Module for all the components related to setting up the config
@@ -47,9 +47,9 @@ module Diffend
47
47
  command = "#{name} #{array.join(' ')}"
48
48
  end
49
49
 
50
- { 'name' => command, 'title' => '' }
50
+ { 'name' => clean(command), 'title' => '' }
51
51
  else
52
- { 'name' => ARGV.join(' '), 'title' => $PROGRAM_NAME }
52
+ { 'name' => clean(ARGV.join(' ')), 'title' => clean($PROGRAM_NAME) }
53
53
  end
54
54
  end
55
55
 
@@ -82,6 +82,14 @@ module Diffend
82
82
 
83
83
  tags
84
84
  end
85
+
86
+ # @param str [String] that we want to clean and truncate
87
+ def clean(str)
88
+ str
89
+ .dup
90
+ .gsub(/[[:space:]]+/, ' ')
91
+ .strip[0...255]
92
+ end
85
93
  end
86
94
  end
87
95
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Diffend
4
4
  # Current version
5
- VERSION = '0.2.34'
5
+ VERSION = '0.2.35'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.34
4
+ version: 0.2.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Pajor
@@ -34,7 +34,7 @@ cert_chain:
34
34
  9MmF6uCQa1EjK2p8tYT0MnbHrFkoehxdX4VO9y99GAkhZyJNKPYPtyAUFV27sT2V
35
35
  LfCJRk4ifKIN/FUCwDSn8Cz0m6oH265q0p6wdzI6qrWOjP8tGOMBTA==
36
36
  -----END CERTIFICATE-----
37
- date: 2020-10-30 00:00:00.000000000 Z
37
+ date: 2020-11-04 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: bundler
metadata.gz.sig CHANGED
Binary file