rcoins 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Manifest +2 -1
  2. data/Rakefile +1 -1
  3. data/lib/rcoins.rb +2 -2
  4. data/rcoins.gemspec +4 -4
  5. metadata +4 -4
data/Manifest CHANGED
@@ -1,4 +1,5 @@
1
+ Manifest
1
2
  README
2
3
  Rakefile
3
4
  lib/rcoins.rb
4
- Manifest
5
+ rcoins.gemspec
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('rcoins', '0.0.1') do |p|
5
+ Echoe.new('rcoins', '0.0.2') do |p|
6
6
  p.description = "A gem allows to create a COinS - span - tag with an human readable syntax."
7
7
  p.url = "http://github.com/daandi/rcoins"
8
8
  p.author = "Andreas Neumann"
@@ -17,7 +17,7 @@ class COinS
17
17
  :book_title => 'rft.btitle',
18
18
  :title => 'rft.atitle',
19
19
  :article_title => 'rft.atitle',
20
- :author => 'rft.aucorp',
20
+ :author => 'rft.au',
21
21
  :date => 'rft.date',
22
22
  :place => 'rft.place',
23
23
  :type => 'rft.genre',
@@ -32,7 +32,7 @@ class COinS
32
32
  end
33
33
 
34
34
  def build_COinS_pairs(input)
35
- input.inject([]) do |acc, inp|
35
+ input.inject(['ctx_ver=Z39.88-2004', 'rft_val_fmt=info:ofi/fmt:kev:mtx:book']) do |acc, inp|
36
36
  key, value = inp
37
37
  acc << "#{ @mapping[key] }=#{ CGI.escape( value ) }"
38
38
  end
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rcoins}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Andreas Neumann"]
9
- s.date = %q{2011-04-07}
9
+ s.date = %q{2011-04-10}
10
10
  s.description = %q{A gem allows to create a COinS - span - tag with an human readable syntax.}
11
11
  s.email = %q{info @nospam@ an-it.com}
12
12
  s.extra_rdoc_files = ["README", "lib/rcoins.rb"]
13
- s.files = ["README", "Rakefile", "lib/rcoins.rb", "Manifest", "rcoins.gemspec"]
13
+ s.files = ["Manifest", "README", "Rakefile", "lib/rcoins.rb", "rcoins.gemspec"]
14
14
  s.homepage = %q{http://github.com/daandi/rcoins}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rcoins", "--main", "README"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{rcoins}
18
- s.rubygems_version = %q{1.6.0}
18
+ s.rubygems_version = %q{1.6.2}
19
19
  s.summary = %q{A gem allows to create a COinS - span - tag with an human readable syntax.}
20
20
 
21
21
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rcoins
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andreas Neumann
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-07 00:00:00 +02:00
13
+ date: 2011-04-10 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -24,10 +24,10 @@ extra_rdoc_files:
24
24
  - README
25
25
  - lib/rcoins.rb
26
26
  files:
27
+ - Manifest
27
28
  - README
28
29
  - Rakefile
29
30
  - lib/rcoins.rb
30
- - Manifest
31
31
  - rcoins.gemspec
32
32
  has_rdoc: true
33
33
  homepage: http://github.com/daandi/rcoins
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements: []
59
59
 
60
60
  rubyforge_project: rcoins
61
- rubygems_version: 1.6.0
61
+ rubygems_version: 1.6.2
62
62
  signing_key:
63
63
  specification_version: 3
64
64
  summary: A gem allows to create a COinS - span - tag with an human readable syntax.