stanford-mods 0.0.25 → 0.0.26

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
  SHA1:
3
- metadata.gz: 95a95f8bfaee60c6772aaa2a165693620e7b2758
4
- data.tar.gz: 2bcd5a5c3a82ec7993a9e52b2b599a3af21d0492
3
+ metadata.gz: 402d16e29fddb76f3a3b21418aa000dcf8300a80
4
+ data.tar.gz: 46ba723a412d940fcc82f667c7c7043f1e25c13b
5
5
  SHA512:
6
- metadata.gz: 75fde964e08ad140a23fe66dd2e04e40fe6c521e52dbf43cd88d78a6d02e7bf0b8fed61313315e93efe911678046fcf0e916aafc14747a998cad540f34f02601
7
- data.tar.gz: 52311ffea59fa1be748b503bceb7c82e9eeb5c98b8587460af66c0748a0d4b6202d8a82d85edfdf473c552cfbfe68eafddba5b5e3755549f569fe8b9175b2edb
6
+ metadata.gz: 9357e2d632c6bec40aa4b96f9a07905da48ca69431a37444753b35749a99000105a3b75ee24f6b5c3d3aa55601b001e682167147dddace1bf93c098b736a4c8a
7
+ data.tar.gz: ad7b01a32d9f6bc640aa8e872c3366f42769085c06dea39c072e71843f7f0eee32d5829a5a0689ea80f1fd607d5aded96fd69e800e048dfa8f91c9753a5b9927
data/.travis.yml CHANGED
@@ -7,10 +7,10 @@ rvm:
7
7
  - ruby-head
8
8
  - jruby-19mode # JRuby in 1.9 mode
9
9
  - jruby-head
10
- # - jruby-19mode
11
10
  notifications:
12
11
  email:
13
12
  - ndushay@stanford.edu
13
+ - laneymcg@stanford.edu
14
14
  - bess@stanford.edu
15
15
  #before_install:
16
16
  # gem update --system 1.8.24
data/README.rdoc CHANGED
@@ -59,6 +59,7 @@ Example Using SearchWorks Mixins:
59
59
  6. Create new Pull Request
60
60
 
61
61
  == Releases
62
+ * <b>0.0.26</b> map typeOfResource 'sound recording-musical' to searchworks format 'Music - Recording' with spaces
62
63
  * <b>0.0.25</b> map typeOfResource 'text' and genre 'report' to searchworks format 'Book'
63
64
  * <b>0.0.24</b> Largely cosmetic refactoring for easier maintenance.
64
65
  * <b>0.0.23</b> Added logic for dealing with "u-notation" approximate dates, e.g., 198u
@@ -511,7 +511,7 @@ module Stanford
511
511
  when 'cartographic'
512
512
  val << 'Map/Globe'
513
513
  when 'sound recording-musical'
514
- val << 'Music-Recording'
514
+ val << 'Music - Recording'
515
515
  when 'sound recording-nonmusical'
516
516
  val << 'Sound Recording'
517
517
  when 'software, multimedia'
@@ -1,6 +1,6 @@
1
1
  module Stanford
2
2
  module Mods
3
3
  # this is the Ruby Gem version
4
- VERSION = "0.0.25"
4
+ VERSION = "0.0.26"
5
5
  end
6
6
  end
@@ -54,6 +54,11 @@ describe "Format field from Searchworks mixin for Stanford::Mods::Record" do
54
54
  @smods_rec.from_str(m)
55
55
  @smods_rec.format.should == ['Sound Recording']
56
56
  end
57
+ it "should give a format of Music - Recording for <typeOfResource>sound recording-musical</typeOfResource>" do
58
+ m = "<mods #{@ns_decl}><typeOfResource>sound recording-musical</typeOfResource></mods>"
59
+ @smods_rec.from_str(m)
60
+ @smods_rec.format.should == ['Music - Recording']
61
+ end
57
62
  it "should give a format of Conference Proceedings for <genre>conference publication</genre> and <typeOfResource>text</typeOfResource>" do
58
63
  m = "<mods #{@ns_decl}><genre>conference publication</genre><typeOfResource>text</typeOfResource></mods>"
59
64
  @smods_rec.from_str(m)
@@ -30,8 +30,9 @@ Gem::Specification.new do |gem|
30
30
  gem.add_development_dependency "yard"
31
31
  # tests
32
32
  gem.add_development_dependency 'rspec'
33
- gem.add_development_dependency 'simplecov'
34
- gem.add_development_dependency 'simplecov-rcov'
33
+ # using coveralls now
34
+ # gem.add_development_dependency 'simplecov'
35
+ # gem.add_development_dependency 'simplecov-rcov'
35
36
  # gem.add_development_dependency 'ruby-debug19'
36
37
 
37
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stanford-mods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naomi Dushay
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-19 00:00:00.000000000 Z
12
+ date: 2014-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mods
@@ -81,34 +81,6 @@ dependencies:
81
81
  - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
- - !ruby/object:Gem::Dependency
85
- name: simplecov
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - '>='
89
- - !ruby/object:Gem::Version
90
- version: '0'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - '>='
96
- - !ruby/object:Gem::Version
97
- version: '0'
98
- - !ruby/object:Gem::Dependency
99
- name: simplecov-rcov
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - '>='
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - '>='
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
84
  description: Stanford specific wrangling of MODS metadata from DOR, the Stanford Digital
113
85
  Object Repository
114
86
  email: