rails-domino 0.2.9.4 → 0.2.9.5

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: a39ffa29f651ad914316824a2004228aedff537a369a0704ce5bc34c2b0b31e9
4
- data.tar.gz: 552c59f30efcf68a28e7bb4c0a85b96617980c50a22deaca2e06bb796984b21f
3
+ metadata.gz: 107c7760a22d588f90b4363f39250a9cda0c5480c4bd87e9a9db467738c497c8
4
+ data.tar.gz: 79cbd5de4a89f9d7cb9c19c6c847e0a5de19046e53c59aadf190246f890d3e68
5
5
  SHA512:
6
- metadata.gz: 65d804ef525ed2e1f7d8c31baad5ef935a3e107f9f2e3973e42f362ab1bd502548233ade01aadb8cbb7f9cc4313e9374f0166de07a213b4f6ed9d3f5390e0629
7
- data.tar.gz: 5d171075e1734350034e82eddbbb7d6484539173aa9387dd7aac4d148af831c73f1835a937ee4663520ac6702afc71b74dd86b992164e260c6ac328bfa6a893b
6
+ metadata.gz: d6862580e914b8cc439c599caf2e49c5656f853d06652a9fdba2ceff101b2a25995fd513c680314dd5e02a7639c3fe1c13acdc6dee691c773b6289c504da81ee
7
+ data.tar.gz: 5302f9ebab4e903af94893229b58620285d1d83616c1ebcb0a70c0c95dfa0564185bed9378a5e1a0e14854620dc4c3336e3d2627e8449110f1ff8ff65cd65a0f
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Domino
4
- VERSION = "0.2.9.4"
4
+ VERSION = "0.2.9.5"
5
5
  end
@@ -42,6 +42,8 @@ class DominoGenerator < Rails::Generators::NamedBase # rubocop:disable Style/Doc
42
42
  template "controller.rb.tt", File.join("app/controllers", "#{@plural_file_name}_controller.rb")
43
43
  end
44
44
 
45
+ private
46
+
45
47
  def register_dependency(key, class_name)
46
48
  init_file = Rails.root.join("config/initializers/domino_container.rb")
47
49
  line = "Domino::Container.register(\"#{key}\", -> { #{class_name}.new })"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-domino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9.4
4
+ version: 0.2.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - kiebor81