Merge pull request #44 from lanrion/dev
添加js sdk API集成,重构 token store方案,重构 http request 方式
Showing
source 'https://rubygems.org' | source 'https://rubygems.org' | ||
group :test, :development do | group :test, :development do | ||
gem "rspec", "~> 3.0.0.beta1" | gem "rspec" | ||
gem 'redis-namespace', '~> 1.5.1' | gem 'redis-namespace' | ||
gem "rake", "~> 0.9.6" | |||
gem 'simplecov', '~> 0.7.1', :require => false | gem 'simplecov', '~> 0.7.1', :require => false | ||
gem "codeclimate-test-reporter", require: nil | gem "codeclimate-test-reporter", require: nil | ||
gem 'coveralls', require: false | gem 'coveralls', require: false | ||
# For debugger | # For debugger | ||
gem "pry-rails", "~> 0.3.2" | gem "pry-rails" | ||
gem "pry-debugger", "~> 0.2.2" | gem "pry-byebug" | ||
end | end | ||
# Specify your gem's dependencies in weixin_authorize.gemspec | # Specify your gem's dependencies in weixin_authorize.gemspec | ||
... | ... |
lib/weixin_authorize/api/data_cube.rb
0 → 100644
lib/weixin_authorize/js_ticket/store.rb
0 → 100644
spec/2_fetch_jsticket_spec.rb
0 → 100644
... | @@ -19,16 +19,16 @@ Gem::Specification.new do |spec| | ... | @@ -19,16 +19,16 @@ Gem::Specification.new do |spec| |
spec.require_paths = ["lib"] | spec.require_paths = ["lib"] | ||
spec.add_dependency "rest-client", ">= 1.6.7" | spec.add_dependency "rest-client", ">= 1.6.7" | ||
spec.add_dependency "redis", "~> 3.1.0" | spec.add_dependency "redis", ">= 3.1.0" | ||
spec.add_dependency "carrierwave", "~> 0.10.0" | spec.add_dependency "carrierwave", ">= 0.10.0" | ||
spec.add_dependency 'mini_magick', '~> 3.7.0' | spec.add_dependency 'mini_magick', '>= 3.7.0' | ||
# A streaming JSON parsing and encoding library for Ruby (C bindings to yajl) | # A streaming JSON parsing and encoding library for Ruby (C bindings to yajl) | ||
# https://github.com/brianmario/yajl-ruby | # https://github.com/brianmario/yajl-ruby | ||
spec.add_dependency "yajl-ruby", "~> 1.2.0" | spec.add_dependency "yajl-ruby", ">= 1.2.0" | ||
spec.add_development_dependency "bundler", "~> 1.3" | spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake" | spec.add_development_dependency "rake" | ||
end | end |
Please
register
or
sign in
to comment