effective_classifieds 0.5.0 → 0.5.1

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: 0e0ef9d80b727dd2010987510e92ba800401209d898f2797d82ab2bd16054aa2
4
- data.tar.gz: c19d09c1d221d9c48869b25cbb643bf4d5f59cc7ee7de3b04c3a4e51d6019ca9
3
+ metadata.gz: fd50a8e12797b1b7a7da7081e55c077efc5141775706430fbffd440bf744b911
4
+ data.tar.gz: fd97d6b44bbfa9b076f5cf419edc1b9e58572cbc04abcba91ad0a68bbd0a1ebc
5
5
  SHA512:
6
- metadata.gz: d151d6779e798212ad62143da7ece3d75da8ebcdfcf8ad48a1946f841847028bd88e4e57d5486426aecbcb8a81606bd7c75d1063a53db13cafd2d81e87d3b986
7
- data.tar.gz: 4b2fe777a078b329dc464dea6fa556887568d2a1db578499510fe6653e8176552c0198b5581949a2a052bb6ecfbff39364cd3e2e94a822d6f04d0fb801c513d5
6
+ metadata.gz: 27283385e03edd3c6588e90a05fba8beffc9864c219b88e6b882c487263bd40b374683bd074750530f62acd3a766b718f4becc0d664a41ad675a7e5cc0af0a11
7
+ data.tar.gz: 36e596bbfb2b110a180d6c470500d1675136ac6cd629c8f4478569081cf2b10f72772dc6c25b2127cc36207f0889f12a830470c28ce49d389848c8562997b1f2
@@ -177,5 +177,9 @@ module Effective
177
177
  approved!
178
178
  end
179
179
 
180
+ def unapprove!
181
+ unapproved!
182
+ end
183
+
180
184
  end
181
185
  end
data/config/routes.rb CHANGED
@@ -19,6 +19,7 @@ EffectiveClassifieds::Engine.routes.draw do
19
19
  namespace :admin do
20
20
  resources :classifieds, except: [:show] do
21
21
  post :approve, on: :member
22
+ post :unapprove, on: :member
22
23
  end
23
24
 
24
25
  resources :jobs, except: [:show], controller: 'classifieds'
@@ -1,3 +1,3 @@
1
1
  module EffectiveClassifieds
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.5.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_classifieds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-04 00:00:00.000000000 Z
11
+ date: 2023-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails