rails-image-post-solution 0.1.14 → 0.1.15

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: b486c6d4726a0d3774bf530d8fc27e2e5ee22a869535ae635b448991a896c46a
4
- data.tar.gz: 9a6b640e3f4eb3ca43d9fd202284b0d095d1bd7c1d3be4d57b319f69489a173c
3
+ metadata.gz: 8af526e158a676bd8774a92896fc6fcb90e07358a83f17634fdf9ec277f2f875
4
+ data.tar.gz: 1bb02b2de8078d9178240a6a2d67acef480b78212d94419cdaa97fbefb265ec9
5
5
  SHA512:
6
- metadata.gz: 318733add4a1dfc760608aefc72f5ff7e54888a832dcaa9bf15c9d4a8437d426ccde18ef4c9ffa5e2d8158d1131e849a89b927794ed16e758b70ba9401d1ad6f
7
- data.tar.gz: 872cec66f1cf53510f13e6de9ac3075997a875a3c1ce1669daa24c2f04b587ec548e9170f11db2c173ae4a98ff74d53997355092fb0f8dc4ba04d23c639003f5
6
+ metadata.gz: fc07b765e0f7fd90cc783d9d8b5ce9505db8b574ea077d6b641ff31c4b1c45d07a2dbe7bb182b84bf2b649b9ebfec14d05a094496765a4c0438a9fbb0642a3dc
7
+ data.tar.gz: 96680a6f9957c9421b2f54e107019094822ad619211782fea7a3828b7a26405efba1bbf20744c06a34403fb7645bc477c1c9dc0c93e32d0415b7b2b79849fffd
@@ -71,17 +71,5 @@ module RailsImagePostSolution
71
71
  end
72
72
  end
73
73
  end
74
-
75
- def require_login
76
- # Call authentication method implemented in host application
77
- return if respond_to?(:current_user) && current_user
78
-
79
- respond_to do |format|
80
- format.json do
81
- render json: { error: I18n.t("rails_image_post_solution.flash.login_required") }, status: :unauthorized
82
- end
83
- format.html { redirect_to main_app.root_path, alert: I18n.t("rails_image_post_solution.flash.login_required") }
84
- end
85
- end
86
74
  end
87
75
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsImagePostSolution
4
- VERSION = "0.1.14"
4
+ VERSION = "0.1.15"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-image-post-solution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler