Permalink
Browse files

Add activesupport

Wanted to get away without using this. But slice/except/demodulize are
so nice...

Including it, but only loading what's specifically used.
  • Loading branch information...
1 parent d28bbc7 commit 94d6412aa116d77c8360f19ef47cb928d4ffdc6a @mscoutermarsh mscoutermarsh committed Nov 30, 2015
Showing with 17 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +11 −0 Gemfile.lock
  3. +5 −0 config/initializers/active_support.rb
View
@@ -5,6 +5,7 @@ gem 'sinatra', require: 'sinatra/base'
gem 'sinatra-contrib', github: 'maccman/sinatra-contrib'
gem 'sinatra-param', require: 'sinatra/param'
gem 'sinatra-initializers'
+gem 'activesupport', require: false
gem 'rack-standards'
gem 'rack-contrib'
gem 'puma'
View
@@ -12,6 +12,12 @@ GIT
GEM
remote: https://rubygems.org/
specs:
+ 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)
ast (2.1.0)
astrolabe (1.3.1)
parser (~> 2.2)
@@ -36,6 +42,7 @@ GEM
jmespath (1.1.3)
json (1.8.3)
method_source (0.8.2)
+ minitest (5.8.1)
multi_json (1.11.2)
parser (2.2.3.0)
ast (>= 1.1, < 3.0)
@@ -88,13 +95,17 @@ GEM
sinatra-param (1.4.0)
sinatra (~> 1.3)
slop (3.6.0)
+ thread_safe (0.3.5)
tilt (1.4.1)
+ tzinfo (1.2.2)
+ thread_safe (~> 0.1)
wkhtmltoimage-binary (0.12.2)
PLATFORMS
ruby
DEPENDENCIES
+ activesupport
aws-sdk (~> 2)
builder
bundler
@@ -0,0 +1,5 @@
+# Only load what we need
+require 'active_support/core_ext/hash/slice'
+require 'active_support/core_ext/hash/keys'
+require 'active_support/core_ext/hash/except'
+require 'active_support/core_ext/string/inflections'

0 comments on commit 94d6412

Please sign in to comment.