the_schema_is 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3e54c39753d0c9f7004fd878f91a295508ff5f3a563e7275076a9164b4b42b5
4
- data.tar.gz: 5b3ba0f932faa204a8e5a7bdfc399c15811f29fd34211c30a2a02fea4d57b3b2
3
+ metadata.gz: 91c0bfc087833138e49b3723c6c8c7682899473ac1569b7a98d73c4aa86f62e7
4
+ data.tar.gz: c5e7980b3a600c1bfff051b719157c980cace74667db35517f225434e765e303
5
5
  SHA512:
6
- metadata.gz: 4a26c592c14cc518a601b3ee5ae4c091d989936590c20742fda04ea87b2ee2f12844b349fd58bb18ff3afbc0b4763b665a384555a3f4c786d2627a0137cc9643
7
- data.tar.gz: c3c760d8de08b39342855c85ee320f075ba221bb8d121e7acc00d8398e4aec4d9d1bbef5e69f8cb9411468a639d6deda8d238997fc47b3b0a979f78570de7345
6
+ metadata.gz: 89cff82616f4fa927e93268347d44d2d335928073912c1c4dac3f8a309d0c3fe82922bf97c6975b54a978d6d6bd23704cb30f80d4cc919896185d0d6eb0d1f9d
7
+ data.tar.gz: 0e6b141eb082561ea2939c131539e6d4ff58f47dd25d142f841b703ae6e3fe325ed10c4bc368a77b144c4cf817d4d7da8df361a6e877946d17a348f5253bac4f
@@ -0,0 +1,5 @@
1
+ # the-schema-is changes
2
+
3
+ ## 2020-05-07 - 0.0.3
4
+
5
+ First really working release.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # The schema is ...
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/the_schema_is.svg)](http://badge.fury.io/rb/the_schema_is)
4
- [![Build Status](https://travis-ci.org/zverok/the_schema_is.svg?branch=master)](https://travis-ci.org/zverok/the_schema_is)
4
+ ![Build Status](https://github.com/zverok/the_schema_is/workflows/CI/badge.svg?branch=master)
5
5
 
6
6
  `the_schema_is` is a model schema annotation DSL in ActiveSupport.
7
7
 
@@ -38,6 +38,14 @@ module TheSchemaIs
38
38
  validate
39
39
  end
40
40
 
41
+ # We need this method to tell Rubocop that EVEN if app/models/user.rb haven't changed, and
42
+ # .rubocop.yml haven't changed, we STILL may need to rerun the cop if schema.rb have changed.
43
+ def external_dependency_checksum
44
+ return unless schema_path
45
+
46
+ Digest::SHA1.hexdigest(File.read(schema_path))
47
+ end
48
+
41
49
  private
42
50
 
43
51
  attr_reader :model
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_schema_is
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Shepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backports
@@ -130,6 +130,7 @@ executables: []
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
+ - Changelog.md
133
134
  - LICENSE.txt
134
135
  - README.md
135
136
  - config/defaults.yml