ishapi 0.1.8.68 → 0.1.8.69
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ishapi/cities_controller.rb +0 -1
- data/app/controllers/ishapi/orders_controller.rb +1 -0
- data/app/views/ishapi/cities/_index.jbuilder +11 -0
- data/app/views/ishapi/cities/features.jbuilder +9 -0
- data/app/views/ishapi/cities/index.jbuilder +1 -10
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 673c9fe837a1ba77d8bb26a1ca23fb2b6e135b2e
|
4
|
+
data.tar.gz: 6be81ac105a8e49db4e40d341eef339750620405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3890acc78628bada8285236719ca9c480638ddf98e5fa8e0f4061c84122fc9e43b057520cb2cb3569afade071522c5e3526e7db531b04cd5d0cc6b57d398f7bf
|
7
|
+
data.tar.gz: f9b7aaee47cba2bcad6a2d4c8bd84519626580b5d61d270d4fb2570ec28f3587530b56da2b817a94ac62fc1925b36e03e0385d6550e9e92c0f48db59ead0b001
|
@@ -8,6 +8,7 @@ module Ishapi
|
|
8
8
|
authorize! :create, CoTailors::Order
|
9
9
|
|
10
10
|
# byebug
|
11
|
+
# HEREHERE
|
11
12
|
|
12
13
|
=begin
|
13
14
|
params = {"token"=>{"id"=>"tok_1BoLkRDpn3WurCccVNQK4pfV", "object"=>"token", "card"=>{"id"=>"card_1BoLkRDpn3WurCccET5cyAMU", "object"=>"card", "address_city"=>nil, "address_country"=>nil, "address_line1"=>nil, "address_line1_check"=>nil, "address_line2"=>nil, "address_state"=>nil, "address_zip"=>"42424", "address_zip_check"=>"unchecked", "brand"=>"Visa", "country"=>"US", "cvc_check"=>"unchecked", "dynamic_last4"=>nil, "exp_month"=>4, "exp_year"=>2024, "funding"=>"credit", "last4"=>"4242", "metadata"=>{}, "name"=>nil, "tokenization_method"=>nil}, "client_ip"=>"76.103.54.198", "created"=>1516929079, "livemode"=>false, "type"=>"card", "used"=>false}, "accessToken"=>"EAAcgM1d2EyABAFAvisZBJy0vnlmunq1RM5rbcfUN0B1G6WGwulGkwqfJyP8Ue8Gb1DsyHyjLZCmEmMKKjhZCFF8JIyyZAGLLyqpIr8kg6wWhAIzLQ7HbYfmwFI8aZARtJB4ZBo4KZBbBx4wHUmLoPqAsG2Ca2DXKPkZD", "order"=>{"token"=>{"id"=>"tok_1BoLkRDpn3WurCccVNQK4pfV", "object"=>"token", "card"=>{"id"=>"card_1BoLkRDpn3WurCccET5cyAMU", "object"=>"card", "address_city"=>nil, "address_country"=>nil, "address_line1"=>nil, "address_line1_check"=>nil, "address_line2"=>nil, "address_state"=>nil, "address_zip"=>"42424", "address_zip_check"=>"unchecked", "brand"=>"Visa", "country"=>"US", "cvc_check"=>"unchecked", "dynamic_last4"=>nil, "exp_month"=>4, "exp_year"=>2024, "funding"=>"credit", "last4"=>"4242", "metadata"=>{}, "name"=>nil, "tokenization_method"=>nil}, "client_ip"=>"76.103.54.198", "created"=>1516929079, "livemode"=>false, "type"=>"card", "used"=>false}, "accessToken"=>"EAAcgM1d2EyABAFAvisZBJy0vnlmunq1RM5rbcfUN0B1G6WGwulGkwqfJyP8Ue8Gb1DsyHyjLZCmEmMKKjhZCFF8JIyyZAGLLyqpIr8kg6wWhAIzLQ7HbYfmwFI8aZARtJB4ZBo4KZBbBx4wHUmLoPqAsG2Ca2DXKPkZD"}}
|
@@ -5,14 +5,5 @@
|
|
5
5
|
|
6
6
|
key = [ ::IshModels::CacheKey.one.cities ]
|
7
7
|
json.cache! key do
|
8
|
-
json.
|
9
|
-
json.id city.id.to_s
|
10
|
-
json.name city.name
|
11
|
-
json.cityname city.cityname
|
12
|
-
json.x city.x
|
13
|
-
json.y city.y
|
14
|
-
if city.profile_photo
|
15
|
-
json.photo city.profile_photo.photo.url( :thumb )
|
16
|
-
end
|
17
|
-
end
|
8
|
+
json.partial! 'index', :cities => @cities
|
18
9
|
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.
|
4
|
+
version: 0.1.8.69
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -227,6 +227,8 @@ files:
|
|
227
227
|
- app/views/ishapi/articles/index.html.erb
|
228
228
|
- app/views/ishapi/articles/new.html.erb
|
229
229
|
- app/views/ishapi/articles/show.html.erb
|
230
|
+
- app/views/ishapi/cities/_index.jbuilder
|
231
|
+
- app/views/ishapi/cities/features.jbuilder
|
230
232
|
- app/views/ishapi/cities/index.jbuilder
|
231
233
|
- app/views/ishapi/cities/show.jbuilder
|
232
234
|
- app/views/ishapi/cities/show.jbuilder~
|