safer_rails_console 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +11 -4
- data/CHANGELOG.md +24 -3
- data/lib/safer_rails_console/railtie.rb +1 -1
- data/lib/safer_rails_console/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a72dc87254b563b3550b58ad3ca7e579d747febbf46b9aac3aeba9386686c552
|
4
|
+
data.tar.gz: 6a152d59202737f419716eb1246e4059dc5446642a0b9d2672720a6685f4b54e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa8eb4f6f403c5fc50eb079b762232dc5e797edaa80aec15714f33fbe2f5af724efe874e30f5c0bd0286186c62e1516fb90583e14a8d5ebbeeb3de6f61465959
|
7
|
+
data.tar.gz: 0f3446376ef66b7b6a6bcaa8d6c51e94973e3888bda683ea44bced0885cd7895a9ac70ef348f51459ab5b0c22a31db1cc26a6726010fbab8805cfd8986b1af8a
|
data/.circleci/config.yml
CHANGED
@@ -27,10 +27,12 @@ jobs:
|
|
27
27
|
command: bundle exec rubocop
|
28
28
|
test:
|
29
29
|
parameters:
|
30
|
+
ruby_version:
|
31
|
+
type: string
|
30
32
|
gemfile:
|
31
33
|
type: string
|
32
34
|
docker:
|
33
|
-
- image: salsify/ruby_ci
|
35
|
+
- image: salsify/ruby_ci:<< parameters.ruby_version >>
|
34
36
|
environment:
|
35
37
|
CIRCLE_TEST_REPORTS: "test-results"
|
36
38
|
BUNDLE_GEMFILE: "/home/circleci/safer_rails_console/<< parameters.gemfile >>"
|
@@ -44,8 +46,8 @@ jobs:
|
|
44
46
|
- checkout
|
45
47
|
- restore_cache:
|
46
48
|
keys:
|
47
|
-
- v2-gems-ruby
|
48
|
-
- v2-gems-ruby
|
49
|
+
- v2-gems-ruby-<< parameters.ruby_version >>-{{ checksum "safer_rails_console.gemspec" }}-{{ checksum "<< parameters.gemfile >>" }}
|
50
|
+
- v2-gems-ruby-<< parameters.ruby_version >>-
|
49
51
|
- run:
|
50
52
|
name: Install Gems
|
51
53
|
command: |
|
@@ -54,7 +56,7 @@ jobs:
|
|
54
56
|
bundle clean
|
55
57
|
fi
|
56
58
|
- save_cache:
|
57
|
-
key: v2-gems-ruby
|
59
|
+
key: v2-gems-ruby-<< parameters.ruby_version >>-{{ checksum "safer_rails_console.gemspec" }}-{{ checksum "<< parameters.gemfile >>" }}
|
58
60
|
paths:
|
59
61
|
- "vendor/bundle"
|
60
62
|
- "gemfiles/vendor/bundle"
|
@@ -69,6 +71,7 @@ workflows:
|
|
69
71
|
jobs:
|
70
72
|
- lint
|
71
73
|
- test:
|
74
|
+
ruby_version: "2.5.8"
|
72
75
|
matrix:
|
73
76
|
parameters:
|
74
77
|
gemfile:
|
@@ -77,3 +80,7 @@ workflows:
|
|
77
80
|
- "gemfiles/5.2.gemfile"
|
78
81
|
- "gemfiles/6.0.gemfile"
|
79
82
|
- "gemfiles/6.1.gemfile"
|
83
|
+
- test:
|
84
|
+
name: 'ruby-3.0.0'
|
85
|
+
ruby_version: "3.0.0"
|
86
|
+
gemfile: "gemfiles/6.1.gemfile"
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.5.1](https://github.com/salsify/safer_rails_console/tree/v0.5.0) (2020-01-29)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/salsify/safer_rails_console/compare/v0.5.0...v0.5.1)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Ruby 3 Support [\#39](https://github.com/salsify/safer_rails_console/pull/39) ([kphelps](https://github.com/kphelps))
|
10
|
+
|
11
|
+
## [v0.5.0](https://github.com/salsify/safer_rails_console/tree/v0.5.0) (2020-12-15)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/salsify/safer_rails_console/compare/v0.4.1...v0.5.0)
|
14
|
+
|
15
|
+
**Merged pull requests:**
|
16
|
+
|
17
|
+
- Enable frozen string literals cop [\#36](https://github.com/salsify/safer_rails_console/pull/36) ([jturkel](https://github.com/jturkel))
|
18
|
+
- Rails 6.1 Support [\#35](https://github.com/salsify/safer_rails_console/pull/35) ([jturkel](https://github.com/jturkel))
|
19
|
+
- Migrate to CircleCI [\#34](https://github.com/salsify/safer_rails_console/pull/34) ([jturkel](https://github.com/jturkel))
|
20
|
+
|
3
21
|
## [v0.4.1](https://github.com/salsify/safer_rails_console/tree/v0.4.1) (2020-10-13)
|
4
22
|
|
5
23
|
[Full Changelog](https://github.com/salsify/safer_rails_console/compare/v0.4.0...v0.4.1)
|
@@ -23,9 +41,9 @@
|
|
23
41
|
|
24
42
|
**Merged pull requests:**
|
25
43
|
|
44
|
+
- Use Postgres for local development too [\#28](https://github.com/salsify/safer_rails_console/pull/28) ([jturkel](https://github.com/jturkel))
|
26
45
|
- Rails 6.0 support [\#27](https://github.com/salsify/safer_rails_console/pull/27) ([jturkel](https://github.com/jturkel))
|
27
46
|
- Drop Rails 4.2 support [\#26](https://github.com/salsify/safer_rails_console/pull/26) ([jturkel](https://github.com/jturkel))
|
28
|
-
- Resolve sqlite3 dependency warning [\#11](https://github.com/salsify/safer_rails_console/pull/11) ([timothysu](https://github.com/timothysu))
|
29
47
|
|
30
48
|
## [v0.3.0](https://github.com/salsify/safer_rails_console/tree/v0.3.0) (2018-04-16)
|
31
49
|
|
@@ -34,7 +52,6 @@
|
|
34
52
|
**Merged pull requests:**
|
35
53
|
|
36
54
|
- Add support for Rails 5.2; remove support for Rails 4.1 [\#24](https://github.com/salsify/safer_rails_console/pull/24) ([timothysu](https://github.com/timothysu))
|
37
|
-
- Patch PostgreSQLAdapter\#execute\_and\_clear instead of AbstractAdapter\#log for auto-rollback [\#15](https://github.com/salsify/safer_rails_console/pull/15) ([timothysu](https://github.com/timothysu))
|
38
55
|
|
39
56
|
## [v0.2.0](https://github.com/salsify/safer_rails_console/tree/v0.2.0) (2017-09-07)
|
40
57
|
|
@@ -48,7 +65,6 @@
|
|
48
65
|
|
49
66
|
**Merged pull requests:**
|
50
67
|
|
51
|
-
- Use Postgres for local development too [\#28](https://github.com/salsify/safer_rails_console/pull/28) ([jturkel](https://github.com/jturkel))
|
52
68
|
- Set DB transactions to read-only and provide messaging for non-read operations [\#21](https://github.com/salsify/safer_rails_console/pull/21) ([timothysu](https://github.com/timothysu))
|
53
69
|
- Change 'sandboxed' and 'unsandboxed' to 'read-only' and 'writable' and add respective flags [\#20](https://github.com/salsify/safer_rails_console/pull/20) ([timothysu](https://github.com/timothysu))
|
54
70
|
|
@@ -61,6 +77,10 @@
|
|
61
77
|
- Invalid cached and prepared statements do not trigger a automatic rollback with PostgreSQL [\#16](https://github.com/salsify/safer_rails_console/issues/16)
|
62
78
|
- safer\_rails\_console doesn't work in alerts service rails console mode in sandbox mode [\#13](https://github.com/salsify/safer_rails_console/issues/13)
|
63
79
|
|
80
|
+
**Merged pull requests:**
|
81
|
+
|
82
|
+
- Patch PostgreSQLAdapter\#execute\_and\_clear instead of AbstractAdapter\#log for auto-rollback [\#15](https://github.com/salsify/safer_rails_console/pull/15) ([timothysu](https://github.com/timothysu))
|
83
|
+
|
64
84
|
## [v0.1.3](https://github.com/salsify/safer_rails_console/tree/v0.1.3) (2017-08-02)
|
65
85
|
|
66
86
|
[Full Changelog](https://github.com/salsify/safer_rails_console/compare/v0.1.2...v0.1.3)
|
@@ -72,6 +92,7 @@
|
|
72
92
|
**Merged pull requests:**
|
73
93
|
|
74
94
|
- Default sandbox flag to nil in Rails 5.1 [\#12](https://github.com/salsify/safer_rails_console/pull/12) ([timothysu](https://github.com/timothysu))
|
95
|
+
- Resolve sqlite3 dependency warning [\#11](https://github.com/salsify/safer_rails_console/pull/11) ([timothysu](https://github.com/timothysu))
|
75
96
|
|
76
97
|
## [v0.1.2](https://github.com/salsify/safer_rails_console/tree/v0.1.2) (2017-07-21)
|
77
98
|
|
@@ -10,7 +10,7 @@ module SaferRailsConsole
|
|
10
10
|
config.safer_rails_console = ActiveSupport::OrderedOptions.new
|
11
11
|
|
12
12
|
initializer 'safer_rails_console.configure' do |app|
|
13
|
-
SaferRailsConsole.config.set(app.config.safer_rails_console)
|
13
|
+
SaferRailsConsole.config.set(**app.config.safer_rails_console)
|
14
14
|
end
|
15
15
|
|
16
16
|
config.after_initialize do
|
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salsify, Inc
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -217,7 +217,7 @@ licenses:
|
|
217
217
|
- MIT
|
218
218
|
metadata:
|
219
219
|
allowed_push_host: https://rubygems.org
|
220
|
-
post_install_message:
|
220
|
+
post_install_message:
|
221
221
|
rdoc_options: []
|
222
222
|
require_paths:
|
223
223
|
- lib
|
@@ -232,8 +232,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '0'
|
234
234
|
requirements: []
|
235
|
-
rubygems_version: 3.
|
236
|
-
signing_key:
|
235
|
+
rubygems_version: 3.1.2
|
236
|
+
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: Make rails console less dangerous!
|
239
239
|
test_files: []
|