mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
referencing stripe from its repo breaks rubygems install for some reason
This commit is contained in:
parent
08faf639b0
commit
3a157b697f
4 changed files with 4 additions and 5 deletions
2
Gemfile
2
Gemfile
|
@ -15,7 +15,7 @@ gem 'mail'
|
||||||
gem 'google-api-client', require: 'google/api_client'
|
gem 'google-api-client', require: 'google/api_client'
|
||||||
gem 'tilt'
|
gem 'tilt'
|
||||||
gem 'erubis'
|
gem 'erubis'
|
||||||
gem 'stripe', source: 'https://code.stripe.com/'
|
gem 'stripe' #, source: 'https://code.stripe.com/'
|
||||||
gem 'screencap'
|
gem 'screencap'
|
||||||
gem 'cocaine'
|
gem 'cocaine'
|
||||||
gem 'zipruby'
|
gem 'zipruby'
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
remote: https://code.stripe.com/
|
|
||||||
specs:
|
specs:
|
||||||
activesupport (4.1.4)
|
activesupport (4.1.4)
|
||||||
i18n (~> 0.6, >= 0.6.9)
|
i18n (~> 0.6, >= 0.6.9)
|
||||||
|
@ -279,7 +278,7 @@ DEPENDENCIES
|
||||||
sinatra
|
sinatra
|
||||||
sinatra-flash
|
sinatra-flash
|
||||||
sinatra-xsendfile
|
sinatra-xsendfile
|
||||||
stripe!
|
stripe
|
||||||
stripe-ruby-mock (~> 2.0.1)
|
stripe-ruby-mock (~> 2.0.1)
|
||||||
thread
|
thread
|
||||||
tilt
|
tilt
|
||||||
|
|
|
@ -13,7 +13,7 @@ class Event < Sequel::Model
|
||||||
many_to_one :actioning_site, key: :actioning_site_id, class: :Site
|
many_to_one :actioning_site, key: :actioning_site_id, class: :Site
|
||||||
|
|
||||||
DEFAULT_GLOBAL_LIMIT = 300
|
DEFAULT_GLOBAL_LIMIT = 300
|
||||||
GLOBAL_VIEWS_MINIMUM = 50
|
GLOBAL_VIEWS_MINIMUM = 5
|
||||||
|
|
||||||
def self.global_dataset(current_page=1, limit=DEFAULT_GLOBAL_LIMIT)
|
def self.global_dataset(current_page=1, limit=DEFAULT_GLOBAL_LIMIT)
|
||||||
select_all(:events).
|
select_all(:events).
|
||||||
|
|
|
@ -23,7 +23,7 @@ Rainbows! do
|
||||||
|
|
||||||
worker_processes processor_count
|
worker_processes processor_count
|
||||||
worker_connections 32
|
worker_connections 32
|
||||||
timeout 10
|
timeout 600 # 10 minutes
|
||||||
|
|
||||||
listen "unix:/var/run/neocities/neocities.sock", :backlog => 2048
|
listen "unix:/var/run/neocities/neocities.sock", :backlog => 2048
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue