ishapi 0.1.8.122 → 0.1.8.123

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: f847fd6b0d800d9c2c6ab5c9f677b7a9aeffda9793881faeaf1b8b0f87f781c0
4
- data.tar.gz: 5c9e3e384beab32a5d57523504493291a4d7a25c8e1777ab7b83684529cdb424
3
+ metadata.gz: be232dc2845d094bcb3c3e1e31b5ae5367c4910dab7c3d43c2e2b01c76c07771
4
+ data.tar.gz: dbe24ca13fad57b743b0b1550fe4ec41e55d859f4ece7146829f718bd36b837f
5
5
  SHA512:
6
- metadata.gz: d0a989ce0e9f57e4179e9f46616f1d704f69438d8735de787ab35178280bcd189b46ae7966631834b987f2d48a887d471b9bb0a631a7d336801c64b487f44eb1
7
- data.tar.gz: 2e2c32d28202811a56266fe89eaf7a5630e8a0fc99cd57080dde128e2bc878269e5634e2732ac99de195c877844cef420e2346855cad97436f33e594065673c7
6
+ metadata.gz: '0385280be1d1606c5150d9c0d6800461d49ff7d8e69e074d08282a9e62d1192f6e0500b86a65a44dba798d27de760237f9e768a62dce7f7acfe1eb726f966dc1'
7
+ data.tar.gz: 369045fc1fca3d704fba4ea6161197356a816a297748d1febe0606d3e034188146d06528fb92361300015cf01314f44af096af708dd8db64f756692bda4dda73
@@ -3,12 +3,10 @@
3
3
  ## ishapi / tags / _index
4
4
  ##
5
5
 
6
- # json.n_tags tags.count
7
6
  json.tags do
8
7
  json.array! tags do |tag|
9
- # json.id tag.id.to_s
10
- json.name tag.name
11
- json.name_seo tag.name_seo
8
+ json.name tag.name
9
+ json.slug tag.name_seo
12
10
  end
13
11
  end
14
12
 
@@ -9,15 +9,3 @@ json.name tag.name
9
9
  json.tagname tag.tagname
10
10
 
11
11
  json.partial! 'ishapi/newsitems/index', :newsitems => tag.newsitems.limit(1)
12
-
13
- =begin
14
- json.videos do
15
- json.array! @tag.videos
16
- end
17
- json.reports do
18
- json.array! @tag.reports
19
- end
20
- json.galleries do
21
- json.array! @tag.galleries
22
- end
23
- =end
@@ -4,8 +4,7 @@
4
4
  #
5
5
 
6
6
  json.array! @tags do |tag|
7
- json.id tag.id.to_s
8
- json.name tag.name
9
- json.name_seo tag.name_seo
7
+ json.name tag.name
8
+ json.slug tag.name_seo
10
9
  end
11
10
 
@@ -4,9 +4,8 @@
4
4
  # ishapi / tags / show
5
5
  #
6
6
 
7
- json.id @tag.id.to_s
8
- json.name @tag.name
9
- json.tagname @tag.tagname
7
+ json.name @tag.name
8
+ json.slug @tag.tagname
10
9
 
11
10
  json.partial! 'ishapi/newsitems/index', :newsitems => @tag.newsitems.page( params[:newsitems_page] ).per( params[:newsitems_per] || 25 )
12
11
  json.partial! 'ishapi/reports/index', :reports => @tag.reports.page( params[:reports_page] ).per( params[:reports_per] || 25 )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.122
4
+ version: 0.1.8.123
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox