Skip to content

Instantly share code, notes, and snippets.

@coreymartella
Created August 2, 2016 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreymartella/765736733fae949a42d3b02852ce4836 to your computer and use it in GitHub Desktop.
Save coreymartella/765736733fae949a42d3b02852ce4836 to your computer and use it in GitHub Desktop.
Blazer Chart Issue
GIT
remote: git://github.com/liuganggang/kaminari.git
revision: a5022f4642eec54568f7db72d8e427c6f6bb8ca9
ref: a5022f4642eec54568f7db72d8e427c6f6bb8ca9
specs:
kaminari (1.0.0.alpha)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
GIT
remote: git://github.com/refile/refile.git
revision: cbdd2a6dd718d62f18e22657cc169f520db6a424
specs:
refile (0.6.2)
mime-types
rest-client (~> 1.8)
sinatra (~> 1.4.5)
GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
specs:
actionmailer (4.2.4)
actionpack (= 4.2.4)
actionview (= 4.2.4)
activejob (= 4.2.4)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.4)
actionview (= 4.2.4)
activesupport (= 4.2.4)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.4)
activesupport (= 4.2.4)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.4)
activesupport (= 4.2.4)
globalid (>= 0.3.0)
activemodel (4.2.4)
activesupport (= 4.2.4)
builder (~> 3.1)
activerecord (4.2.4)
activemodel (= 4.2.4)
activesupport (= 4.2.4)
arel (~> 6.0)
activesupport (4.2.4)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
activesupport-json_encoder (1.1.0)
activesupport (>= 4.1.0, < 5.0)
addressable (2.3.8)
annotate (2.6.10)
activerecord (>= 3.2, <= 4.3)
rake (~> 10.4)
arel (6.0.3)
autoprefixer-rails (6.0.2)
execjs
json
aws-sdk (2.2.7)
aws-sdk-resources (= 2.2.7)
aws-sdk-core (2.2.7)
jmespath (~> 1.0)
aws-sdk-resources (2.2.7)
aws-sdk-core (= 2.2.7)
axlsx (2.1.0.pre)
htmlentities (~> 4.3.1)
nokogiri (>= 1.4.1)
rubyzip (~> 1.1.7)
axlsx_rails (0.4.0)
axlsx (>= 2.0.1)
rails (>= 3.1)
bcrypt (3.1.10)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
blazer (1.6.1)
chartkick
rails
safely_block (>= 0.1.1)
bootstrap-datepicker-rails (1.4.0)
railties (>= 3.0)
bootstrap-generators (3.3.4)
railties (>= 3.1.0)
bootstrap-social-rails (4.8.0)
railties (>= 3.1)
browser-timezone-rails (0.0.8)
jquery-rails
rails (>= 3.1)
builder (3.2.2)
byebug (6.0.2)
callsite (0.0.11)
cancancan (1.13.1)
chartkick (1.4.1)
chronic (0.10.2)
city-state (0.0.13)
rubyzip (~> 1.1)
cocoon (1.2.6)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.9.1.1)
commonjs (0.2.7)
css_parser (1.3.7)
addressable
debug_inspector (0.0.2)
default_value_for (3.0.1)
activerecord (>= 3.2.0, < 5.0)
devise (3.5.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
domain_name (0.5.25)
unf (>= 0.0.5, < 1.0.0)
dry_crud (3.0.0)
rails (>= 3.2)
ejson (1.0.0)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
errbase (0.0.3)
erubis (2.7.0)
eventmachine (1.0.8)
execjs (2.6.0)
ffi (1.9.10)
figaro (1.1.1)
thor (~> 0.14)
font-awesome-rails (4.4.0.0)
railties (>= 3.2, < 5.0)
formatador (0.2.5)
geocoder (1.3.0)
geoip (1.6.1)
git-version-bump (0.15.1)
globalid (0.3.6)
activesupport (>= 4.1.0)
gmaps4rails (2.1.2)
groupdate (2.4.0)
activesupport (>= 3)
guard (2.13.0)
formatador (>= 0.2.4)
listen (>= 2.7, <= 4.0)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-bundler (2.1.0)
bundler (~> 1.0)
guard (~> 2.2)
guard-compat (~> 1.1)
guard-compat (1.2.1)
guard-livereload (2.4.0)
em-websocket (~> 0.5)
guard (~> 2.8)
multi_json (~> 1.8)
guard-pow (2.0.0)
guard (~> 2.0)
guard-shell (0.7.1)
guard (>= 2.0.0)
guard-compat (~> 1.0)
haml (4.0.7)
tilt
haml2slim (0.4.7)
haml (>= 3.0)
nokogiri
ruby_parser
hash-deep-merge (0.1.1)
high_voltage (2.4.0)
hightop (0.1.3)
activerecord
htmlentities (4.3.4)
http-cookie (1.0.2)
domain_name (~> 0.5)
http_parser.rb (0.6.0)
httparty (0.13.5)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.7.0)
interception (0.5)
jbuilder (2.3.1)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jmespath (1.1.3)
jquery-rails (4.0.5)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.3)
jwt (1.5.1)
kaminari-bootstrap (3.0.1)
kaminari (>= 0.13.0)
rails
lazy_high_charts (1.5.4)
bundler (>= 1.0)
hash-deep-merge
less (2.6.0)
commonjs (~> 0.2.7)
less-rails (2.7.0)
actionpack (>= 4.0)
less (~> 2.6.0)
sprockets (> 2, < 4)
tilt
less-rails-bootstrap (3.3.5.0)
less-rails (>= 2.6, <= 2.8)
libv8 (3.16.14.11)
listen (3.0.3)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lograge (0.3.4)
actionpack (>= 3)
activesupport (>= 3)
railties (>= 3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
lumberjack (1.0.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
meta_request (0.3.4)
callsite (~> 0.0, >= 0.0.11)
rack-contrib (~> 1.1)
railties (>= 3.0.0, < 5.0.0)
method_source (0.8.2)
mime-types (2.99)
mini_magick (4.3.2)
mini_portile (0.6.2)
minitest (5.8.0)
multi_json (1.11.2)
multi_xml (0.5.5)
mysql2 (0.3.20)
nenv (0.2.0)
netrc (0.11.0)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
notiffany (0.0.7)
nenv (~> 0.1)
shellany (~> 0.0)
oj (2.12.14)
orm_adapter (0.5.0)
paranoia (2.1.3)
activerecord (~> 4.0)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.4)
pry (>= 0.9.10)
pry-rescue (1.4.2)
interception (>= 0.5)
pry
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.4)
rack-contrib (1.4.0)
git-version-bump (~> 0.15)
rack (~> 1.4)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
railroady (1.4.2)
rails (4.2.4)
actionmailer (= 4.2.4)
actionpack (= 4.2.4)
actionview (= 4.2.4)
activejob (= 4.2.4)
activemodel (= 4.2.4)
activerecord (= 4.2.4)
activesupport (= 4.2.4)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.4)
sprockets-rails
rails-assets-autosize (3.0.14)
rails-assets-bootstrap-sortable (1.11.2)
rails-assets-jquery (>= 1.9.0)
rails-assets-moment (>= 2.3.1)
rails-assets-jquery (2.1.4)
rails-assets-jquery-treetable (3.2.0)
rails-assets-jquery (>= 1.6)
rails-assets-moment (2.10.6)
rails-assets-select2 (3.5.4)
rails-assets-jquery (>= 1.7.1)
rails-assets-smalot-bootstrap-datetimepicker (2.3.5)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-footnotes (4.1.7)
rails (>= 3.2)
rails-html-sanitizer (1.0.2)
loofah (~> 2.0)
rails_layout (1.0.26)
railties (4.2.4)
actionpack (= 4.2.4)
activesupport (= 4.2.4)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.4.2)
randexp (0.1.7)
rb-fsevent (0.9.6)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redis (3.2.1)
ref (2.0.0)
refile-mini_magick (0.1.0)
mini_magick (~> 4.0)
refile (~> 0.5)
refile-s3 (0.2.0)
aws-sdk (~> 2.0)
refile (~> 0.6.0)
responders (2.1.0)
railties (>= 4.2.0, < 5)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
roadie (3.1.0)
css_parser (~> 1.3.4)
nokogiri (>= 1.5.0, < 1.7.0)
roadie-rails (1.1.0)
railties (>= 3.0, < 4.3)
roadie (~> 3.1)
rollbar (2.6.0)
multi_json
rotp (2.1.1)
ruby_parser (3.7.1)
sexp_processor (~> 4.1)
rubyzip (1.1.7)
safely_block (0.1.1)
errbase
sass (3.4.18)
sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sentient_user (0.3.3)
railties (>= 3.1)
sexp_processor (4.6.0)
shellany (0.0.1)
signature-pad-rails (0.4)
jquery-rails (>= 3.0.0, < 5.0)
rails (>= 3.0.0, < 5.0)
simple_form (3.1.1)
actionpack (~> 4.0)
activemodel (~> 4.0)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
slim (3.0.6)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
slim-rails (3.0.1)
actionmailer (>= 3.1, < 5.0)
actionpack (>= 3.1, < 5.0)
activesupport (>= 3.1, < 5.0)
railties (>= 3.1, < 5.0)
slim (~> 3.0)
slop (3.6.0)
sprockets (3.3.4)
rack (~> 1.0)
sprockets-rails (2.3.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
state_machine (1.2.0)
temple (0.7.6)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.1)
twilio-ruby (4.8.0)
builder (>= 2.1.2)
jwt (~> 1.0)
multi_json (>= 1.3.0)
two_factor_authentication (1.1.3)
devise
rails (>= 3.1.1)
randexp
rotp
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1)
warden (1.2.3)
rack (>= 1.0)
web-console (2.2.1)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
whenever (0.9.4)
chronic (>= 0.6.3)
PLATFORMS
ruby
DEPENDENCIES
activesupport-json_encoder
annotate
autoprefixer-rails
aws-sdk (~> 2)
axlsx (~> 2.1.0.pre)
axlsx_rails
better_errors
binding_of_caller
blazer
bootstrap-datepicker-rails
bootstrap-generators (~> 3.3.4)
bootstrap-social-rails
browser-timezone-rails
byebug
cancancan (~> 1.10)
chartkick
chronic
city-state
cocoon
coffee-rails (~> 4.1.0)
default_value_for (~> 3.0.0)
devise
dry_crud
ejson
figaro
font-awesome-rails
geocoder
geoip
gmaps4rails
groupdate
guard-bundler
guard-livereload
guard-pow
guard-shell
haml2slim
high_voltage
hightop
httparty
jbuilder (~> 2.0)
jquery-rails
jquery-ui-rails
jwt
kaminari!
kaminari-bootstrap (~> 3.0.1)
lazy_high_charts
less-rails-bootstrap
lograge
meta_request
mysql2
oj (~> 2.12.14)
paranoia (~> 2.0)
pry-rails
pry-rescue
quiet_assets
railroady
rails (= 4.2.4)
rails-assets-autosize!
rails-assets-bootstrap-sortable!
rails-assets-jquery-treetable!
rails-assets-select2 (~> 3.5.4)!
rails-assets-smalot-bootstrap-datetimepicker!
rails-footnotes (~> 4.0)
rails_layout
redis
refile!
refile-mini_magick
refile-s3
roadie-rails
rollbar (~> 2.6.0)
sass-rails (~> 5.0)
sentient_user
signature-pad-rails
simple_form
slim-rails
state_machine
therubyracer
twilio-ruby
two_factor_authentication
uglifier (>= 1.3.0)
web-console (~> 2.0)
whenever
Rails.application.routes.draw do
get '/404' => 'errors#not_found'
get '/500' => 'errors#internal_server_error'
get '/403' => 'errors#access_denied'
resources :customers, except: [:destroy]
resources :farms, except: [:destroy]
resources :invoices do
collection do
get :lookup
post :lookup
post :sync
end
member do
get :thank_you
end
end
resources :reports
resources :services, except: [:destroy]
resources :subscriptions, except: [:destroy]
devise_for :users, path_prefix: :auth
resources :users do
collection do
post :unlock
end
end
authenticated :user, ->(u) { u.admin? || u.viewer? || u.customer?} do
root to: "reports#dashboard", as: :authenticated_root
end
authenticated :user, ->(u) { u.admin? } do
mount Blazer::Engine, at: "bi"
end
root to: 'invoices#lookup'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment