ahoy_panel 0.0.12 → 0.0.13

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: a9f46f8b4d9dba5827a46493be62aa838a4d9ab16b4c4ce0a5061ee65ccadeba
4
- data.tar.gz: 0b0c26533308107f7d5003ea1fc6d466410abf4511a3c0081343809efb706db1
3
+ metadata.gz: 39efe2af41368bc90684077505a447a0f0669dfc60628cc824290698532d7d5e
4
+ data.tar.gz: 61a41c2e40874775528d1f7b7eb21beafb106a5617e76fd02e39833de8fc1c5c
5
5
  SHA512:
6
- metadata.gz: 1cddb3b4b1a7abf0d0f8ebfbda48e497e515f1b4a39f7e35a304e1db962478a92f734b6e5734dca6bc204faaa603fe5b562775883c9af80419fa882fa186e96e
7
- data.tar.gz: b05496095f9977da65f7d0e3353161e6bd3fb7348f41c84db5930dd7a8c303cae0a2f63fe473f6bf09495ce3026bb038e4e138c5f3202a1e620749c6d7fd898b
6
+ metadata.gz: ce5dd4032ad003102c502fcad629e1ad848a43ea5dfd46ab29d75679b53ef193c18c4bc42d4e9a5d23d73a60969af31afc9b7b7a660b2937caabe626d68a5331
7
+ data.tar.gz: 05f510bbd9cba52b5cf06288ef522c6d666b7233fb8ab2e70617e28b678295ce61cd395c5809f2748a71da0ca2d4406de56ac970e2406a8bbb5de0acea9e6dd4
data/config/routes.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  AhoyPanel::Engine.routes.draw do
2
- get "views_data", to: "views_data#index"
3
-
4
2
  get "all_time_dates", to: "visits#all_time_dates"
5
3
 
6
4
  resources :visits, only: [:index]
@@ -1,3 +1,3 @@
1
1
  module AhoyPanel
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahoy_panel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Jeon
@@ -78,7 +78,6 @@ files:
78
78
  - Rakefile
79
79
  - app/assets/stylesheets/ahoy_panel/application.css
80
80
  - app/controllers/ahoy_panel/application_controller.rb
81
- - app/controllers/ahoy_panel/views_data_controller.rb
82
81
  - app/controllers/ahoy_panel/visits_controller.rb
83
82
  - app/helpers/ahoy_panel/application_helper.rb
84
83
  - app/jobs/ahoy_panel/application_job.rb
@@ -1,12 +0,0 @@
1
- module AhoyPanel
2
- class ViewsDataController < ApplicationController
3
- def index
4
- @start_date = params[:start_date].to_date.beginning_of_day
5
- @end_date = params[:end_date].to_date.end_of_day
6
-
7
- @visits = ::Ahoy::Visit.where(started_at: @start_date..@end_date)
8
-
9
- render json: @visits
10
- end
11
- end
12
- end