ishapi 0.1.8.11 → 0.1.8.12

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
  SHA1:
3
- metadata.gz: d79a3a719d7fa36883dd109423711e35e28cf65b
4
- data.tar.gz: 50cd2e9879a2df1eceae77400f6d1560278e7718
3
+ metadata.gz: b00ce87f4303869727680948f6db47a2bbeab74a
4
+ data.tar.gz: 14a7f26696dccad5ca0c8620ca854a15d170e208
5
5
  SHA512:
6
- metadata.gz: 3fdfa54a03c5475de38df30c3be81d8a1c2a3586f98d1a7b9ec44e8d1a52d44edbc8fe34a95e6893d610a490f8d363bcafdaa1a0ca2a034fb1845149730736bf
7
- data.tar.gz: e3d02942bf3758da0eccbedb10afc692c2a1281561f937f6d8a58b3a8ba44f645577ec9501c16a27a153596e5c34d4a8ba02920ce86cf6bf3ae4302f3820550f
6
+ metadata.gz: 7267dfd78e5d71a39a5a1718e7948b0554ec7161e935cf430a4174a6e9e66d72f8a3cc444118b4f291bb8dbdfcdfb548e540cfe99ca65e821c3faefdeff6eb21
7
+ data.tar.gz: 79371a3940aec9661cd658d0d1ece8bd680c5e4fc4439bd4cf5bf4a277f62dbf9cb836b2e8eb51fae53190d4bbe7806990ab82ecd534c621c1006cc47aecff76
@@ -16,5 +16,6 @@ json.cache! key do
16
16
  json.partial! 'ishapi/galleries/index', :galleries => @city.galleries
17
17
  json.partial! 'ishapi/reports/index', :reports => @city.reports
18
18
  json.partial! 'ishapi/venues/index', :venues => @city.venues
19
+ json.partial! 'ishapi/videos/index', :videos => @city.videos
19
20
  end
20
21
  end
@@ -10,5 +10,6 @@ json.cache! key do
10
10
  json.domain @site.domain
11
11
  json.lang @site.lang
12
12
  json.partial! 'ishapi/newsitems/index', :newsitems => @newsitems
13
+ json.partial! 'ishapi/videos/index', :videos => @site.videos
13
14
  end
14
15
  end
@@ -0,0 +1,12 @@
1
+
2
+ #
3
+ # ishapi / videos / _index
4
+ #
5
+
6
+ json.videos videos do |video|
7
+ json.youtube_id video.youtube_id
8
+ json.name video.name
9
+ json.description video.descr
10
+ json.x video.x
11
+ json.y video.y
12
+ end
@@ -0,0 +1,8 @@
1
+
2
+ #
3
+ # ishapi / videos / _index
4
+ #
5
+
6
+ json.videos videos do |v|
7
+ json.youtube_id v.youtube_id
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.11
4
+ version: 0.1.8.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-17 00:00:00.000000000 Z
11
+ date: 2017-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -192,6 +192,8 @@ files:
192
192
  - app/views/ishapi/venues/_index.jbuilder~
193
193
  - app/views/ishapi/venues/show.jbuilder
194
194
  - app/views/ishapi/venues/show.jbuilder~
195
+ - app/views/ishapi/videos/_index.jbuilder
196
+ - app/views/ishapi/videos/_index.jbuilder~
195
197
  - app/views/layouts/ishapi/application.html.erb
196
198
  - config/routes.rb
197
199
  - lib/ishapi.rb