resumerb 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: af6fce046ff8b02bab73d6b4b5eff05261ba7862
4
+ data.tar.gz: 72494efe633ab33a25d388dff48cf9de69ed0cde
5
+ SHA512:
6
+ metadata.gz: 4dff11b285dadf47a01aaa2835fffd70222f990df3fc73d0242ab3793275f1862a4c6292722df4f489d8f0ec439ae8a1242a195058963245575e9771e445e770
7
+ data.tar.gz: 8fa73bbfd27b28791671d9129e6e2d61a56527119f3130311265ba0b3d8f2fdd93504d4dde119d5c85644bc30acda5ed886e83d161024f20c85e6926e947a8ce
data/Gemfile CHANGED
@@ -7,8 +7,7 @@ source "http://rubygems.org"
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
9
  gem "rspec", "~> 2.1.0"
10
- gem "yard", "~> 0.6.0"
11
- gem "bundler", "~> 1.0.0"
12
- gem "jeweler", "~> 1.5.1"
13
- gem "rcov", ">= 0"
10
+ gem "yard", "~> 0.8.0"
11
+ gem "bundler", "~> 1.3.0"
12
+ gem "jeweler", "~> 1.8.0"
14
13
  end
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.authors = ["Micah Wylde"]
22
22
  # Include your dependencies below. Runtime dependencies are required when using your gem,
23
23
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
- gem.add_runtime_dependency 'erubis', '> 2.6.5'
24
+ gem.add_runtime_dependency 'erubis', '~> 2.7.0'
25
25
  gem.add_runtime_dependency 'redcarpet', '~> 2.0.0b5'
26
26
  # gem.add_development_dependency 'rspec', '> 1.2.3'
27
27
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/example/my_resume.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'resumerb'
2
+ require 'resume'
3
3
  require 'tempfile'
4
4
  require 'date'
5
5
 
data/lib/resume/latex.rb CHANGED
@@ -54,9 +54,9 @@ module Resume
54
54
  def escape s
55
55
  ESCAPING_RULES.each do |from, to|
56
56
  if s.is_a? Array
57
- s.map{|x| x.gsub!(from, to)}
57
+ s = s.map{|x| x.gsub(from, to)}
58
58
  else
59
- s.gsub!(from, to)
59
+ s = s.gsub(from, to)
60
60
  end
61
61
  end
62
62
  s
@@ -41,11 +41,11 @@
41
41
  \author{<%= @about[:name] %>}
42
42
  % ------ Address --------------------------------------------------------
43
43
 
44
- \address{<%= @about[:address].join("\\\\ \n") %> \\
45
- <%= @about[:phone] + "\\" if @about[:phone] %>
46
- }{
44
+ \address{<%= @about[:address].join("\\\\ \n") + " \\\\" if @about[:address] %>
45
+ <%= @about[:phone] + "\\" if @about[:phone] %>
46
+ }{
47
47
  <%= @about[:email] %> \\
48
- <%= @about[:url] %>}
48
+ <%= @about[:url] %>}
49
49
 
50
50
  \begin{document}
51
51
  \maketitle
data/resumerb.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "resumerb"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micah Wylde"]
12
- s.date = "2011-11-07"
12
+ s.date = "2013-10-13"
13
13
  s.description = "Resume provides a DSL for defining resume data, which can be rendered via various backends (currently LaTeX, plain text, Markdown and HTML)."
14
14
  s.email = "micah@micahw.com"
15
15
  s.extra_rdoc_files = [
@@ -42,40 +42,33 @@ Gem::Specification.new do |s|
42
42
  s.homepage = "http://github.com/mwylde/resume.rb"
43
43
  s.licenses = ["MIT"]
44
44
  s.require_paths = ["lib"]
45
- s.rubygems_version = "1.8.10"
45
+ s.rubygems_version = "2.0.3"
46
46
  s.summary = "Generates resumes in HTML and PDF (via LaTeX)"
47
- s.test_files = [
48
- "spec/resume.rb_spec.rb",
49
- "spec/spec_helper.rb"
50
- ]
51
47
 
52
48
  if s.respond_to? :specification_version then
53
- s.specification_version = 3
49
+ s.specification_version = 4
54
50
 
55
51
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
52
  s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
57
- s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
58
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
59
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
60
- s.add_development_dependency(%q<rcov>, [">= 0"])
61
- s.add_runtime_dependency(%q<erubis>, ["> 2.6.5"])
53
+ s.add_development_dependency(%q<yard>, ["~> 0.8.0"])
54
+ s.add_development_dependency(%q<bundler>, ["~> 1.3.0"])
55
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.0"])
56
+ s.add_runtime_dependency(%q<erubis>, ["~> 2.7.0"])
62
57
  s.add_runtime_dependency(%q<redcarpet>, ["~> 2.0.0b5"])
63
58
  else
64
59
  s.add_dependency(%q<rspec>, ["~> 2.1.0"])
65
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
66
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
67
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
68
- s.add_dependency(%q<rcov>, [">= 0"])
69
- s.add_dependency(%q<erubis>, ["> 2.6.5"])
60
+ s.add_dependency(%q<yard>, ["~> 0.8.0"])
61
+ s.add_dependency(%q<bundler>, ["~> 1.3.0"])
62
+ s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
63
+ s.add_dependency(%q<erubis>, ["~> 2.7.0"])
70
64
  s.add_dependency(%q<redcarpet>, ["~> 2.0.0b5"])
71
65
  end
72
66
  else
73
67
  s.add_dependency(%q<rspec>, ["~> 2.1.0"])
74
- s.add_dependency(%q<yard>, ["~> 0.6.0"])
75
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
76
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
77
- s.add_dependency(%q<rcov>, [">= 0"])
78
- s.add_dependency(%q<erubis>, ["> 2.6.5"])
68
+ s.add_dependency(%q<yard>, ["~> 0.8.0"])
69
+ s.add_dependency(%q<bundler>, ["~> 1.3.0"])
70
+ s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
71
+ s.add_dependency(%q<erubis>, ["~> 2.7.0"])
79
72
  s.add_dependency(%q<redcarpet>, ["~> 2.0.0b5"])
80
73
  end
81
74
  end
metadata CHANGED
@@ -1,93 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resumerb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Micah Wylde
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-11-07 00:00:00.000000000 Z
11
+ date: 2013-10-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
- requirement: &70269931723160 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.1.0
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *70269931723160
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 2.1.0
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: yard
27
- requirement: &70269931720820 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ~>
31
32
  - !ruby/object:Gem::Version
32
- version: 0.6.0
33
+ version: 0.8.0
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *70269931720820
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 0.8.0
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: bundler
38
- requirement: &70269931735860 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
45
  - - ~>
42
46
  - !ruby/object:Gem::Version
43
- version: 1.0.0
47
+ version: 1.3.0
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *70269931735860
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.3.0
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: jeweler
49
- requirement: &70269931735360 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
54
- version: 1.5.1
61
+ version: 1.8.0
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *70269931735360
58
- - !ruby/object:Gem::Dependency
59
- name: rcov
60
- requirement: &70269931734620 !ruby/object:Gem::Requirement
61
- none: false
64
+ version_requirements: !ruby/object:Gem::Requirement
62
65
  requirements:
63
- - - ! '>='
66
+ - - ~>
64
67
  - !ruby/object:Gem::Version
65
- version: '0'
66
- type: :development
67
- prerelease: false
68
- version_requirements: *70269931734620
68
+ version: 1.8.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: erubis
71
- requirement: &70269931733940 !ruby/object:Gem::Requirement
72
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
73
72
  requirements:
74
- - - ! '>'
73
+ - - ~>
75
74
  - !ruby/object:Gem::Version
76
- version: 2.6.5
75
+ version: 2.7.0
77
76
  type: :runtime
78
77
  prerelease: false
79
- version_requirements: *70269931733940
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 2.7.0
80
83
  - !ruby/object:Gem::Dependency
81
84
  name: redcarpet
82
- requirement: &70269931733260 !ruby/object:Gem::Requirement
83
- none: false
85
+ requirement: !ruby/object:Gem::Requirement
84
86
  requirements:
85
87
  - - ~>
86
88
  - !ruby/object:Gem::Version
87
89
  version: 2.0.0b5
88
90
  type: :runtime
89
91
  prerelease: false
90
- version_requirements: *70269931733260
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 2.0.0b5
91
97
  description: Resume provides a DSL for defining resume data, which can be rendered
92
98
  via various backends (currently LaTeX, plain text, Markdown and HTML).
93
99
  email: micah@micahw.com
@@ -121,31 +127,25 @@ files:
121
127
  homepage: http://github.com/mwylde/resume.rb
122
128
  licenses:
123
129
  - MIT
130
+ metadata: {}
124
131
  post_install_message:
125
132
  rdoc_options: []
126
133
  require_paths:
127
134
  - lib
128
135
  required_ruby_version: !ruby/object:Gem::Requirement
129
- none: false
130
136
  requirements:
131
- - - ! '>='
137
+ - - '>='
132
138
  - !ruby/object:Gem::Version
133
139
  version: '0'
134
- segments:
135
- - 0
136
- hash: 1517123393834753169
137
140
  required_rubygems_version: !ruby/object:Gem::Requirement
138
- none: false
139
141
  requirements:
140
- - - ! '>='
142
+ - - '>='
141
143
  - !ruby/object:Gem::Version
142
144
  version: '0'
143
145
  requirements: []
144
146
  rubyforge_project:
145
- rubygems_version: 1.8.10
147
+ rubygems_version: 2.0.3
146
148
  signing_key:
147
- specification_version: 3
149
+ specification_version: 4
148
150
  summary: Generates resumes in HTML and PDF (via LaTeX)
149
- test_files:
150
- - spec/resume.rb_spec.rb
151
- - spec/spec_helper.rb
151
+ test_files: []