activerecord-transactionable 2.0.4 → 3.0.2

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.
data/Appraisals DELETED
@@ -1,34 +0,0 @@
1
- appraise 'rails-4-0' do
2
- gem 'activerecord', '~> 4.0.0'
3
- gem 'activemodel', '~> 4.0.0'
4
- gem 'sqlite3', '~> 1.3'
5
- gem 'thor', '~> 0.19.1' # Because of coveralls :(
6
- end
7
-
8
- appraise 'rails-4-1' do
9
- gem 'activerecord', '~> 4.1.0'
10
- gem 'activemodel', '~> 4.1.0'
11
- gem 'sqlite3', '~> 1.3'
12
- gem 'thor', '~> 0.19.1' # Because of coveralls :(
13
- end
14
-
15
- appraise 'rails-4-2' do
16
- gem 'activerecord', '~> 4.2.0'
17
- gem 'activemodel', '~> 4.2.0'
18
- gem 'sqlite3', '~> 1.3'
19
- gem 'thor', '~> 0.19.1' # Because of coveralls :(
20
- end
21
-
22
- appraise 'rails-5-0' do
23
- gem 'activerecord', '~> 5.0.0'
24
- gem 'activemodel', '~> 5.0.0'
25
- gem 'sqlite3', '~> 1.3'
26
- gem 'thor', '~> 0.19.1' # Because of coveralls :(
27
- end
28
-
29
- appraise 'rails-5-1' do
30
- gem 'activerecord', '~> 5.1.0'
31
- gem 'activemodel', '~> 5.1.0'
32
- gem 'sqlite3', '~> 1.3'
33
- gem 'thor', '~> 0.19.1' # Because of coveralls :(
34
- end
data/Gemfile DELETED
@@ -1,18 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
-
5
- group :test do
6
- gem 'byebug', '~> 10', platform: :mri, require: false
7
- gem 'pry', '~> 0', platform: :mri, require: false
8
- gem 'pry-byebug', '~> 3', platform: :mri, require: false
9
- gem 'rubocop', '~> 0.59.0'
10
- gem 'rubocop-rspec', '~> 1.24.0'
11
- gem 'simplecov', '~> 0', require: false
12
- end
13
-
14
- # So the gem can run the simple test suite against the raw bundled gems without the complex BUNDLE_GEMFILE setup
15
- gem 'sqlite3', platforms: [:ruby]
16
-
17
- # Specify your gem's dependencies in activerecord-transactionable.gemspec
18
- gemspec
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task default: :spec
@@ -1,32 +0,0 @@
1
- lib = File.expand_path('lib', __dir__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'activerecord/transactionable/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'activerecord-transactionable'
7
- spec.version = Activerecord::Transactionable::VERSION
8
- spec.authors = ['Peter Boling']
9
- spec.email = ['peter.boling@gmail.com']
10
- spec.licenses = ['MIT']
11
-
12
- spec.summary = 'Do ActiveRecord transactions the right way.'
13
- spec.description = 'Getting transactions right is hard, and this gem makes it easier.'
14
- spec.homepage = 'http://www.railsbling.com/tags/activerecord-transactionable'
15
-
16
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
- spec.bindir = 'exe'
18
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
- spec.require_paths = ['lib']
20
- spec.required_ruby_version = '>= 2.1.0' # Uses named required parameters
21
-
22
- spec.add_dependency 'activemodel', '>= 4.0.0'
23
- spec.add_dependency 'activerecord', '>= 4.0.0'
24
-
25
- spec.add_development_dependency 'appraisal', '~> 2.2'
26
- spec.add_development_dependency 'bundler', '~> 1.15'
27
- spec.add_development_dependency 'coveralls', '~> 0.8'
28
- spec.add_development_dependency 'rake', '~> 12.2'
29
- spec.add_development_dependency 'rspec', '~> 3.4'
30
- spec.add_development_dependency 'thor', '~> 0.19.1'
31
- spec.add_development_dependency 'wwtd', '~> 1.3'
32
- end
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'activerecord/transactionable'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require 'irb'
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 4.0.0'
6
- gem 'activerecord', '~> 4.0.0'
7
- gem 'sqlite3', '~> 1.3'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 4.1.0'
6
- gem 'activerecord', '~> 4.1.0'
7
- gem 'sqlite3', '~> 1.3'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 4.2.0'
6
- gem 'activerecord', '~> 4.2.0'
7
- gem 'sqlite3', '~> 1.3'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 5.0.0'
6
- gem 'activerecord', '~> 5.0.0'
7
- gem 'sqlite3', '~> 1.3'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 5.1.0'
6
- gem 'activerecord', '~> 5.1.0'
7
- gem 'sqlite3', '~> 1.3'
8
-
9
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 5.2.0'
6
- gem 'activerecord', '~> 5.2.0'
7
- gem 'sqlite3', '~> 1.3'
8
-
9
- gemspec path: '../'