geopolitical 4.1.0 → 4.1.1

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: bfe29900897a18f20389e3bcc7107c7934acf4a482594d62cd203d16218baacf
4
- data.tar.gz: 7502b7cb5e3b66461e849cbb4eac85ac20e05e7e4c77f05d30067363dd99670c
3
+ metadata.gz: 7c83de7fa358edf3032e002afa160eb629022a374f589f89a4e1c061d4113586
4
+ data.tar.gz: e262aefcfd984280b32c4aeddea8f64fd600fd130a303f10dc7631dbaddfb167
5
5
  SHA512:
6
- metadata.gz: 7d878011e11bc16a92e2709938930d3a52bb6acabd4735ddcd393c150cd8c179b594cc0b497db50f37d556414f77f59ee235db6e519e41c3fb6aab6bf1c9f689
7
- data.tar.gz: b6fa32e93cd018cf6487c5930b3e22dcd9ca4eb6c89a5c970c8824f56cb3050c55370c7eb3950d07027166f39c6b958440a32950497ea4b6629d008d582a209f
6
+ metadata.gz: 15b0754ffb716100a94ef4f539e605de42a543e17144c0a200187468fb9bce6855b4be25f0b62789ae0b3a291543ee190bf67f015d9d5ee94fdc45d77e3b0951
7
+ data.tar.gz: ed2410dfb3547275426197641976c1c1b9a7a0c54e687465e4ea3bc79fd9f5692b6ce68aefa8ac83024b61b838833aa70f76ff0b351cce6eb962e79eb950089e
@@ -22,7 +22,7 @@ module Geopolitical
22
22
  if @city.save
23
23
  redirect_to city_path(@city), notice: t('geopolitical.flash.created', model: City.model_name.human)
24
24
  else
25
- render :new, status: :unprocessable_entity
25
+ render :new, status: :unprocessable_content
26
26
  end
27
27
  end
28
28
 
@@ -30,7 +30,7 @@ module Geopolitical
30
30
  if @city.update(city_params)
31
31
  redirect_to city_path(@city), notice: t('geopolitical.flash.updated', model: City.model_name.human)
32
32
  else
33
- render :edit, status: :unprocessable_entity
33
+ render :edit, status: :unprocessable_content
34
34
  end
35
35
  end
36
36
 
@@ -22,7 +22,7 @@ module Geopolitical
22
22
  if @hood.save
23
23
  redirect_to hood_path(@hood), notice: t('geopolitical.flash.created', model: Hood.model_name.human)
24
24
  else
25
- render :new, status: :unprocessable_entity
25
+ render :new, status: :unprocessable_content
26
26
  end
27
27
  end
28
28
 
@@ -30,7 +30,7 @@ module Geopolitical
30
30
  if @hood.update(hood_params)
31
31
  redirect_to hood_path(@hood), notice: t('geopolitical.flash.updated', model: Hood.model_name.human)
32
32
  else
33
- render :edit, status: :unprocessable_entity
33
+ render :edit, status: :unprocessable_content
34
34
  end
35
35
  end
36
36
 
@@ -21,7 +21,7 @@ module Geopolitical
21
21
  if @nation.save
22
22
  redirect_to nation_path(@nation), notice: t('geopolitical.flash.created', model: Nation.model_name.human)
23
23
  else
24
- render :new, status: :unprocessable_entity
24
+ render :new, status: :unprocessable_content
25
25
  end
26
26
  end
27
27
 
@@ -29,7 +29,7 @@ module Geopolitical
29
29
  if @nation.update(nation_params)
30
30
  redirect_to nation_path(@nation), notice: t('geopolitical.flash.updated', model: Nation.model_name.human)
31
31
  else
32
- render :edit, status: :unprocessable_entity
32
+ render :edit, status: :unprocessable_content
33
33
  end
34
34
  end
35
35
 
@@ -22,7 +22,7 @@ module Geopolitical
22
22
  if @region.save
23
23
  redirect_to region_path(@region), notice: t('geopolitical.flash.created', model: Region.model_name.human)
24
24
  else
25
- render :new, status: :unprocessable_entity
25
+ render :new, status: :unprocessable_content
26
26
  end
27
27
  end
28
28
 
@@ -30,7 +30,7 @@ module Geopolitical
30
30
  if @region.update(region_params)
31
31
  redirect_to region_path(@region), notice: t('geopolitical.flash.updated', model: Region.model_name.human)
32
32
  else
33
- render :edit, status: :unprocessable_entity
33
+ render :edit, status: :unprocessable_content
34
34
  end
35
35
  end
36
36
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Geopolitical
4
- VERSION = '4.1.0'
4
+ VERSION = '4.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geopolitical
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Piccinini