chrono_model 1.2.1 → 1.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21c2181fc18f6dd3a5bdd89940eae284b340427bc81a4f024b6ad0686c146598
4
- data.tar.gz: e7afa88021f63cd42e160a800f66e84bff1ba90f706c209df436059f70ae04e3
3
+ metadata.gz: fa9d6f8ee80241092713836e372cf3cb568639e403511ba2c48ba33275f6c1a8
4
+ data.tar.gz: '055794bce8014501e3eea0a180abe04278f1aba62015d3f5b98d75499c6faba1'
5
5
  SHA512:
6
- metadata.gz: a99b96b4166a7355016840fd7e7c6cf01febc86e89b1a6e07421db89e7d234972e214a9881b9a3bea2c8210bac2f83735a0d5d7d52c877c5b60160165fc09b16
7
- data.tar.gz: 84300076a2b5211d3f1f3b317c087f893c754fcec43a2b64614b1a80b53304d95d6e686b5e25144758dd5731d7cd12de662dd45b981d9e259810346e186fe75d
6
+ metadata.gz: 380cbab091ab178aea031fee4e8343797a5e461e98b233a8c732b7cc0f9bd584497fa3b1bcc8703f6d8b74b972aeed2a257f6aba9ca7a2d932b4e72e7c211506
7
+ data.tar.gz: c601c91ce05f426aef3c75b37ba9920170666523abff9b219ab09816e6c17f42146131d5ffcc89d233d5d7ec94d6ac5592e6a8160dd8207b9a48c3ff51feb629
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Build Status][build-status-badge]][build-status]
4
4
  [![Code Climate][code-analysis-badge]][code-analysis]
5
5
  [![Test Coverage][test-coverage-badge]][test-coverage]
6
+ [![Gem Version][gem-version-badge]][gem-version]
6
7
  [![Inlinedocs][docs-analysis-badge]][docs-analysis]
7
8
 
8
9
  ![{A Delorean that we all love}][delorean-image]
@@ -381,6 +382,8 @@ This software is Made in Italy :it: :smile:.
381
382
  [code-analysis-badge]: https://codeclimate.com/github/ifad/chronomodel.svg
382
383
  [docs-analysis]: http://inch-ci.org/github/ifad/chronomodel
383
384
  [docs-analysis-badge]: http://inch-ci.org/github/ifad/chronomodel.svg?branch=master
385
+ [gem-version]: https://rubygems.org/gems/chrono_model
386
+ [gem-version-badge]: https://badge.fury.io/rb/chrono_model.svg
384
387
  [test-coverage]: https://codeclimate.com/github/ifad/chronomodel
385
388
  [test-coverage-badge]: https://codeclimate.com/github/ifad/chronomodel/badges/coverage.svg
386
389
 
data/Rakefile CHANGED
@@ -3,8 +3,9 @@ require "bundler/gem_tasks"
3
3
 
4
4
  # RSpec
5
5
  require 'rspec/core/rake_task'
6
- spec_task = RSpec::Core::RakeTask.new
7
- spec_task.rspec_opts = '-f doc'
6
+ RSpec::Core::RakeTask.new do |spec|
7
+ spec.rspec_opts = '-f doc'
8
+ end
8
9
  task :default => ['testapp:create', :spec]
9
10
 
10
11
  # Create a test Rails app in tmp/railsapp for testing the rake
@@ -2,13 +2,13 @@ module ChronoModel
2
2
  class Adapter < ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
3
3
 
4
4
  module Upgrade
5
- private
6
- def chrono_upgrade!
7
- chrono_ensure_schemas
5
+ def chrono_upgrade!
6
+ chrono_ensure_schemas
8
7
 
9
- chrono_upgrade_structure!
10
- end
8
+ chrono_upgrade_structure!
9
+ end
11
10
 
11
+ private
12
12
  # Locate tables needing a structure upgrade
13
13
  #
14
14
  def chrono_tables_needing_upgrade
@@ -1,3 +1,3 @@
1
1
  module ChronoModel
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chrono_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcello Barnaba
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-14 00:00:00.000000000 Z
12
+ date: 2019-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord