Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release 1.0.0

  • Loading branch information...
commit f61cecd8f363d715996d98756feb0c1a03aef7c3 1 parent 135a19d
@tj authored
View
4 History.rdoc
@@ -1,4 +1,8 @@
+=== 1.0.0 / 2009-10-08
+
+* Specs for Agent#==
+
=== 0.0.1 / 2009-08-28
* Initial release
View
8 Manifest
@@ -1,10 +1,10 @@
History.rdoc
-lib/user-agent/agent.rb
-lib/user-agent/version.rb
-lib/user-agent.rb
Manifest
-Rakefile
README.rdoc
+Rakefile
+lib/user-agent.rb
+lib/user-agent/agent.rb
+lib/user-agent/version.rb
spec/agent_spec.rb
spec/agents_spec.rb
spec/spec.opts
View
2  lib/user-agent/agent.rb
@@ -10,7 +10,7 @@ class Agent
# Initialize with user agent _string_.
def initialize string
- @string = string
+ @string = string.strip
end
#--
View
2  lib/user-agent/version.rb
@@ -1,4 +1,4 @@
class Agent
- VERSION = '0.0.1'
+ VERSION = '1.0.0'
end
View
8 user-agent.gemspec
@@ -2,15 +2,15 @@
Gem::Specification.new do |s|
s.name = %q{user-agent}
- s.version = "0.0.1"
+ s.version = "1.0.0"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["TJ Holowaychuk"]
- s.date = %q{2009-08-28}
+ s.date = %q{2009-10-08}
s.description = %q{User agent parser}
s.email = %q{tj@vision-media.ca}
- s.extra_rdoc_files = ["lib/user-agent/agent.rb", "lib/user-agent/version.rb", "lib/user-agent.rb", "README.rdoc", "tasks/docs.rake", "tasks/gemspec.rake", "tasks/spec.rake"]
- s.files = ["History.rdoc", "lib/user-agent/agent.rb", "lib/user-agent/version.rb", "lib/user-agent.rb", "Manifest", "Rakefile", "README.rdoc", "spec/agent_spec.rb", "spec/agents_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/docs.rake", "tasks/gemspec.rake", "tasks/spec.rake", "user-agent.gemspec"]
+ s.extra_rdoc_files = ["README.rdoc", "lib/user-agent.rb", "lib/user-agent/agent.rb", "lib/user-agent/version.rb", "tasks/docs.rake", "tasks/gemspec.rake", "tasks/spec.rake"]
+ s.files = ["History.rdoc", "Manifest", "README.rdoc", "Rakefile", "lib/user-agent.rb", "lib/user-agent/agent.rb", "lib/user-agent/version.rb", "spec/agent_spec.rb", "spec/agents_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/docs.rake", "tasks/gemspec.rake", "tasks/spec.rake", "user-agent.gemspec"]
s.homepage = %q{}
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "User-agent", "--main", "README.rdoc"]
s.require_paths = ["lib"]
Please sign in to comment.
Something went wrong with that request. Please try again.