diff --git a/Gemfile b/Gemfile index 3ef165c..ca88839 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,6 @@ source "https://rubygems.org" ruby file: ".ruby-version" gem "sinatra" -gem "ostruct" gem "slim" gem "sassc" diff --git a/Gemfile.lock b/Gemfile.lock index 375bd9c..d49e965 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -28,7 +28,6 @@ GEM nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) - ostruct (0.6.0) public_suffix (6.0.1) racc (1.8.1) rack (3.1.8) @@ -85,7 +84,6 @@ DEPENDENCIES dotenv foreman logger - ostruct rake rdiscount rspec diff --git a/meetup.rb b/meetup.rb index bf85c4b..6c90a61 100644 --- a/meetup.rb +++ b/meetup.rb @@ -1,7 +1,5 @@ -require "ostruct" - class Meetup - class Result < OpenStruct; end + Result = Data.define(:name, :url, :time, :description, :venue_name, :venue_address) def self.upcoming [