keepr 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -2
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/ci/Gemfile-rails-4-1 +1 -1
- data/ci/Gemfile-rails-4-2 +1 -1
- data/ci/Gemfile-rails-5-0 +1 -1
- data/ci/Gemfile-rails-5-1 +12 -0
- data/lib/generators/keepr/migration/templates/migration.rb +1 -1
- data/lib/keepr.rb +6 -0
- data/lib/keepr/version.rb +1 -1
- data/spec/spec_helper.rb +5 -4
- data/spec/support/spec_migration.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c91b1ad75caddcdc40fea241881c31b7f6c4da1d
|
4
|
+
data.tar.gz: 11643a043c97b47c09d9623992fd70d2cbaa607a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a207f1ebce4fe8bb4fa594ad73bda3035c9da0d82d05b7258e681b8c53478989c2b8155c3495bb7a9ccbf4345ac2a29b1a51762ab907cd248c1811f42ec74284
|
7
|
+
data.tar.gz: dd41650bac870b4173f9cfe460ab187e42216bbd206bc36563032c3d75b9f550e3871bf842945c94781b0df73d3ccd697a4fd18b5df0bd8f41ad6378a7ef8d52
|
data/.travis.yml
CHANGED
@@ -2,16 +2,25 @@ language: ruby
|
|
2
2
|
rvm:
|
3
3
|
- 2.0.0
|
4
4
|
- 2.1.10
|
5
|
-
- 2.2.
|
6
|
-
- 2.3.
|
5
|
+
- 2.2.7
|
6
|
+
- 2.3.3
|
7
|
+
- 2.4.1
|
7
8
|
gemfile:
|
8
9
|
- ci/Gemfile-rails-4-1
|
9
10
|
- ci/Gemfile-rails-4-2
|
10
11
|
- ci/Gemfile-rails-5-0
|
12
|
+
- ci/Gemfile-rails-5-1
|
11
13
|
matrix:
|
12
14
|
exclude:
|
15
|
+
- rvm: 2.0.0
|
16
|
+
gemfile: ci/Gemfile-rails-5-1
|
17
|
+
- rvm: 2.1.10
|
18
|
+
gemfile: ci/Gemfile-rails-5-1
|
13
19
|
- rvm: 2.0.0
|
14
20
|
gemfile: ci/Gemfile-rails-5-0
|
15
21
|
- rvm: 2.1.10
|
16
22
|
gemfile: ci/Gemfile-rails-5-0
|
23
|
+
- rvm: 2.4.1
|
24
|
+
gemfile: ci/Gemfile-rails-4-1
|
17
25
|
before_install: gem update bundler
|
26
|
+
sudo: false
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -20,7 +20,7 @@ This Ruby gem provides a double entry accounting system for use in any Rails app
|
|
20
20
|
## Dependencies
|
21
21
|
|
22
22
|
* Ruby 2.0.0 or later
|
23
|
-
* Rails 4.1 or newer (including Rails 5)
|
23
|
+
* Rails 4.1 or newer (including Rails 5.x)
|
24
24
|
|
25
25
|
|
26
26
|
## Installation
|
@@ -64,4 +64,4 @@ TODO: Write usage instructions here
|
|
64
64
|
* https://github.com/bigfleet/accountable
|
65
65
|
|
66
66
|
|
67
|
-
Copyright (c) 2013-
|
67
|
+
Copyright (c) 2013-2017 [Georg Ledermann](http://www.georg-ledermann.de), released under the MIT license
|
data/ci/Gemfile-rails-4-1
CHANGED
data/ci/Gemfile-rails-4-2
CHANGED
data/ci/Gemfile-rails-5-0
CHANGED
data/lib/keepr.rb
CHANGED
@@ -17,3 +17,9 @@ require 'keepr/active_record_extension'
|
|
17
17
|
class ActiveRecord::Base
|
18
18
|
include Keepr::ActiveRecordExtension
|
19
19
|
end
|
20
|
+
|
21
|
+
Keepr::MIGRATION_BASE_CLASS = if ActiveRecord::VERSION::MAJOR >= 5
|
22
|
+
ActiveRecord::Migration[5.0]
|
23
|
+
else
|
24
|
+
ActiveRecord::Migration
|
25
|
+
end
|
data/lib/keepr/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -10,6 +10,11 @@ SimpleCov.start do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
require 'active_record'
|
13
|
+
puts "Testing with ActiveRecord #{ActiveRecord::VERSION::STRING}"
|
14
|
+
ActiveRecord::Base.configurations = YAML.load_file(File.expand_path('database.yml', File.dirname(__FILE__)))
|
15
|
+
ActiveRecord::Base.establish_connection(:sqlite)
|
16
|
+
ActiveRecord::Migration.verbose = false
|
17
|
+
|
13
18
|
require 'database_cleaner'
|
14
19
|
require 'keepr'
|
15
20
|
require 'generators/keepr/migration/templates/migration.rb'
|
@@ -59,7 +64,3 @@ RSpec.configure do |config|
|
|
59
64
|
end
|
60
65
|
end
|
61
66
|
|
62
|
-
puts "Testing with ActiveRecord #{ActiveRecord::VERSION::STRING}"
|
63
|
-
ActiveRecord::Base.configurations = YAML.load_file(File.expand_path('database.yml', File.dirname(__FILE__)))
|
64
|
-
ActiveRecord::Base.establish_connection(:sqlite)
|
65
|
-
ActiveRecord::Migration.verbose = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keepr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Ledermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- ci/Gemfile-rails-4-1
|
180
180
|
- ci/Gemfile-rails-4-2
|
181
181
|
- ci/Gemfile-rails-5-0
|
182
|
+
- ci/Gemfile-rails-5-1
|
182
183
|
- keepr.gemspec
|
183
184
|
- lib/generators/keepr/migration/migration_generator.rb
|
184
185
|
- lib/generators/keepr/migration/templates/migration.rb
|
@@ -239,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
240
|
version: '0'
|
240
241
|
requirements: []
|
241
242
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.6.
|
243
|
+
rubygems_version: 2.6.11
|
243
244
|
signing_key:
|
244
245
|
specification_version: 4
|
245
246
|
summary: Some basic ActiveRecord models to build a double entry bookkeeping application
|