chairman 0.1.0 → 0.1.1.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/chairman.rb +2 -1
  2. data/lib/version.rb +1 -1
  3. metadata +20 -4
data/lib/chairman.rb CHANGED
@@ -3,6 +3,7 @@ require 'faraday/http_cache'
3
3
  require 'http_cache/response'
4
4
  require 'octokit'
5
5
  require 'logger'
6
+ require 'oj'
6
7
 
7
8
  require 'dalli'
8
9
  require 'memcachier'
@@ -15,7 +16,7 @@ module Chairman
15
16
  memcache_host = ENV['MEMCACHIER_SERVERS'] || 'localhost:11211'
16
17
 
17
18
  stack = Faraday::Builder.new do |builder|
18
- builder.use Faraday::HttpCache, logger: Logger.new(STDOUT), store: :mem_cache_store, store_options: [memcache_host]
19
+ builder.use Faraday::HttpCache, logger: Logger.new(STDOUT), store: :mem_cache_store, store_options: [memcache_host], serializer: Oj
19
20
  builder.adapter Faraday.default_adapter
20
21
  end
21
22
  Octokit.middleware = stack
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chairman
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1.alpha"
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chairman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.1.alpha
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jed Foster
@@ -91,6 +91,22 @@ dependencies:
91
91
  - - '='
92
92
  - !ruby/object:Gem::Version
93
93
  version: 0.0.2
94
+ - !ruby/object:Gem::Dependency
95
+ name: oj
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - '='
100
+ - !ruby/object:Gem::Version
101
+ version: 2.4.0
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 2.4.0
94
110
  description: GitHub authentication routes and tools for Sinatra apps
95
111
  email: jed@jedfoster.com
96
112
  executables: []
@@ -117,9 +133,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
133
  required_rubygems_version: !ruby/object:Gem::Requirement
118
134
  none: false
119
135
  requirements:
120
- - - ! '>='
136
+ - - ! '>'
121
137
  - !ruby/object:Gem::Version
122
- version: '0'
138
+ version: 1.3.1
123
139
  requirements: []
124
140
  rubyforge_project:
125
141
  rubygems_version: 1.8.23