renalware-forms 0.1.11 → 0.1.12

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: 92ef42b414ec62117acbf04fc22a9bf34e1ca82176a69c02914c564345f6f327
4
- data.tar.gz: c951b4c7190b188bda3d2544e96fe173bf52b19ee3eb77313215c4b5708c738b
3
+ metadata.gz: dd9341e8f12132888ef246662aa120e4f906571a45614cde0dfefade9b2f8f9c
4
+ data.tar.gz: 8a0e2b6dd40231d314967a8d37e7c524fb0b44b5df634c0db514c3ea5c696680
5
5
  SHA512:
6
- metadata.gz: 0e834a60b44a5244f9845eb8897624a1a64fba69c2dca49755dab064f61629a78f4bb020624ff007ab4376da87b2dd562f526d068972b848534e5068398c0784
7
- data.tar.gz: 23b9b51811838cc076afb490526bd79adc2943a16038b7be9747122f05ee9c9d00ef84d08b27523346de161a643d680ae0c4c64f84bebd5bd7a56357a58e2b53
6
+ metadata.gz: 8e7a149ec68eefa1fceffeddf32450e3a2509e66e38e4775a9f9461333845055480b57b5a856c48c3960faef862af2173a3580bb8b6409e515c4146a3e42ed14
7
+ data.tar.gz: 4e48c28e5b252e7f385ccb3f81a0e69140cb0740ea9bbc93395a8273eb322cec16cd3e5fe31b8b0ad21c5bedc78d6cc09fcd594fc84a5e355e05f24b9dbd7552
@@ -4,13 +4,13 @@ require "zeitwerk"
4
4
  require "prawn"
5
5
  require "prawn/table"
6
6
  require "attr_extras"
7
- require_relative "./forms/version"
8
7
 
9
8
  # Set up autoloading with zeitwerk
10
9
  # As we are nested in lib/renalware/forms, be sure to push an absolute
11
10
  # path to the lib folder.
12
11
  loader = Zeitwerk::Loader.new
13
12
  loader.push_dir File.expand_path("../", __dir__)
13
+ loader.ignore File.expand_path("../renalware/forms/version.rb", __dir__)
14
14
  loader.setup
15
15
 
16
16
  module Renalware
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "renalware/forms/version"
4
+
3
5
  module Renalware::Forms::Generic
4
6
  module Homecare::V1
5
7
  class Footer < Base
@@ -160,6 +160,7 @@ module Renalware::Forms
160
160
  )
161
161
 
162
162
  raise ArgumentError, args.errors unless args.valid?
163
+
163
164
  args
164
165
  end
165
166
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Renalware
4
4
  module Forms
5
- VERSION = "0.1.11"
5
+ VERSION = "0.1.12"
6
6
  end
7
7
  end
data/lib/tasks/tasks.rake CHANGED
@@ -2,3 +2,11 @@ desc "Starts irb so we can debug the gem"
2
2
  task :console do
3
3
  exec "irb -r ./lib/renalware/forms"
4
4
  end
5
+
6
+ namespace :zeitwerk do
7
+ desc "Checks project structure for Zeitwerk compatibility"
8
+ task :check do
9
+ require "renalware/forms"
10
+ Zeitwerk::Loader.eager_load_all
11
+ end
12
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel