anonymous_active_record 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +71 -0
- data/CONTRIBUTING.md +60 -0
- data/LICENSE.txt +21 -0
- data/README.md +190 -67
- data/SECURITY.md +14 -0
- data/lib/anonymous_active_record/generator.rb +9 -7
- data/lib/anonymous_active_record/version.rb +3 -1
- data/lib/anonymous_active_record.rb +26 -25
- data.tar.gz.sig +0 -0
- metadata +136 -74
- metadata.gz.sig +0 -0
- data/LICENSE +0 -7
- data/spec/anonymous_active_record_spec.rb +0 -1025
- data/spec/db/database.yml +0 -4
- data/spec/spec_helper.rb +0 -22
data/spec/db/database.yml
DELETED
data/spec/spec_helper.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'byebug' if RUBY_ENGINE == 'ruby'
|
4
|
-
|
5
|
-
require 'rspec/block_is_expected'
|
6
|
-
|
7
|
-
ruby_version = Gem::Version.new(RUBY_VERSION)
|
8
|
-
require 'simplecov' if ruby_version >= Gem::Version.new('2.7') && RUBY_ENGINE == 'ruby'
|
9
|
-
|
10
|
-
require 'anonymous_active_record'
|
11
|
-
|
12
|
-
RSpec.configure do |config|
|
13
|
-
# Enable flags like --only-failures and --next-failure
|
14
|
-
config.example_status_persistence_file_path = '.rspec_status'
|
15
|
-
|
16
|
-
# Disable RSpec exposing methods globally on `Module` and `main`
|
17
|
-
config.disable_monkey_patching!
|
18
|
-
|
19
|
-
config.expect_with :rspec do |c|
|
20
|
-
c.syntax = :expect
|
21
|
-
end
|
22
|
-
end
|