met_museum 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4122ee66ede4cc11244cbd2ffefb5376ffa068f9d058c568938930f115c31c4a
4
- data.tar.gz: 85c80825d07891ac554fcba6c31738fc81f5a289d3deaf4ce2a237eb343fb36f
3
+ metadata.gz: a8afd0b090da2b4e328c13fe6e245b0d145ef799d2e29da04b92579142296ce2
4
+ data.tar.gz: 297fe7a29849870f039c072c23d3e6251b30b311296a585aeaba0af3365221ca
5
5
  SHA512:
6
- metadata.gz: a18ce95e47e7d58f301df004600fe89844a0b5a23d851243c0da68c633132793f6203a73ed8d48421f5741d48b7b262c869c8f92e84e8feab50494f7cfd09e15
7
- data.tar.gz: 0cf6cb67f4fc07c47fb79fabb3f63fdde7e7621cba89119ef6556520297af6e936f5ffae6f6cb46655eb68aae63500224a6d0ac12b0ceb9316b643a99880be30
6
+ metadata.gz: f0e4b0293c8118fb80b99770b1b4851784c49bc8bdee9571f686f09b8ba79849df5b858a679e3bbe76868592b702313c9c4a3d189dff07ce5de96815f8cccdd0
7
+ data.tar.gz: da3f8cd3f55bba38b473ed3c55227f1c967264ff1372bc0fc7a617d5bbd3e1b143e9bafbdadd057ddeb34c1fb67181ec9c668f25f04313514c5aec3c1cde5f25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- met_museum (0.1.0)
4
+ met_museum (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # MetMuseum
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/met_museum`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ The Metropolitan Museum of Art Collection API Ruby wrapper
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ The API document is [here](https://metmuseum.github.io/)
6
6
 
7
7
  ## Installation
8
8
 
@@ -22,17 +22,36 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
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.
30
-
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).
25
+ ```
26
+ require 'met_museum'
27
+
28
+ MetMuseum::Collection.objects
29
+ => {"total"=>490607,
30
+ "objectIDs"=>
31
+ [1,
32
+ 2,
33
+ 3,
34
+ 4,
35
+ 5,
36
+ 6,
37
+ 7,
38
+ 8,
39
+ --< omit >--
40
+ 490607}
41
+
42
+ MetMuseum::Collection.object(1000)
43
+ => {"objectID"=>1000,
44
+ "isHighlight"=>false,
45
+ "accessionNumber"=>"10.149.99",
46
+ "isPublicDomain"=>true,
47
+ --< omit >--
48
+ "repository"=>"Metropolitan Museum of Art, New York, NY",
49
+ "objectURL"=>"https://www.metmuseum.org/art/collection/search/1000"}
50
+ ```
32
51
 
33
52
  ## Contributing
34
53
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/met_museum. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
54
+ Bug reports and pull requests are welcome on GitHub at https://github.com/hyuraku/met_museum. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
55
 
37
56
  ## License
38
57
 
@@ -1,3 +1,3 @@
1
1
  module MetMuseum
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/met_museum.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["calenthird@gamil.com"]
11
11
 
12
12
  spec.summary = %q{MET museum api wrapper}
13
- spec.description = %q{MET museum api wrapper}
13
+ spec.description = %q{The Metropolitan Museum of Art Collection API Ruby wrapper }
14
14
  spec.homepage = "https://github.com/hyuraku/met_museum"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: met_museum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hyuraku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-20 00:00:00.000000000 Z
11
+ date: 2019-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: MET museum api wrapper
83
+ description: 'The Metropolitan Museum of Art Collection API Ruby wrapper '
84
84
  email:
85
85
  - calenthird@gamil.com
86
86
  executables: []
@@ -97,7 +97,6 @@ files:
97
97
  - README.md
98
98
  - Rakefile
99
99
  - bin/console
100
- - bin/run_test_gem
101
100
  - bin/setup
102
101
  - lib/met_museum.rb
103
102
  - lib/met_museum/collection.rb
data/bin/run_test_gem DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'met_museum'
4
-
5
- p MetMuseum::Collection.objects(1000)