mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-16 08:24:47 +00:00
Add frozen string literal comment to files.
This commit is contained in:
parent
b83eefd9b8
commit
817a233cef
2
Gemfile
2
Gemfile
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
group :development do
|
||||
gem 'translations-manager', git: 'https://github.com/discourse/translations-manager.git'
|
||||
end
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Usage:
|
||||
# bundle install
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Queries
|
||||
def self.default
|
||||
# WARNING: Edit the query hash carefully
|
||||
@ -421,8 +423,8 @@ class Queries
|
||||
WHERE CASE WHEN :include_pms THEN true ELSE t.archetype = 'regular' END
|
||||
AND t.deleted_at IS NULL
|
||||
AND p.deleted_at IS NULL
|
||||
AND p.created_at::date >= :start_date
|
||||
AND p.created_at::date <= :end_date
|
||||
AND p.created_at::date >= :start_date
|
||||
AND p.created_at::date <= :end_date
|
||||
AND p.post_number > 1
|
||||
)
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# name: discourse-data-explorer
|
||||
# about: Interface for running analysis SQL queries on the live database
|
||||
# version: 0.2
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe DataExplorer::QueryController do
|
||||
|
Loading…
x
Reference in New Issue
Block a user