image_input 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: ab692730e6e757a30ca820411b9ff8bd3244b830b9fed37cb0cf2a9c60befaf4
4
- data.tar.gz: 47a996956d900526f67a151aae095efe9f6203e17cff950e077715968284509b
3
+ metadata.gz: e05a8c96a19bdf1a9bbcb5440ad4873e745984df5d699e3c245891088598ce80
4
+ data.tar.gz: 9f663e1a8463389ab87b7065de53901655ad1222736b08ea116d6d8766f02885
5
5
  SHA512:
6
- metadata.gz: 1512ffee551389be86c22e21a57adae1a1bf8b8c74441babd3979302c23e035a48531e33ff399497904e76cfaa8f38fb243c1cda8ffd269a9e699a00b3985c98
7
- data.tar.gz: 03f77b3abb31f14f8b4ccae63ac34c133624baec35d285235219939d5cb49bf0beb89547349d18ce0e8d9551869963f1bde8a82f98792a2e3a2fb542cf645ff8
6
+ metadata.gz: da40acec7591bfa36a3cce7e9ca72586a0aea77f3f3118435d85a03dea47e5d69931a65695eebd5b1738aba355d6434c0350018090a3b9bfa7938ca149b35b40
7
+ data.tar.gz: 501a41dbc3c290989637bc351bccc3aafc5e4b7ea386ce9f1dca05598b5e85bada12107e8bf52b51681913d28a971c1921d10317bf92895248fbb5cd0272bce0
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class ImageInput::Engine < ::Rails::Engine
4
- initializer 'image_input.engine' do |_app|
5
- ActionView::Base.include ImageInput::Helpers
3
+ module ImageInput
4
+ class Engine < ::Rails::Engine
5
+ initializer 'image_input.engine' do |_app|
6
+ ActionView::Base.include ImageInput::Helpers
7
+ end
6
8
  end
7
9
  end
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module ImageInput::Helpers
4
- def image_input(form, field)
5
- render 'image_input/input', form: form, field: field
3
+ module ImageInput
4
+ module Helpers
5
+ def image_input(form, field)
6
+ render 'image_input/input', form: form, field: field
7
+ end
6
8
  end
7
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ImageInput
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_input
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
  - Andrew Katz