pg_objects 0.5.2 → 0.5.3

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: c3f8886f608c9e9e365490eb896b5b85e1919004fd9319dcc2f6a6edad8c214e
4
- data.tar.gz: eeb8a2f05f85b0268c2e8a78f32d77a86343d099bd79d9e94de5285029a21023
3
+ metadata.gz: 6829a683c66ef86b14b8f4a70b2591528cbb0eb1a3c2bf6d3167a7f080042c9c
4
+ data.tar.gz: c6fbad943adb9939021e1d166d9992886955d5dd66ac7b116c21d088817779b5
5
5
  SHA512:
6
- metadata.gz: 3525b1e908e887fd2293724af2bf549ec0be438391573c9a93f5537d1d0b067423f4507c56c29b4eeb804c22bb97571bb4002e8c3270912a5eb6a940b0175968
7
- data.tar.gz: f2bca38b7f8b1b1a618ce4210e3815dd97986ff04ce7f05ef336a44acedd4b872ff7873b54bce33f7aca545882c299307248bd65993272fdcebff2e56392e4b8
6
+ metadata.gz: dd22ce8fd3b0bdb353554c4d2ed687d348ba21aff2e24092a3635b607d8f6ab0bec4f1addb7975996764bd2e29cbe1764381b65e8e19a0541f23a4835260cf9f
7
+ data.tar.gz: 07e8bc3dc7725a47ee1fc89af4d8e821ae1c2d79041b6d4022748cca003726055ebb3e630acc46a1ba4ab88310b8e0b0e8bd400c7df0d6bf1005a472576b2586
data/.rubocop.yml CHANGED
@@ -22,6 +22,10 @@ Bundler/OrderedGems:
22
22
  TreatCommentsAsGroupSeparators: true
23
23
 
24
24
  # Layout ######################################################################
25
+ # Limit lines to 80 characters.
26
+ Layout/LineLength:
27
+ Max: 140
28
+
25
29
  # Checks that the closing brace in an array literal is either on the same line
26
30
  # as the last array element, or a new line.
27
31
  Layout/MultilineArrayBraceLayout:
@@ -51,7 +55,7 @@ Layout/SpaceInsideStringInterpolation:
51
55
  Enabled: true
52
56
 
53
57
  # Naming ######################################################################
54
- Naming/UncommunicativeMethodParamName:
58
+ Naming/MethodParameterName:
55
59
  MinNameLength: 2
56
60
 
57
61
  # Use the configured style when naming variables.
@@ -73,6 +77,15 @@ Style/AsciiComments:
73
77
  Style/FrozenStringLiteralComment:
74
78
  Enabled: false
75
79
 
80
+ Style/HashEachMethods:
81
+ Enabled: true
82
+
83
+ Style/HashTransformKeys:
84
+ Enabled: true
85
+
86
+ Style/HashTransformValues:
87
+ Enabled: true
88
+
76
89
  Style/RegexpLiteral:
77
90
  EnforcedStyle: mixed
78
91
  Enabled: false
@@ -94,7 +107,7 @@ Style/StringMethods:
94
107
  Enabled: true
95
108
 
96
109
  # Checks for %q/%Q when single quotes or double quotes would do.
97
- Style/UnneededPercentQ:
110
+ Style/RedundantPercentQ:
98
111
  Enabled: false
99
112
 
100
113
  # Metrics #####################################################################
@@ -124,10 +137,6 @@ Metrics/ClassLength:
124
137
  # Enabled: true
125
138
  # Max: 11
126
139
 
127
- # Limit lines to 80 characters.
128
- Metrics/LineLength:
129
- Max: 140
130
-
131
140
  # Avoid methods longer than 10 lines of code.
132
141
  # Metrics/MethodLength:
133
142
  # Max: 50
data/.travis.yml CHANGED
@@ -3,6 +3,7 @@ language: ruby
3
3
  rvm:
4
4
  - 2.5.7
5
5
  - 2.6.5
6
+ - 2.7.0
6
7
  before_install: gem install bundler -v 1.16.2
7
8
  script:
8
9
  - bundle exec rspec spec
data/Gemfile.lock CHANGED
@@ -10,54 +10,53 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (6.0.1)
14
- actionview (= 6.0.1)
15
- activesupport (= 6.0.1)
16
- rack (~> 2.0)
13
+ actionpack (6.0.2.1)
14
+ actionview (= 6.0.2.1)
15
+ activesupport (= 6.0.2.1)
16
+ rack (~> 2.0, >= 2.0.8)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.0)
19
19
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
20
- actionview (6.0.1)
21
- activesupport (= 6.0.1)
20
+ actionview (6.0.2.1)
21
+ activesupport (= 6.0.2.1)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.4)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
26
- activemodel (6.0.1)
27
- activesupport (= 6.0.1)
28
- activerecord (6.0.1)
29
- activemodel (= 6.0.1)
30
- activesupport (= 6.0.1)
31
- activesupport (6.0.1)
26
+ activemodel (6.0.2.1)
27
+ activesupport (= 6.0.2.1)
28
+ activerecord (6.0.2.1)
29
+ activemodel (= 6.0.2.1)
30
+ activesupport (= 6.0.2.1)
31
+ activesupport (6.0.2.1)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (>= 0.7, < 2)
34
34
  minitest (~> 5.1)
35
35
  tzinfo (~> 1.1)
36
36
  zeitwerk (~> 2.2)
37
37
  ast (2.4.0)
38
- builder (3.2.3)
39
- byebug (11.0.1)
40
- concurrent-ruby (1.1.5)
41
- crass (1.0.5)
38
+ builder (3.2.4)
39
+ byebug (11.1.1)
40
+ concurrent-ruby (1.1.6)
41
+ crass (1.0.6)
42
42
  diff-lcs (1.3)
43
43
  erubi (1.9.0)
44
- i18n (1.7.0)
44
+ i18n (1.8.2)
45
45
  concurrent-ruby (~> 1.0)
46
- jaro_winkler (1.5.2)
47
- loofah (2.3.1)
46
+ jaro_winkler (1.5.4)
47
+ loofah (2.4.0)
48
48
  crass (~> 1.0.2)
49
49
  nokogiri (>= 1.5.9)
50
50
  method_source (0.9.2)
51
51
  mini_portile2 (2.4.0)
52
- minitest (5.13.0)
53
- nokogiri (1.10.5)
52
+ minitest (5.14.0)
53
+ nokogiri (1.10.9)
54
54
  mini_portile2 (~> 2.4.0)
55
- parallel (1.14.0)
56
- parser (2.6.2.0)
55
+ parallel (1.19.1)
56
+ parser (2.7.0.4)
57
57
  ast (~> 2.4.0)
58
58
  pg_query (1.2.0)
59
- psych (3.1.0)
60
- rack (2.0.7)
59
+ rack (2.2.2)
61
60
  rack-test (1.1.0)
62
61
  rack (>= 1.0, < 3)
63
62
  rails-dom-testing (2.0.3)
@@ -65,46 +64,47 @@ GEM
65
64
  nokogiri (>= 1.6)
66
65
  rails-html-sanitizer (1.3.0)
67
66
  loofah (~> 2.3)
68
- railties (6.0.1)
69
- actionpack (= 6.0.1)
70
- activesupport (= 6.0.1)
67
+ railties (6.0.2.1)
68
+ actionpack (= 6.0.2.1)
69
+ activesupport (= 6.0.2.1)
71
70
  method_source
72
71
  rake (>= 0.8.7)
73
72
  thor (>= 0.20.3, < 2.0)
74
73
  rainbow (3.0.0)
75
- rake (12.3.2)
74
+ rake (13.0.1)
76
75
  rake-hooks (1.2.3)
77
76
  rake
78
- rspec (3.8.0)
79
- rspec-core (~> 3.8.0)
80
- rspec-expectations (~> 3.8.0)
81
- rspec-mocks (~> 3.8.0)
82
- rspec-core (3.8.0)
83
- rspec-support (~> 3.8.0)
84
- rspec-expectations (3.8.2)
77
+ rexml (3.2.4)
78
+ rspec (3.9.0)
79
+ rspec-core (~> 3.9.0)
80
+ rspec-expectations (~> 3.9.0)
81
+ rspec-mocks (~> 3.9.0)
82
+ rspec-core (3.9.1)
83
+ rspec-support (~> 3.9.1)
84
+ rspec-expectations (3.9.0)
85
85
  diff-lcs (>= 1.2.0, < 2.0)
86
- rspec-support (~> 3.8.0)
87
- rspec-mocks (3.8.0)
86
+ rspec-support (~> 3.9.0)
87
+ rspec-mocks (3.9.1)
88
88
  diff-lcs (>= 1.2.0, < 2.0)
89
- rspec-support (~> 3.8.0)
90
- rspec-support (3.8.0)
91
- rubocop (0.66.0)
89
+ rspec-support (~> 3.9.0)
90
+ rspec-support (3.9.2)
91
+ rubocop (0.80.1)
92
92
  jaro_winkler (~> 1.5.1)
93
93
  parallel (~> 1.10)
94
- parser (>= 2.5, != 2.5.1.1)
95
- psych (>= 3.1.0)
94
+ parser (>= 2.7.0.1)
96
95
  rainbow (>= 2.2.2, < 4.0)
96
+ rexml
97
97
  ruby-progressbar (~> 1.7)
98
- unicode-display_width (>= 1.4.0, < 1.6)
99
- rubocop-rspec (1.32.0)
100
- rubocop (>= 0.60.0)
101
- ruby-progressbar (1.10.0)
102
- thor (0.20.3)
98
+ unicode-display_width (>= 1.4.0, < 1.7)
99
+ rubocop-rspec (1.38.1)
100
+ rubocop (>= 0.68.1)
101
+ ruby-progressbar (1.10.1)
102
+ thor (1.0.1)
103
103
  thread_safe (0.3.6)
104
- tzinfo (1.2.5)
104
+ tzinfo (1.2.6)
105
105
  thread_safe (~> 0.1)
106
- unicode-display_width (1.5.0)
107
- zeitwerk (2.2.1)
106
+ unicode-display_width (1.6.1)
107
+ zeitwerk (2.3.0)
108
108
 
109
109
  PLATFORMS
110
110
  ruby
@@ -1,3 +1,3 @@
1
1
  module PgObjects
2
- VERSION = '0.5.2'.freeze
2
+ VERSION = '0.5.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Kiselyov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -207,8 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubyforge_project:
211
- rubygems_version: 2.7.6
210
+ rubygems_version: 3.0.3
212
211
  signing_key:
213
212
  specification_version: 4
214
213
  summary: Simple manager for PostgreSQL objects like triggers and functions