snail 0.7.2 → 0.8.0

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: c1cb99969310c1c08d9eef5146e5d5f68a1ede29
4
+ data.tar.gz: 8964a79612336d7ab86e78bb118df92769e49c55
5
+ SHA512:
6
+ metadata.gz: b590cb20875b4b46e87c8d004bd099484fe9612ddb5c3e0d7ea1768b9cd45b644bb2aa659b6ead0255e87f9b894de834807b29f163f30cfa962d9cc83d0b3f99
7
+ data.tar.gz: 0d9cde988655502db980d579b8ce4bbc2988fb2b15a8c0c19e09fe448273bf09199b0de51a33c5b4bd724699dac023efb943e0e50aaf94bd31b5ac76e6a618fd
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rdoc/task'
4
+
5
+ desc 'Default: run unit tests.'
6
+ task :default => :test
7
+
8
+ desc 'Test the snail plugin.'
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << 'lib'
11
+ t.libs << 'test'
12
+ t.pattern = 'test/**/*_test.rb'
13
+ t.verbose = true
14
+ end
15
+
16
+ desc 'Generate documentation for the snail plugin.'
17
+ Rake::RDocTask.new(:rdoc) do |rdoc|
18
+ rdoc.rdoc_dir = 'rdoc'
19
+ rdoc.title = 'Snail'
20
+ rdoc.options << '--line-numbers' << '--inline-source'
21
+ rdoc.rdoc_files.include('README')
22
+ rdoc.rdoc_files.include('lib/**/*.rb')
23
+ end
data/lib/snail.rb CHANGED
@@ -32,7 +32,9 @@ class Snail
32
32
  :full_name => :name,
33
33
  :street => :line_1,
34
34
  :street_1 => :line_1,
35
+ :street1 => :line_1,
35
36
  :street_2 => :line_2,
37
+ :street2 => :line_2,
36
38
  :town => :city,
37
39
  :locality => :city,
38
40
  :state => :region,
@@ -0,0 +1,3 @@
1
+ class Snail
2
+ VERSION = '0.8.0'
3
+ end
data/snail.gemspec ADDED
@@ -0,0 +1,17 @@
1
+ require File.dirname(__FILE__) + '/lib/snail/version'
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "snail"
5
+ s.version = Snail::VERSION
6
+ s.authors = ['Lance Ivy']
7
+ s.email = ['lance@cainlevy.net']
8
+ s.summary = "Easily format snail mail addresses for international delivery"
9
+ s.description = "International snail mail addressing is a pain. This begins to make it easier."
10
+ s.homepage = "http://github.com/cainlevy/snail"
11
+
12
+ s.files = `git ls-files`.split($/)
13
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
14
+ s.require_paths = ["lib"]
15
+
16
+ s.add_dependency "active_support"
17
+ end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
5
- prerelease:
4
+ version: 0.8.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Lance Ivy
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-28 00:00:00.000000000 Z
13
- dependencies: []
11
+ date: 2013-05-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: active_support
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
14
27
  description: International snail mail addressing is a pain. This begins to make it
15
28
  easier.
16
- email: lance@cainlevy.net
29
+ email:
30
+ - lance@cainlevy.net
17
31
  executables: []
18
32
  extensions: []
19
33
  extra_rdoc_files: []
20
34
  files:
35
+ - MIT-LICENSE
36
+ - README.rdoc
37
+ - Rakefile
38
+ - lib/snail.rb
21
39
  - lib/snail/configurable.rb
22
40
  - lib/snail/constants.rb
23
- - lib/snail.rb
41
+ - lib/snail/version.rb
24
42
  - lib/snail_helpers.rb
43
+ - snail.gemspec
25
44
  - test/snail_test.rb
26
45
  - test/test_helper.rb
27
- - README.rdoc
28
- - MIT-LICENSE
29
46
  homepage: http://github.com/cainlevy/snail
30
47
  licenses: []
48
+ metadata: {}
31
49
  post_install_message:
32
- rdoc_options:
33
- - --title
34
- - Snail
35
- - --line-numbers
50
+ rdoc_options: []
36
51
  require_paths:
37
52
  - lib
38
53
  required_ruby_version: !ruby/object:Gem::Requirement
39
- none: false
40
54
  requirements:
41
- - - ! '>='
55
+ - - '>='
42
56
  - !ruby/object:Gem::Version
43
57
  version: '0'
44
58
  required_rubygems_version: !ruby/object:Gem::Requirement
45
- none: false
46
59
  requirements:
47
- - - ! '>='
60
+ - - '>='
48
61
  - !ruby/object:Gem::Version
49
62
  version: '0'
50
63
  requirements: []
51
64
  rubyforge_project:
52
- rubygems_version: 1.8.24
65
+ rubygems_version: 2.0.0
53
66
  signing_key:
54
- specification_version: 3
67
+ specification_version: 4
55
68
  summary: Easily format snail mail addresses for international delivery
56
- test_files: []
57
- has_rdoc: true
69
+ test_files:
70
+ - test/snail_test.rb
71
+ - test/test_helper.rb