infopark-user_io 1.2.1 → 1.3.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
- SHA1:
3
- metadata.gz: 0c0b27e597598c57deeba02fef2b045104d92dd9
4
- data.tar.gz: 57ef6bcf6cbe17dc10bd6a9bdac75e12d0be4d9d
2
+ SHA256:
3
+ metadata.gz: b0c95a85359de4b5840ee1053f7e9abc83d8b91988ac1f7d9611c9f9f8d92f7d
4
+ data.tar.gz: 68444632af92c73fbd16368b1a4f58142dcaf4c1e5d348e7b52d75c657d286f5
5
5
  SHA512:
6
- metadata.gz: bda30a830120f01ebd1d6ae6845c44bbfe1f765d15e8b9d6c68581554a87403f1f38965c4e785f82113a7c09a167f9aaac1b3249b8b296c522ce1db313b9aea4
7
- data.tar.gz: 0e38fbc1d34b2adf5617160ad233ecef85193c42f4a5a51b2a2eeb6c0635c227f71bfe1fa51cd0257d8a783b8c1ebb1f4cd3020c27879bcace48ee3b0f581733
6
+ metadata.gz: cf5deca658e0d11c2d6c00b1dba29f87a2515749c6e01c2da1c5a39033a1d35a7c847d2375dd23f6f971c1a8359233f1d3ff339819216ae369a89e89e5b70694
7
+ data.tar.gz: 0e1f7369c00f4b06d66c9e0f396b1966e474a964d8a3a7d8dce05856da575ea31c37c3653217048949e163e0ad203f2db643f124e4e531b269c678799a8efe2e
data/.rubocop.yml ADDED
@@ -0,0 +1,142 @@
1
+ AllCops:
2
+ NewCops: enable
3
+
4
+ Layout/ArgumentAlignment:
5
+ EnforcedStyle: with_fixed_indentation
6
+ Layout/ArrayAlignment:
7
+ EnforcedStyle: with_fixed_indentation
8
+ Layout/FirstArgumentIndentation:
9
+ EnforcedStyle: consistent
10
+ Layout/FirstArrayElementIndentation:
11
+ EnforcedStyle: consistent
12
+ Layout/FirstHashElementIndentation:
13
+ EnforcedStyle: consistent
14
+ Layout/FirstHashElementLineBreak:
15
+ Enabled: true
16
+ Layout/LineContinuationLeadingSpace:
17
+ EnforcedStyle: leading
18
+ Layout/LineLength:
19
+ Enabled: false
20
+ Layout/MultilineMethodCallIndentation:
21
+ EnforcedStyle: indented
22
+ Layout/MultilineOperationIndentation:
23
+ EnforcedStyle: indented
24
+ Layout/ParameterAlignment:
25
+ EnforcedStyle: with_fixed_indentation
26
+ Layout/SpaceInsideBlockBraces:
27
+ SpaceBeforeBlockParameters: false
28
+ Layout/SpaceInsideHashLiteralBraces:
29
+ EnforcedStyle: no_space
30
+
31
+ Lint/DuplicateBranch:
32
+ IgnoreLiteralBranches: true
33
+ Lint/RedundantSafeNavigation:
34
+ Enabled: false
35
+ Lint/SuppressedException:
36
+ AllowComments: true
37
+ Lint/UnusedMethodArgument:
38
+ AllowUnusedKeywordArguments: true
39
+
40
+ Metrics/AbcSize:
41
+ Enabled: false
42
+ Metrics/BlockLength:
43
+ CountAsOne:
44
+ - array
45
+ - hash
46
+ - heredoc
47
+ - method_call
48
+ AllowedMethods:
49
+ - retry_on_conflict_error
50
+ - transaction
51
+ Exclude:
52
+ - "spec/**"
53
+ Metrics/ClassLength:
54
+ CountAsOne:
55
+ - array
56
+ - hash
57
+ - heredoc
58
+ Enabled: false
59
+ Metrics/CyclomaticComplexity:
60
+ Enabled: false
61
+ Metrics/MethodLength:
62
+ CountAsOne:
63
+ - array
64
+ - hash
65
+ - heredoc
66
+ Enabled: false
67
+ Metrics/ModuleLength:
68
+ CountAsOne:
69
+ - array
70
+ - hash
71
+ - heredoc
72
+ Enabled: false
73
+ Metrics/ParameterLists:
74
+ CountKeywordArgs: false
75
+ Metrics/PerceivedComplexity:
76
+ Enabled: false
77
+
78
+ Naming/FileName:
79
+ Exclude:
80
+ - lib/infopark-user_io.rb
81
+ Naming/HeredocDelimiterNaming:
82
+ Enabled: false
83
+ Naming/MethodParameterName:
84
+ AllowedNames:
85
+ - e
86
+ Naming/VariableNumber:
87
+ Enabled: false
88
+
89
+ Style/AccessorGrouping:
90
+ EnforcedStyle: separated
91
+ Style/AndOr:
92
+ Enabled: false
93
+ Style/AsciiComments:
94
+ Enabled: false
95
+ Style/CaseEquality:
96
+ Enabled: false
97
+ Style/CollectionCompact:
98
+ Enabled: false
99
+ Style/Documentation:
100
+ Enabled: false
101
+ Style/DoubleNegation:
102
+ Enabled: false
103
+ Style/EmptyElse:
104
+ EnforcedStyle: empty
105
+ Style/FormatString:
106
+ Enabled: false
107
+ Style/FormatStringToken:
108
+ Enabled: false
109
+ Style/GuardClause:
110
+ AllowConsecutiveConditionals: true
111
+ Style/IfUnlessModifier:
112
+ Enabled: false
113
+ Style/KeywordParametersOrder:
114
+ Enabled: false
115
+ Style/Lambda:
116
+ Enabled: false
117
+ Style/MethodCallWithArgsParentheses:
118
+ Enabled: true
119
+ Style/NumericPredicate:
120
+ Enabled: false
121
+ Style/OptionalBooleanParameter:
122
+ Enabled: false
123
+ Style/PercentLiteralDelimiters:
124
+ Enabled: false
125
+ Style/RedundantArgument:
126
+ Enabled: false
127
+ Style/RedundantConstantBase:
128
+ Enabled: false
129
+ Style/RescueModifier:
130
+ Enabled: false
131
+ Style/RescueStandardError:
132
+ EnforcedStyle: implicit
133
+ Style/StringLiterals:
134
+ EnforcedStyle: double_quotes
135
+ Style/TrailingCommaInArguments:
136
+ EnforcedStyleForMultiline: consistent_comma
137
+ Style/TrailingCommaInArrayLiteral:
138
+ EnforcedStyleForMultiline: consistent_comma
139
+ Style/TrailingCommaInHashLiteral:
140
+ EnforcedStyleForMultiline: consistent_comma
141
+ Style/TrailingUnderscoreVariable:
142
+ Enabled: false
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/Gemfile CHANGED
@@ -1,3 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  gemspec
6
+
7
+ group "development" do
8
+ gem "bundler"
9
+ gem "rake"
10
+ gem "rspec"
11
+ gem "rubocop"
12
+ end
data/Rakefile CHANGED
@@ -1 +1,3 @@
1
- require 'bundler/gem_tasks'
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
@@ -1,7 +1,13 @@
1
- require_relative '../user_io'
1
+ # frozen_string_literal: true
2
2
 
3
- module Infopark::UserIO::Global
4
- def user_io
5
- Infopark::UserIO.global
3
+ require_relative "../user_io"
4
+
5
+ module Infopark
6
+ module UserIO
7
+ module Global
8
+ def user_io
9
+ Infopark::UserIO.global
10
+ end
11
+ end
6
12
  end
7
13
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Infopark
2
4
  class UserIO
3
- VERSION = "1.2.1"
5
+ VERSION = "1.3.0"
4
6
  end
5
7
  end