mg_tracker 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d9c4618efad6a9d83e2106f60a174f03f40ed6fe
4
+ data.tar.gz: 306084b9c92c8c0d309284a929435f1fdb683b1d
5
+ SHA512:
6
+ metadata.gz: f6c439253524ae678c465d6dce8ffb34b7f3c5974870ba3ff8bb335a04669d2b8dfff4877ed16c6f30cd86f33aba61f5caa3106444ba86f35aa48045ba7bfbd4
7
+ data.tar.gz: d13b66b722f55e34a0859eb22fd1af55a8a9bd7ab9b9f3d5ec241a77c863e9c07150b00d1a936a59467b9bc511d7839d48843bb883f443df2c110f91ba788ccf
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /*.gem
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,34 @@
1
+ require: rubocop-rspec
2
+ AllCops:
3
+ Include:
4
+ - '**/Rakefile'
5
+ Exclude:
6
+ - 'bin/**/*'
7
+ - 'config/**/*'
8
+ - 'log/**/*'
9
+ - 'tmp/**/*'
10
+ - 'spec/lint/rubocop_spec.rb'
11
+ TargetRubyVersion: 2.3
12
+
13
+ Metrics/AbcSize:
14
+ Max: 30
15
+
16
+ Metrics/ClassLength:
17
+ Max: 100
18
+
19
+ Metrics/CyclomaticComplexity:
20
+ Max: 10
21
+
22
+ Metrics/LineLength:
23
+ Max: 100
24
+ AllowURI: true
25
+ URISchemes: http
26
+
27
+ Metrics/MethodLength:
28
+ Max: 10
29
+
30
+ Metrics/ModuleLength:
31
+ Max: 300
32
+
33
+ Metrics/PerceivedComplexity:
34
+ Max: 10
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
@@ -0,0 +1,108 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mg_tracker (0.0.1)
5
+ httparty (~> 0.13)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.4.0)
11
+ ast (2.2.0)
12
+ awesome_print (1.6.1)
13
+ coderay (1.1.0)
14
+ crack (0.4.3)
15
+ safe_yaml (~> 1.0.0)
16
+ diff-lcs (1.2.5)
17
+ ffi (1.9.10)
18
+ formatador (0.2.5)
19
+ guard (2.13.0)
20
+ formatador (>= 0.2.4)
21
+ listen (>= 2.7, <= 4.0)
22
+ lumberjack (~> 1.0)
23
+ nenv (~> 0.1)
24
+ notiffany (~> 0.0)
25
+ pry (>= 0.9.12)
26
+ shellany (~> 0.0)
27
+ thor (>= 0.18.1)
28
+ guard-compat (1.2.1)
29
+ guard-rspec (4.6.4)
30
+ guard (~> 2.1)
31
+ guard-compat (~> 1.1)
32
+ rspec (>= 2.99.0, < 4.0)
33
+ guard-rubocop (1.2.0)
34
+ guard (~> 2.0)
35
+ rubocop (~> 0.20)
36
+ hashdiff (0.2.3)
37
+ httparty (0.13.7)
38
+ json (~> 1.8)
39
+ multi_xml (>= 0.5.2)
40
+ json (1.8.3)
41
+ listen (3.0.5)
42
+ rb-fsevent (>= 0.9.3)
43
+ rb-inotify (>= 0.9)
44
+ lumberjack (1.0.10)
45
+ method_source (0.8.2)
46
+ multi_xml (0.5.5)
47
+ nenv (0.2.0)
48
+ notiffany (0.0.8)
49
+ nenv (~> 0.1)
50
+ shellany (~> 0.0)
51
+ parser (2.3.0.1)
52
+ ast (~> 2.2)
53
+ powerpack (0.1.1)
54
+ pry (0.10.3)
55
+ coderay (~> 1.1.0)
56
+ method_source (~> 0.8.1)
57
+ slop (~> 3.4)
58
+ rainbow (2.0.0)
59
+ rake (10.5.0)
60
+ rb-fsevent (0.9.7)
61
+ rb-inotify (0.9.5)
62
+ ffi (>= 0.5.0)
63
+ rspec (3.4.0)
64
+ rspec-core (~> 3.4.0)
65
+ rspec-expectations (~> 3.4.0)
66
+ rspec-mocks (~> 3.4.0)
67
+ rspec-core (3.4.1)
68
+ rspec-support (~> 3.4.0)
69
+ rspec-expectations (3.4.0)
70
+ diff-lcs (>= 1.2.0, < 2.0)
71
+ rspec-support (~> 3.4.0)
72
+ rspec-mocks (3.4.1)
73
+ diff-lcs (>= 1.2.0, < 2.0)
74
+ rspec-support (~> 3.4.0)
75
+ rspec-support (3.4.1)
76
+ rubocop (0.36.0)
77
+ parser (>= 2.3.0.0, < 3.0)
78
+ powerpack (~> 0.1)
79
+ rainbow (>= 1.99.1, < 3.0)
80
+ ruby-progressbar (~> 1.7)
81
+ rubocop-rspec (1.3.1)
82
+ ruby-progressbar (1.7.5)
83
+ safe_yaml (1.0.4)
84
+ shellany (0.0.1)
85
+ slop (3.6.0)
86
+ thor (0.19.1)
87
+ webmock (1.22.6)
88
+ addressable (>= 2.3.6)
89
+ crack (>= 0.3.2)
90
+ hashdiff
91
+
92
+ PLATFORMS
93
+ ruby
94
+
95
+ DEPENDENCIES
96
+ awesome_print (~> 1.6)
97
+ bundler (~> 1.11)
98
+ guard-rspec (~> 4.6)
99
+ guard-rubocop (~> 1.2)
100
+ mg_tracker!
101
+ rake (~> 10.0)
102
+ rspec (~> 3.0)
103
+ rubocop (~> 0.35)
104
+ rubocop-rspec (~> 1.3)
105
+ webmock (~> 1.22)
106
+
107
+ BUNDLED WITH
108
+ 1.11.2
@@ -0,0 +1,70 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Note: The cmd option is now required due to the increasing number of ways
19
+ # rspec may be run, below are examples of the most common uses.
20
+ # * bundler: 'bundle exec rspec'
21
+ # * bundler binstubs: 'bin/rspec'
22
+ # * spring: 'bin/rspec' (This will use spring if running and you have
23
+ # installed the spring binstubs per the docs)
24
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
25
+ # * 'just' rspec: 'rspec'
26
+
27
+ guard :rspec, cmd: "bundle exec rspec" do
28
+ require "guard/rspec/dsl"
29
+ dsl = Guard::RSpec::Dsl.new(self)
30
+
31
+ # Feel free to open issues for suggestions and improvements
32
+
33
+ # RSpec files
34
+ rspec = dsl.rspec
35
+ watch(rspec.spec_helper) { rspec.spec_dir }
36
+ watch(rspec.spec_support) { rspec.spec_dir }
37
+ watch(rspec.spec_files)
38
+
39
+ # Ruby files
40
+ ruby = dsl.ruby
41
+ dsl.watch_spec_files_for(ruby.lib_files)
42
+
43
+ # Rails files
44
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
45
+ dsl.watch_spec_files_for(rails.app_files)
46
+ dsl.watch_spec_files_for(rails.views)
47
+
48
+ watch(rails.controllers) do |m|
49
+ [
50
+ rspec.spec.("routing/#{m[1]}_routing"),
51
+ rspec.spec.("controllers/#{m[1]}_controller"),
52
+ rspec.spec.("acceptance/#{m[1]}")
53
+ ]
54
+ end
55
+
56
+ # Rails config changes
57
+ watch(rails.spec_helper) { rspec.spec_dir }
58
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
59
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
60
+
61
+ # Capybara features specs
62
+ watch(rails.view_dirs) { |m| rspec.spec.("features/#{m[1]}") }
63
+ watch(rails.layouts) { |m| rspec.spec.("features/#{m[1]}") }
64
+
65
+ # Turnip features and steps
66
+ watch(%r{^spec/acceptance/(.+)\.feature$})
67
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
68
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
69
+ end
70
+ end
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 =
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,56 @@
1
+ # MgTrackerRb
2
+
3
+ MgTracker helps track migraines, along with environmental factors that might trigger one. It then
4
+ predicts when a migraine might occur, alerting a user.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'mg_tracker'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install mg_tracker
21
+
22
+ ## Usage
23
+
24
+ A `config/ws_api_key.yml` file will need to be set on your project's root, with a single key/value
25
+ pair like:
26
+
27
+ ``` yaml
28
+ WS_API_KEY: 'yourkeyhere'
29
+ ```
30
+
31
+ Then run `bin/console` and type:
32
+
33
+ ``` ruby
34
+ > barometer = MgTracker::Barometer.new(city: 'Atlanta', state: 'GA')
35
+ > barometer.inches
36
+ => '30.01'
37
+ ```
38
+
39
+ `MgTracker::Barometer#new` takes a city and state and returns the barometer readings for that city.
40
+
41
+ ## Development
42
+
43
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
44
+
45
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+
47
+ ## Contributing
48
+
49
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mg_tracker_rb.
50
+
51
+
52
+ ## License
53
+
54
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
55
+ This gem uses the [Weather API](http://www.wunderground.com/weather/api/d/docs) from Weather
56
+ Underground and is subject to the [Weather Underground API terms and conditions](http://www.wunderground.com/weather/api/d/terms.html).
@@ -0,0 +1,11 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'rubocop/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ task default: :spec
8
+
9
+ RuboCop::RakeTask.new do |task|
10
+ task.requires << 'rubocop-rspec'
11
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mg_tracker"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1 @@
1
+ WS_API_KEY: 'yourkeyhere'
@@ -0,0 +1,2 @@
1
+ require 'mg_tracker/version'
2
+ require 'mg_tracker/barometer'
@@ -0,0 +1,26 @@
1
+ require 'mg_tracker/weather'
2
+
3
+ module MgTracker
4
+ # `Barometer` gathers barometer-related data
5
+ class Barometer
6
+ attr_reader :city, :state, :weather
7
+
8
+ def initialize(options = {})
9
+ @weather = weather = options[:weather] || Weather.new
10
+ @city = weather.city = options[:city] || 'San Francisco'
11
+ @state = weather.state = options[:state] || 'CA'
12
+ end
13
+
14
+ def inches
15
+ weather.barometer_in
16
+ end
17
+
18
+ def mb
19
+ weather.barometer_mb
20
+ end
21
+
22
+ def trend
23
+ weather.barometer_trend
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ module MgTracker
3
+ VERSION = '0.0.1'.freeze
4
+ end
@@ -0,0 +1,21 @@
1
+ require 'mg_tracker/weather_service'
2
+
3
+ module MgTracker
4
+ # `Weather` makes various data about the weather available
5
+ class Weather
6
+ attr_accessor :city, :state
7
+ attr_reader :service
8
+
9
+ def initialize(service = WeatherService.new, options = {})
10
+ @service = service
11
+ @city = service.city = options[:city] || 'San Francisco'
12
+ @state = service.state = options[:state] || 'CA'
13
+ end
14
+
15
+ %w(in mb trend).each do |value|
16
+ define_method("barometer_#{value}") do
17
+ service.send("barometer_#{value}")
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,33 @@
1
+ require 'httparty'
2
+ require 'yaml'
3
+
4
+ module MgTracker
5
+ # `WeatherService` connects to the weather service to make various weather data available.
6
+ class WeatherService
7
+ attr_accessor :city, :state
8
+ attr_reader :data, :api_key
9
+
10
+ def initialize(city = 'Kennesaw', state = 'GA')
11
+ @city = city
12
+ @state = state
13
+ @api_key = YAML.load_file(Dir.pwd + '/config/ws_api_key.yml')['WS_API_KEY']
14
+ url = "http://api.wunderground.com/api/#{api_key}/conditions/q/#{state}/#{city}.json"
15
+ @data = ::HTTParty.get(url)
16
+ @current_observation = @data['current_observation']
17
+ end
18
+
19
+ %w(in mb trend).each do |parameter|
20
+ define_method("barometer_#{parameter}") do
21
+ @current_observation["pressure_#{parameter}"]
22
+ end
23
+ end
24
+
25
+ def barometer_data
26
+ {
27
+ in: barometer_in,
28
+ mb: barometer_mb,
29
+ trend: barometer_trend
30
+ }
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mg_tracker/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mg_tracker"
8
+ spec.version = MgTracker::VERSION
9
+ spec.authors = ["getabetterpic"]
10
+ spec.email = ["dan@getabetterpic.com"]
11
+
12
+ spec.summary = "Migraine tracking and prediction."
13
+ spec.homepage = "https://github.com/getabetterpic/mg_tracker_rb"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
+ # delete this section to allow pushing this gem to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
22
+ end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_development_dependency "bundler", "~> 1.11"
30
+ spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rspec", "~> 3.0"
32
+ spec.add_development_dependency "awesome_print", "~> 1.6"
33
+ spec.add_development_dependency "guard-rspec", "~> 4.6"
34
+ spec.add_development_dependency "webmock", "~> 1.22"
35
+ spec.add_development_dependency "rubocop-rspec", "~> 1.3"
36
+ spec.add_development_dependency "rubocop", "~> 0.35"
37
+ spec.add_development_dependency "guard-rubocop", "~> 1.2"
38
+ spec.add_dependency "httparty", "~> 0.13"
39
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mg_tracker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - getabetterpic
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: awesome_print
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.6'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '4.6'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '4.6'
83
+ - !ruby/object:Gem::Dependency
84
+ name: webmock
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.22'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.22'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.3'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.35'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.35'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: httparty
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.13'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.13'
153
+ description:
154
+ email:
155
+ - dan@getabetterpic.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".rubocop.yml"
163
+ - ".travis.yml"
164
+ - Gemfile
165
+ - Gemfile.lock
166
+ - Guardfile
167
+ - LICENSE.txt
168
+ - README.md
169
+ - Rakefile
170
+ - bin/console
171
+ - bin/setup
172
+ - config/ws_api_key.yml
173
+ - lib/mg_tracker.rb
174
+ - lib/mg_tracker/barometer.rb
175
+ - lib/mg_tracker/version.rb
176
+ - lib/mg_tracker/weather.rb
177
+ - lib/mg_tracker/weather_service.rb
178
+ - mg_tracker.gemspec
179
+ homepage: https://github.com/getabetterpic/mg_tracker_rb
180
+ licenses:
181
+ - MIT
182
+ metadata:
183
+ allowed_push_host: https://rubygems.org
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.5.1
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: Migraine tracking and prediction.
204
+ test_files: []