safer_rails_console 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec564183ae00b04c696c1a114ca102cf21e939a64efa9877658b3928e33c164b
4
- data.tar.gz: 726b923163ba0ee2319609533565a7011e8067653a84194141c7306ecc95dc5f
3
+ metadata.gz: 840e4ef2b80ecf2857bea14be562cfe28c89f6e89ea3a21360178f60d847c866
4
+ data.tar.gz: 610e1c17331dc3f6ba9a0081121fdcb793d5c2ac2c5961024c529d29eb2bce06
5
5
  SHA512:
6
- metadata.gz: 06417d2590224e02b198e4602e7e88662a43dfadd88df1c6e62a75a02e0f933ab08ee5d6ca064fc4532ce052a84ab13d22108a5668e577cd1e96a92313e8b58d
7
- data.tar.gz: 21e40876d56b75c4fb91491e62c1fda88933621983ce6a78e21e925adbe5ee28abe3c3b870aaa576d4559a63ad1221d19f84aad7d67d597a2b5c366cf29aa2fe
6
+ metadata.gz: ba71d14210be305bd54e0152dc2c907ef33d06786479a26709094c6fd6f8f9d5eca3f3567b6c5bcbaf997c761a1e506c04d18b0e7eab3856e38084d30e8fa4b1
7
+ data.tar.gz: 30438483fb18cc19e230e11a7e84b6573dc149b369b103f50aa83eebe86eea75862f9a72529491b2d54b3683c1f7cf48401709d49f936ece8608c703d1e7dc53
data/.circleci/config.yml CHANGED
@@ -2,14 +2,14 @@ version: 2.1
2
2
  jobs:
3
3
  lint:
4
4
  docker:
5
- - image: salsify/ruby_ci:2.7.6
5
+ - image: cimg/ruby:2.7.8
6
6
  working_directory: ~/safer_rails_console
7
7
  steps:
8
8
  - checkout
9
9
  - restore_cache:
10
10
  keys:
11
- - v2-gems-ruby-2.7.6-{{ checksum "safer_rails_console.gemspec" }}-{{ checksum "Gemfile" }}
12
- - v2-gems-ruby-2.7.6-
11
+ - v2-gems-ruby-2.7.8-{{ checksum "safer_rails_console.gemspec" }}-{{ checksum "Gemfile" }}
12
+ - v2-gems-ruby-2.7.8-
13
13
  - run:
14
14
  name: Install Gems
15
15
  command: |
@@ -18,7 +18,7 @@ jobs:
18
18
  bundle clean
19
19
  fi
20
20
  - save_cache:
21
- key: v2-gems-ruby-2.7.6-{{ checksum "safer_rails_console.gemspec" }}-{{ checksum "Gemfile" }}
21
+ key: v2-gems-ruby-2.7.8-{{ checksum "safer_rails_console.gemspec" }}-{{ checksum "Gemfile" }}
22
22
  paths:
23
23
  - "vendor/bundle"
24
24
  - "gemfiles/vendor/bundle"
@@ -32,7 +32,7 @@ jobs:
32
32
  gemfile:
33
33
  type: string
34
34
  docker:
35
- - image: salsify/ruby_ci:<< parameters.ruby_version >>
35
+ - image: cimg/ruby:<< parameters.ruby_version >>
36
36
  environment:
37
37
  CIRCLE_TEST_REPORTS: "test-results"
38
38
  BUNDLE_GEMFILE: "/home/circleci/safer_rails_console/<< parameters.gemfile >>"
@@ -74,13 +74,17 @@ workflows:
74
74
  matrix:
75
75
  parameters:
76
76
  ruby_version:
77
- - "2.7.6"
78
- - "3.0.4"
79
- - "3.1.2"
77
+ - "2.7.8"
78
+ - "3.0.6"
79
+ - "3.1.4"
80
+ - "3.2.2"
80
81
  gemfile:
81
82
  - "gemfiles/6.0.gemfile"
82
83
  - "gemfiles/6.1.gemfile"
83
84
  - "gemfiles/7.0.gemfile"
85
+ - "gemfiles/7.1.gemfile"
84
86
  exclude:
85
- - ruby_version: "3.1.2"
87
+ - ruby_version: "3.1.4"
88
+ gemfile: "gemfiles/6.0.gemfile"
89
+ - ruby_version: "3.2.2"
86
90
  gemfile: "gemfiles/6.0.gemfile"
data/.github/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @jturkel @will89 @mattsmith0308
1
+ * @jturkel @salsify/infrastructure-services @mattsmith0308
data/Appraisals CHANGED
@@ -11,3 +11,7 @@ end
11
11
  appraise '7.0' do
12
12
  gem 'rails', '~> 7.0.0'
13
13
  end
14
+
15
+ appraise '7.1' do
16
+ gem 'rails', '~> 7.1.0'
17
+ end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.0
4
+ - Add support for Rails 7.1.
5
+
3
6
  ## v0.6.0
4
7
  - Drop support for Ruby < 2.7 and Rails < 6.0.
5
8
  - Add support for Ruby 3.1.
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Build Status](https://circleci.com/gh/salsify/safer_rails_console.svg?style=svg)](https://circleci.com/gh/salsify/safer_rails_console)
4
4
  [![Gem Version](https://badge.fury.io/rb/safer_rails_console.svg)](https://badge.fury.io/rb/safer_rails_console)
5
5
 
6
- This gem makes Rails console sessions less dangerous in specified environments by warning, color-coding, auto-sandboxing, and allowing read-only external connections (disables job queueing, non-GET requests, etc.)
6
+ This gem makes Rails console sessions less dangerous in specified environments by warning, color-coding, and auto-sandboxing PostgreSQL connections. In the future we'd like to extend this to make other external connections read-only too (e.g. disable job queueing, non-GET HTTP requests, etc.)
7
7
 
8
8
  ## Installation
9
9
 
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 7.1.0"
6
+
7
+ gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SaferRailsConsole
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  end
@@ -46,5 +46,5 @@ Gem::Specification.new do |spec|
46
46
  spec.add_development_dependency 'rspec_junit_formatter'
47
47
  spec.add_development_dependency 'salsify_rubocop', '~> 1.27.0'
48
48
 
49
- spec.add_runtime_dependency 'rails', '>= 6.0', '< 7.1'
49
+ spec.add_runtime_dependency 'rails', '>= 6.0', '< 7.2'
50
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safer_rails_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-13 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -159,7 +159,7 @@ dependencies:
159
159
  version: '6.0'
160
160
  - - "<"
161
161
  - !ruby/object:Gem::Version
162
- version: '7.1'
162
+ version: '7.2'
163
163
  type: :runtime
164
164
  prerelease: false
165
165
  version_requirements: !ruby/object:Gem::Requirement
@@ -169,7 +169,7 @@ dependencies:
169
169
  version: '6.0'
170
170
  - - "<"
171
171
  - !ruby/object:Gem::Version
172
- version: '7.1'
172
+ version: '7.2'
173
173
  description: This gem makes Rails console sessions less dangerous in specified environments
174
174
  by warning, color-coding, auto-sandboxing, and allowing read-only external connections
175
175
  (disables job queueing, non-GET requests, etc.)
@@ -196,6 +196,7 @@ files:
196
196
  - gemfiles/6.0.gemfile
197
197
  - gemfiles/6.1.gemfile
198
198
  - gemfiles/7.0.gemfile
199
+ - gemfiles/7.1.gemfile
199
200
  - lib/safer_rails_console.rb
200
201
  - lib/safer_rails_console/colors.rb
201
202
  - lib/safer_rails_console/console.rb
@@ -232,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
233
  - !ruby/object:Gem::Version
233
234
  version: '0'
234
235
  requirements: []
235
- rubygems_version: 3.2.33
236
+ rubygems_version: 3.3.26
236
237
  signing_key:
237
238
  specification_version: 4
238
239
  summary: Make rails console less dangerous!