Skip to content

Commit

Permalink
#185829263 : Allow faraday 1x (#49)
Browse files Browse the repository at this point in the history
* update dependency and bump version

* bump to version 2.1.0 since it is more reflection of new feature
  • Loading branch information
xinghengwang authored Aug 16, 2023
1 parent 878ad6a commit a6b788d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/test/tmp/
/test/version_tmp/
/tmp/

Gemfile.lock
# Used by dotenv library to load environment variables.
# .env

Expand Down
49 changes: 0 additions & 49 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion lib/moesif_rack/moesif_middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def initialize(app, options = {})
@app = app
raise 'application_id required for Moesif Middleware' unless options['application_id']

@api_client = MoesifApi::MoesifAPIClient.new(options['application_id'], 'moesif-rack/2.0.3')
@api_client = MoesifApi::MoesifAPIClient.new(options['application_id'], 'moesif-rack/2.1.0')
@api_controller = @api_client.api

@api_version = options['api_version']
Expand Down
4 changes: 2 additions & 2 deletions moesif_rack.gemspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Gem::Specification.new do |s|
s.name = 'moesif_rack'
s.version = '2.0.3'
s.version = '2.1.0'
s.summary = 'moesif_rack'
s.description = 'Rack/Rails middleware to log API calls to Moesif API analytics and monitoring'
s.authors = ['Moesif, Inc', 'Xing Wang']
s.email = 'xing@moesif.com'
s.homepage = 'https://moesif.com'
s.license = 'Apache-2.0'
s.add_development_dependency('test-unit', '~> 3.5', '>= 3.5.0')
s.add_dependency('moesif_api', '~> 2', '>= 2.0.2')
s.add_dependency('moesif_api', '~> 2', '>= 2.1.0')
s.required_ruby_version = '>= 2.6'
s.files = Dir['{bin,lib,moesif_capture_outgoing,man,test,spec}/**/*', 'README*', 'LICENSE*']
s.require_paths = ['lib']
Expand Down

0 comments on commit a6b788d

Please sign in to comment.