jgm-cloudlib 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/cloudlib.gemspec +2 -2
  2. data/lib/cloudlib.rb +2 -2
  3. metadata +4 -3
data/cloudlib.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cloudlib"
3
- s.version = "0.3.8"
4
- s.date = "2009-04-26"
3
+ s.version = "0.3.9"
4
+ s.date = "2009-07-28"
5
5
  s.summary = "Tools for maintaining a library of books and articles in Amazon S3 and SimpleDB"
6
6
  s.email = "jgm@berkeley.edu"
7
7
  s.homepage = "http://github.com/jgm/cloudlib"
data/lib/cloudlib.rb CHANGED
@@ -237,12 +237,12 @@ class Entry
237
237
  def to_bibtex
238
238
  pairs = self.fields.map do |field|
239
239
  if self.attributes[field.to_s]
240
- sprintf(" %-15s: {%s}", field.to_s, self.show_attribute(field.to_s))
240
+ sprintf(" %-15s= {%s}", field.to_s, self.show_attribute(field.to_s))
241
241
  else
242
242
  nil
243
243
  end
244
244
  end
245
- pairs += [sprintf(" %-15s: {%s}", "file", self.name)]
245
+ pairs += [sprintf(" %-15s= {%s}", "file", self.name)]
246
246
  authornames = self.attributes['authors'].map {|a| last_name(a)}.join('.')
247
247
  year = self.attributes['year']
248
248
  entry_type = self.show_attribute('entry_type') || 'unknown'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jgm-cloudlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - John MacFarlane
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-26 00:00:00 -07:00
12
+ date: 2009-07-28 00:00:00 -07:00
13
13
  default_executable: cloudlib
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -70,6 +70,7 @@ files:
70
70
  - bin/cloudlib-web
71
71
  has_rdoc: true
72
72
  homepage: http://github.com/jgm/cloudlib
73
+ licenses:
73
74
  post_install_message:
74
75
  rdoc_options:
75
76
  - --main
@@ -92,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
93
  requirements: []
93
94
 
94
95
  rubyforge_project:
95
- rubygems_version: 1.2.0
96
+ rubygems_version: 1.3.5
96
97
  signing_key:
97
98
  specification_version: 2
98
99
  summary: Tools for maintaining a library of books and articles in Amazon S3 and SimpleDB