sf_data 0.1.0 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab80d1a12e50d5aa7f54319d73a47ddd4acc50ed
4
- data.tar.gz: c719ac54a380bf06383468cf76b67cfa07b6dc57
3
+ metadata.gz: d2380a0998c08faf429bfdbb53eed0ae9a85f9be
4
+ data.tar.gz: af2d44c3a53ae37536fd1bd3028b6b7ded8e02cc
5
5
  SHA512:
6
- metadata.gz: 3a94ed7d7aca7b7127ab1f6d22875011ed0a9c33efa6b55d4cd4bda69b6042c930fef927990efa2a6950dc5ede1083e3fc841c2579c1b153033a6595a07b260d
7
- data.tar.gz: 235c52532c27f5ccaaa9c7b743c7cbcaf34fba0e180148b7ae83f465ac4229b3ca37d2a75e1fdc3bbb8a5b3541e55d4459c6b427d61df8d01a37bc7d0530ed33
6
+ metadata.gz: 7092f6fc9515c63b0d97bb68380266918d0124844ce22304d7d4313683f6602844cc04a9c5176543d741e034e8d9cfd2fbef0c7f4c5444326794644e0f12ccba
7
+ data.tar.gz: 5232dcb09dc887d4022d5d32a289ba58e2d4530c626489a2d1f770d70ef01b215d6e7a30563590a565dde85d23835db83f954eb724c4fcfab1dec3961da22239
data/Gemfile CHANGED
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in sf_data.gemspec
4
4
  gemspec
5
- gem 'unirest'
5
+
data/README.md CHANGED
@@ -1,8 +1,5 @@
1
1
  # SfData
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sf_data`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
3
 
7
4
  ## Installation
8
5
 
@@ -22,17 +19,13 @@ Or install it yourself as:
22
19
 
23
20
  ## Usage
24
21
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- 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.
22
+ To Get all San Francisco film locations:
30
23
 
31
- 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).
24
+ $ SfData::FilmLocation.all
32
25
 
33
26
  ## Contributing
34
27
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sf_data.
28
+ Bug reports and pull requests are welcome on GitHub at https://github.com/markeban/sf_data.
36
29
 
37
30
 
38
31
  ## License
@@ -1,3 +1,3 @@
1
1
  module SfData
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -16,17 +16,19 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
18
  # delete this section to allow pushing this gem to any host.
19
- # if spec.respond_to?(:metadata)
20
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
- # else
22
- # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
- # end
19
+ if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
24
 
25
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
+ spec.add_dependency "unirest", "~> 1.1.2"
31
+
30
32
  spec.add_development_dependency "bundler", "~> 1.11"
31
33
  spec.add_development_dependency "rake", "~> 10.0"
32
34
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sf_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Richardson
@@ -10,6 +10,20 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2016-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: unirest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.1.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.1.2
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement