pillboxr 0.8.2 → 0.9.0
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 +7 -0
- data/.rvmrc +52 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +2 -2
- data/README.md +15 -13
- data/lib/pillboxr/attributes.rb +4 -2
- data/lib/pillboxr/pages.rb +2 -1
- data/lib/pillboxr/pill.rb +11 -3
- data/lib/pillboxr/result.rb +2 -2
- data/lib/pillboxr/version.rb +2 -2
- data/pillboxr.gemspec +3 -3
- data/test/pillboxr/pill_test.rb +14 -2
- data/test/pillboxr/pillboxr_test.rb +23 -7
- metadata +26 -43
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 653e105fbd4add221d54abb8c3e6e8e55d780e97
|
4
|
+
data.tar.gz: 3f6c9a7b8714690398950179823d5d5790ff57f6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 98f2dbdf7018202d175041a7884c49e0553f839c9e528e83a891495e50731c30eba1a556630a9abfe2228a974834539a32242d702c97f2b9d9d470005ecc9832
|
7
|
+
data.tar.gz: 48c43f42431f74515a826f1fd8abf77bc49539a7547486ebc4d36d792284fa9dd72007e80b1d5da0b102ff6f68cd7712c61cc042432b775e4da0f2467e4fd669
|
data/.rvmrc
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
# This is an RVM Project .rvmrc file, used to automatically load the ruby
|
4
|
+
# development environment upon cd'ing into the directory
|
5
|
+
|
6
|
+
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
|
7
|
+
# Only full ruby name is supported here, for short names use:
|
8
|
+
# echo "rvm use 2.0.0" > .rvmrc
|
9
|
+
environment_id="ruby-2.0.0-p0@pillboxr"
|
10
|
+
|
11
|
+
# Uncomment the following lines if you want to verify rvm version per project
|
12
|
+
# rvmrc_rvm_version="1.18.18 (latest)" # 1.10.1 seams as a safe start
|
13
|
+
# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
|
14
|
+
# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
|
15
|
+
# return 1
|
16
|
+
# }
|
17
|
+
|
18
|
+
# First we attempt to load the desired environment directly from the environment
|
19
|
+
# file. This is very fast and efficient compared to running through the entire
|
20
|
+
# CLI and selector. If you want feedback on which environment was used then
|
21
|
+
# insert the word 'use' after --create as this triggers verbose mode.
|
22
|
+
if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
|
23
|
+
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
|
24
|
+
then
|
25
|
+
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
26
|
+
[[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
|
27
|
+
\. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
|
28
|
+
if [[ $- == *i* ]] # check for interactive shells
|
29
|
+
then echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green
|
30
|
+
else echo "Using: $GEM_HOME" # don't use colors in non-interactive shells
|
31
|
+
fi
|
32
|
+
else
|
33
|
+
# If the environment file has not yet been created, use the RVM CLI to select.
|
34
|
+
rvm --create use "$environment_id" || {
|
35
|
+
echo "Failed to create RVM environment '${environment_id}'."
|
36
|
+
return 1
|
37
|
+
}
|
38
|
+
fi
|
39
|
+
|
40
|
+
# If you use bundler, this might be useful to you:
|
41
|
+
# if [[ -s Gemfile ]] && {
|
42
|
+
# ! builtin command -v bundle >/dev/null ||
|
43
|
+
# builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
|
44
|
+
# }
|
45
|
+
# then
|
46
|
+
# printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
|
47
|
+
# gem install bundler
|
48
|
+
# fi
|
49
|
+
# if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
|
50
|
+
# then
|
51
|
+
# bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
|
52
|
+
# fi
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
multi_json (1.3.6)
|
10
10
|
multi_xml (0.5.1)
|
11
11
|
redcarpet (2.1.1)
|
12
|
-
vcr (2.
|
12
|
+
vcr (2.4.0)
|
13
13
|
webmock (1.8.8)
|
14
14
|
addressable (~> 2.2.8)
|
15
15
|
crack (>= 0.1.7)
|
@@ -21,6 +21,6 @@ PLATFORMS
|
|
21
21
|
DEPENDENCIES
|
22
22
|
httparty
|
23
23
|
redcarpet
|
24
|
-
vcr
|
24
|
+
vcr (~> 2.4.0)
|
25
25
|
webmock
|
26
26
|
yard
|
data/README.md
CHANGED
@@ -105,18 +105,20 @@ You can activate a console session with the pillboxr library already loaded by t
|
|
105
105
|
The hash passed to the `with` method may include any of the following parameters:
|
106
106
|
|
107
107
|
```ruby
|
108
|
-
:color
|
109
|
-
:
|
110
|
-
:
|
111
|
-
:
|
112
|
-
:
|
113
|
-
:
|
114
|
-
:
|
115
|
-
:
|
116
|
-
:
|
117
|
-
:
|
118
|
-
:
|
119
|
-
:
|
108
|
+
:color => Symbol (see http://pillbox.nlm.nih.gov/API-documentation.html)
|
109
|
+
:colors => Array with multiple colors
|
110
|
+
:score => Boolean
|
111
|
+
:ingredient => Symbol or Array with multiple ingredients (returned results include all ingredients)
|
112
|
+
:inactive => Symbol
|
113
|
+
:dea => Symbol or any of 'I, II, III, IV, V'
|
114
|
+
:author => String
|
115
|
+
:shape => Symbol (Shape or Hex)
|
116
|
+
:shapes => Array with multiple shapes
|
117
|
+
:imprint => Symbol
|
118
|
+
:product_code => String (Product Code: see http://pillbox.nlm.nih.gov/API-documentation.html - must include the dash)
|
119
|
+
:image => Boolean
|
120
|
+
:size => Integer for size in millimeters (currently this encompasses a range of +/- 2 mm)
|
121
|
+
:lower_limit => Integer for which returned record to start at
|
120
122
|
```
|
121
123
|
|
122
124
|
Please see specific files or the document directory for specific usage examples. Further API documentation available on the [project homepage](http://pillbox.nlm.nih.gov/NLM_Pillbox_API_documentation_v2_2011.09.27.pdf) (PDF link)
|
@@ -133,4 +135,4 @@ API provided through the generous support by the FDA in both money and resources
|
|
133
135
|
|
134
136
|
Please contact david.hale at nlm.nih.gov for an api key. There is no bandwidth limit currently.
|
135
137
|
|
136
|
-
Data is owned by companies, mandatorily licenced for X purposes.
|
138
|
+
Data is owned by companies, mandatorily licenced for X purposes.
|
data/lib/pillboxr/attributes.rb
CHANGED
@@ -6,7 +6,9 @@ module Pillboxr
|
|
6
6
|
module Attributes
|
7
7
|
def attributes # :nodoc:
|
8
8
|
{ :color => :splcolor,
|
9
|
+
:colors => :__color_placeholder__,
|
9
10
|
:shape => :splshape,
|
11
|
+
:shapes => :__shape_placeholder__,
|
10
12
|
:product_code => :product_code,
|
11
13
|
:schedule => :dea_schedule_code,
|
12
14
|
:ingredients => :ingredients,
|
@@ -53,7 +55,7 @@ module Pillboxr
|
|
53
55
|
# puts "argument to method = #{color_arg}"
|
54
56
|
@color = case color_arg
|
55
57
|
when NilClass; raise ColorError
|
56
|
-
when Array; color_arg.
|
58
|
+
when Array; color_arg.collect {|c| COLORS.fetch(c) }.join(';')
|
57
59
|
when Symbol; COLORS.fetch(color_arg, color_arg)
|
58
60
|
when String; COLORS.fetch(color_arg.to_sym, color_arg.to_sym)
|
59
61
|
else raise "invalid arguments."
|
@@ -73,7 +75,7 @@ module Pillboxr
|
|
73
75
|
# puts "argument to method = #{shape_arg}"
|
74
76
|
@shape = case shape_arg
|
75
77
|
when NilClass; raise ShapeError
|
76
|
-
when Array; shape_arg.
|
78
|
+
when Array; shape_arg.collect {|s| SHAPES.fetch(s) }.join(';')
|
77
79
|
when /^([Cc]{1}\d{5})+/; shape_arg # valid hex
|
78
80
|
when Symbol; SHAPES.fetch(shape_arg, shape_arg)
|
79
81
|
when String; SHAPES.fetch(shape_arg.to_sym, shape_arg.to_sym)
|
data/lib/pillboxr/pages.rb
CHANGED
@@ -5,7 +5,8 @@ module Pillboxr
|
|
5
5
|
class Pages
|
6
6
|
extend Forwardable
|
7
7
|
def_delegators :@data, :<<, :size, :each, :include?, :empty?, :count,
|
8
|
-
:join, :first, :last, :[], :[]=, :all?, :any?, :inject
|
8
|
+
:join, :first, :last, :[], :[]=, :all?, :any?, :inject,
|
9
|
+
:map
|
9
10
|
|
10
11
|
def initialize(size = 0, obj = nil, &block)
|
11
12
|
@data = Array.new(size, &block)
|
data/lib/pillboxr/pill.rb
CHANGED
@@ -18,11 +18,19 @@ module Pillboxr
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def color
|
21
|
-
|
21
|
+
self.colors
|
22
|
+
end
|
23
|
+
|
24
|
+
def colors
|
25
|
+
@color.split(';').map { |str| Pillboxr::Attributes::COLOR_CODES.fetch(str.to_sym) }
|
22
26
|
end
|
23
27
|
|
24
28
|
def shape
|
25
|
-
|
29
|
+
self.shapes
|
30
|
+
end
|
31
|
+
|
32
|
+
def shapes
|
33
|
+
@shape.split(';').map { |str| Pillboxr::Attributes::SHAPE_CODES.fetch(str.to_sym) }
|
26
34
|
end
|
27
35
|
|
28
36
|
def score
|
@@ -71,4 +79,4 @@ module Pillboxr
|
|
71
79
|
|
72
80
|
alias_method :scored?, :score?
|
73
81
|
end
|
74
|
-
end
|
82
|
+
end
|
data/lib/pillboxr/result.rb
CHANGED
@@ -52,10 +52,10 @@ module Pillboxr
|
|
52
52
|
|
53
53
|
alias_method :to_s, :inspect
|
54
54
|
|
55
|
-
# Shortcut method for listing all the pills
|
55
|
+
# Shortcut method for listing all the pills currently retrieved
|
56
56
|
# @return [Array] An array of pill objects
|
57
57
|
def pills
|
58
|
-
self.pages.
|
58
|
+
self.pages.map { |page| page.pills }.flatten!
|
59
59
|
end
|
60
60
|
|
61
61
|
private
|
data/lib/pillboxr/version.rb
CHANGED
data/pillboxr.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "pillboxr"
|
7
7
|
s.version = Pillboxr::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ['Keith Gautreaux', 'David Hale', 'Darius Roberts']
|
9
|
+
s.authors = ['Keith Gautreaux', 'David Hale', 'Darius Roberts', 'Mark Silverberg']
|
10
10
|
s.email = ['keith.gautreaux@gmail.com']
|
11
11
|
s.homepage = "http://rubygems.org/gems/pillboxr"
|
12
12
|
s.summary = "Access the NLM Pillbox API using Ruby."
|
@@ -25,11 +25,11 @@ END
|
|
25
25
|
|
26
26
|
s.add_development_dependency "bundler", "~> 1.0.0"
|
27
27
|
s.add_development_dependency 'webmock', '~>1.8.8'
|
28
|
-
s.add_development_dependency 'vcr', '~> 2.
|
28
|
+
s.add_development_dependency 'vcr', '~> 2.4.0'
|
29
29
|
s.add_development_dependency 'yard', '~> 0.8.2.1'
|
30
30
|
s.add_development_dependency 'redcarpet', '~> 2.1.1'
|
31
31
|
|
32
32
|
s.files = `git ls-files`.split("\n").delete_if { |fn| fn.match(/active(_|)resource/) }
|
33
33
|
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
34
34
|
s.require_path = 'lib'
|
35
|
-
end
|
35
|
+
end
|
data/test/pillboxr/pill_test.rb
CHANGED
@@ -7,9 +7,21 @@ class TestPill < MiniTest::Unit::TestCase
|
|
7
7
|
@scored_pills = Pillboxr.score(3).get.pages.current.pills
|
8
8
|
end
|
9
9
|
|
10
|
+
def test_color_returns_array
|
11
|
+
@blue_pills.each do |pill|
|
12
|
+
assert_instance_of(Array, pill.color)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_shape_returns_array
|
17
|
+
@scored_pills.each do |pill|
|
18
|
+
assert_instance_of(Array, pill.shape)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
10
22
|
def test_accessor_methods
|
11
23
|
@blue_pills.each do |pill|
|
12
|
-
|
24
|
+
assert_includes(pill.color, :blue)
|
13
25
|
assert_equal(true, pill.image?)
|
14
26
|
end
|
15
27
|
|
@@ -18,4 +30,4 @@ class TestPill < MiniTest::Unit::TestCase
|
|
18
30
|
assert_equal(3, pill.score)
|
19
31
|
end
|
20
32
|
end
|
21
|
-
end
|
33
|
+
end
|
@@ -10,12 +10,12 @@ end
|
|
10
10
|
|
11
11
|
class TestPillboxr < MiniTest::Unit::TestCase
|
12
12
|
def setup
|
13
|
-
@num_round_shape_records =
|
14
|
-
@num_blue_color_records =
|
15
|
-
@num_image_records =
|
16
|
-
@num_blue_records_with_image =
|
17
|
-
@num_5_mm_records =
|
18
|
-
@num_mylan_records =
|
13
|
+
@num_round_shape_records = 14275
|
14
|
+
@num_blue_color_records = 3035
|
15
|
+
@num_image_records = 11779
|
16
|
+
@num_blue_records_with_image = 1177
|
17
|
+
@num_5_mm_records = 5511
|
18
|
+
@num_mylan_records = 800
|
19
19
|
@request_object = Pillboxr::Request.new(Pillboxr::Params.new([Pillboxr::Attributes::Shape.new(:round)]))
|
20
20
|
end
|
21
21
|
|
@@ -59,6 +59,16 @@ class TestPillboxr < MiniTest::Unit::TestCase
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
+
def test_multiple_colors
|
63
|
+
VCR.use_cassette(:multiple_colors) do
|
64
|
+
r = Pillboxr.with({color: [:blue, :green]}).pages.current.pills
|
65
|
+
r.each do |pill|
|
66
|
+
assert_includes(pill.color, :blue)
|
67
|
+
assert_includes(pill.color, :green)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
62
72
|
def test_all_valid_shapes
|
63
73
|
VCR.use_cassette(:all_valid_shapes) do
|
64
74
|
Pillboxr::Attributes::SHAPES.keys.each do |shape|
|
@@ -74,6 +84,12 @@ class TestPillboxr < MiniTest::Unit::TestCase
|
|
74
84
|
end
|
75
85
|
end
|
76
86
|
|
87
|
+
def test_product_code
|
88
|
+
VCR.use_cassette(:product_code) do
|
89
|
+
assert_equal(1, Pillboxr.with({:product_code => "0078-0176"}).record_count)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
77
93
|
def test_combination_hash
|
78
94
|
VCR.use_cassette(:combination_hash) do
|
79
95
|
assert_equal(@num_blue_records_with_image, Pillboxr.with({ :color => "blue", :image => true }).record_count)
|
@@ -179,4 +195,4 @@ class TestPillboxr < MiniTest::Unit::TestCase
|
|
179
195
|
assert_equal(3, @result.pages.current.number)
|
180
196
|
end
|
181
197
|
end
|
182
|
-
end
|
198
|
+
end
|
metadata
CHANGED
@@ -1,131 +1,115 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pillboxr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Keith Gautreaux
|
9
8
|
- David Hale
|
10
9
|
- Darius Roberts
|
10
|
+
- Mark Silverberg
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2014-02-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: httparty
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
19
|
requirements:
|
21
|
-
- - ~>
|
20
|
+
- - "~>"
|
22
21
|
- !ruby/object:Gem::Version
|
23
22
|
version: 0.8.3
|
24
23
|
type: :runtime
|
25
24
|
prerelease: false
|
26
25
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
26
|
requirements:
|
29
|
-
- - ~>
|
27
|
+
- - "~>"
|
30
28
|
- !ruby/object:Gem::Version
|
31
29
|
version: 0.8.3
|
32
30
|
- !ruby/object:Gem::Dependency
|
33
31
|
name: bundler
|
34
32
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
33
|
requirements:
|
37
|
-
- - ~>
|
34
|
+
- - "~>"
|
38
35
|
- !ruby/object:Gem::Version
|
39
36
|
version: 1.0.0
|
40
37
|
type: :development
|
41
38
|
prerelease: false
|
42
39
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
40
|
requirements:
|
45
|
-
- - ~>
|
41
|
+
- - "~>"
|
46
42
|
- !ruby/object:Gem::Version
|
47
43
|
version: 1.0.0
|
48
44
|
- !ruby/object:Gem::Dependency
|
49
45
|
name: webmock
|
50
46
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
47
|
requirements:
|
53
|
-
- - ~>
|
48
|
+
- - "~>"
|
54
49
|
- !ruby/object:Gem::Version
|
55
50
|
version: 1.8.8
|
56
51
|
type: :development
|
57
52
|
prerelease: false
|
58
53
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
54
|
requirements:
|
61
|
-
- - ~>
|
55
|
+
- - "~>"
|
62
56
|
- !ruby/object:Gem::Version
|
63
57
|
version: 1.8.8
|
64
58
|
- !ruby/object:Gem::Dependency
|
65
59
|
name: vcr
|
66
60
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
61
|
requirements:
|
69
|
-
- - ~>
|
62
|
+
- - "~>"
|
70
63
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.
|
64
|
+
version: 2.4.0
|
72
65
|
type: :development
|
73
66
|
prerelease: false
|
74
67
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
68
|
requirements:
|
77
|
-
- - ~>
|
69
|
+
- - "~>"
|
78
70
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.
|
71
|
+
version: 2.4.0
|
80
72
|
- !ruby/object:Gem::Dependency
|
81
73
|
name: yard
|
82
74
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
75
|
requirements:
|
85
|
-
- - ~>
|
76
|
+
- - "~>"
|
86
77
|
- !ruby/object:Gem::Version
|
87
78
|
version: 0.8.2.1
|
88
79
|
type: :development
|
89
80
|
prerelease: false
|
90
81
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
82
|
requirements:
|
93
|
-
- - ~>
|
83
|
+
- - "~>"
|
94
84
|
- !ruby/object:Gem::Version
|
95
85
|
version: 0.8.2.1
|
96
86
|
- !ruby/object:Gem::Dependency
|
97
87
|
name: redcarpet
|
98
88
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
89
|
requirements:
|
101
|
-
- - ~>
|
90
|
+
- - "~>"
|
102
91
|
- !ruby/object:Gem::Version
|
103
92
|
version: 2.1.1
|
104
93
|
type: :development
|
105
94
|
prerelease: false
|
106
95
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
96
|
requirements:
|
109
|
-
- - ~>
|
97
|
+
- - "~>"
|
110
98
|
- !ruby/object:Gem::Version
|
111
99
|
version: 2.1.1
|
112
|
-
description:
|
113
|
-
API Service located at http://pillbox.nlm.nih.gov.
|
114
|
-
|
100
|
+
description: |
|
101
|
+
Pillboxr is a Ruby wrapper for the National Library of Medicine Pillbox API Service located at http://pillbox.nlm.nih.gov.
|
115
102
|
|
116
103
|
The pillbox API provides information from the FDA about various prescription medications.
|
117
104
|
|
118
|
-
|
119
|
-
*Note:* This library is designed for use with Ruby 1.9.3 and above, and will not
|
120
|
-
work with earlier versions of Ruby.
|
121
|
-
|
122
|
-
'
|
105
|
+
*Note:* This library is designed for use with Ruby 1.9.3 and above, and will not work with earlier versions of Ruby.
|
123
106
|
email:
|
124
107
|
- keith.gautreaux@gmail.com
|
125
108
|
executables: []
|
126
109
|
extensions: []
|
127
110
|
extra_rdoc_files: []
|
128
111
|
files:
|
112
|
+
- ".rvmrc"
|
129
113
|
- Gemfile
|
130
114
|
- Gemfile.lock
|
131
115
|
- README.md
|
@@ -151,27 +135,26 @@ files:
|
|
151
135
|
- test/pillboxr/test_helper.rb
|
152
136
|
homepage: http://rubygems.org/gems/pillboxr
|
153
137
|
licenses: []
|
138
|
+
metadata: {}
|
154
139
|
post_install_message:
|
155
140
|
rdoc_options: []
|
156
141
|
require_paths:
|
157
142
|
- lib
|
158
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
-
none: false
|
160
144
|
requirements:
|
161
|
-
- -
|
145
|
+
- - ">="
|
162
146
|
- !ruby/object:Gem::Version
|
163
147
|
version: '0'
|
164
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
-
none: false
|
166
149
|
requirements:
|
167
|
-
- - ~>
|
150
|
+
- - "~>"
|
168
151
|
- !ruby/object:Gem::Version
|
169
152
|
version: 1.8.6
|
170
153
|
requirements: []
|
171
154
|
rubyforge_project: pillboxr
|
172
|
-
rubygems_version:
|
155
|
+
rubygems_version: 2.2.0
|
173
156
|
signing_key:
|
174
|
-
specification_version:
|
157
|
+
specification_version: 4
|
175
158
|
summary: Access the NLM Pillbox API using Ruby.
|
176
159
|
test_files: []
|
177
160
|
has_rdoc:
|