Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: lexical error: invalid bytes in UTF8 string. When parsing the response. #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rmeetup/fetcher/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def build_url(options)
end

def base_url
"http://api.meetup.com/#{@type}.json/"
"http://api.meetup.com/2/#{@type}.json/"
end

# Create a query string from an options hash
Expand Down
21 changes: 21 additions & 0 deletions rMeetup.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

Gem::Specification.new do |s|
s.name = "rmeetup"
s.version = "1.0.0"
s.platform = Gem::Platform::RUBY
s.authors = ["Jared Pace", "Jason Berlinsky"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/Jberlinsky/rmeetup"
s.summary = "A simple Ruby gem, providing access to the Meetup API"
#s.description = ""

s.required_rubygems_version = ">= 1.3.6"

s.add_development_dependency "rspec"

s.files = Dir.glob("lib/**/*")
s.require_path = 'lib'
end