legalizer 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "http://rubygems.org"
2
+ gem "json", ">= 1.4.6"
3
+ gem "oauth", ">= 0.4.4"
4
+
5
+ group :development do
6
+ gem "shoulda", ">= 0"
7
+ gem "bundler", "~> 1.0.0"
8
+ gem "jeweler", "~> 1.5.1"
9
+ gem "rcov", ">= 0"
10
+ end
@@ -0,0 +1,24 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.5.1)
6
+ bundler (~> 1.0.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ json (1.4.6)
10
+ oauth (0.4.4)
11
+ rake (0.8.7)
12
+ rcov (0.9.9)
13
+ shoulda (2.11.3)
14
+
15
+ PLATFORMS
16
+ ruby
17
+
18
+ DEPENDENCIES
19
+ bundler (~> 1.0.0)
20
+ jeweler (~> 1.5.1)
21
+ json (>= 1.4.6)
22
+ oauth (>= 0.4.4)
23
+ rcov
24
+ shoulda
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Darby Frey
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,73 @@
1
+ = legalizer
2
+
3
+ * http://github.com/darbyfrey/legalizer
4
+
5
+ == DESCRIPTION:
6
+
7
+ Legalizer is a simple API wrapper around the RightSignature document signature service. It's still early in development, but you can:
8
+ * Find and get details on Contracts
9
+ * Search for available Templates
10
+ * Prepare and send a contract for signature
11
+
12
+ == EXAMPLES:
13
+
14
+ Establish a connection:
15
+
16
+ legalizer = Legalizer({
17
+ :oauth_key => 'YOUR OAUTH KEY',
18
+ :oauth_secret => 'YOUR OAUTH SECRET',
19
+ :access_token => 'YOUR ACCESS TOKEN',
20
+ :access_secret => 'YOUR ACCESS SECRET'})
21
+
22
+ List all available templates:
23
+
24
+ legalizer.find.all_templates
25
+
26
+ List recently created contracts:
27
+
28
+ legalizer.find.all_contracts
29
+
30
+ You can also find a contract by RightSignature's document id:
31
+
32
+ legalizer.find.contract(id)
33
+
34
+ Or template id
35
+
36
+ legalizer.find.template(id)
37
+
38
+ Sending is simplified right now, but will be enhanced later. For now you can just send a template to an email address with these parameters:
39
+
40
+ template = legalizer.find.template(id)
41
+ template.send('SUBJECT LINE', 'SENDERS NAME', 'SENDERS EMAIL','RECIPIENTS NAME','RECIPIENTS EMAIL','TAG')
42
+
43
+ == REQUIREMENTS:
44
+
45
+ * oauth
46
+ * json
47
+
48
+ == INSTALL:
49
+
50
+ * gem install leaglizer
51
+
52
+ == LICENSE:
53
+
54
+ Copyright (c) 2010 Darby Frey
55
+
56
+ Permission is hereby granted, free of charge, to any person obtaining
57
+ a copy of this software and associated documentation files (the
58
+ "Software"), to deal in the Software without restriction, including
59
+ without limitation the rights to use, copy, modify, merge, publish,
60
+ distribute, sublicense, and/or sell copies of the Software, and to
61
+ permit persons to whom the Software is furnished to do so, subject to
62
+ the following conditions:
63
+
64
+ The above copyright notice and this permission notice shall be
65
+ included in all copies or substantial portions of the Software.
66
+
67
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
68
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
69
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
70
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
71
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
72
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
73
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,53 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "legalizer"
16
+ gem.homepage = "http://github.com/darbyfrey/legalizer"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{A simple ruby wrapper around the RightSignature API}
19
+ gem.description = %Q{}
20
+ gem.email = "darbyfrey@gmail.com"
21
+ gem.authors = ["Darby Frey"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rake/testtask'
30
+ Rake::TestTask.new(:test) do |test|
31
+ test.libs << 'lib' << 'test'
32
+ test.pattern = 'test/**/test_*.rb'
33
+ test.verbose = true
34
+ end
35
+
36
+ require 'rcov/rcovtask'
37
+ Rcov::RcovTask.new do |test|
38
+ test.libs << 'test'
39
+ test.pattern = 'test/**/test_*.rb'
40
+ test.verbose = true
41
+ end
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "legalizer #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.2
@@ -0,0 +1,79 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{legalizer}
8
+ s.version = "0.2.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Darby Frey"]
12
+ s.date = %q{2010-12-07}
13
+ s.description = %q{}
14
+ s.email = %q{darbyfrey@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "legalizer.gemspec",
28
+ "lib/legalizer.rb",
29
+ "lib/legalizer/base.rb",
30
+ "lib/legalizer/config.rb",
31
+ "lib/legalizer/document.rb",
32
+ "lib/legalizer/document/contract.rb",
33
+ "lib/legalizer/document/template.rb",
34
+ "lib/legalizer/find.rb",
35
+ "script/console",
36
+ "script/destroy",
37
+ "script/generate",
38
+ "test/helper.rb",
39
+ "test/test_legalizer.rb"
40
+ ]
41
+ s.homepage = %q{http://github.com/darbyfrey/legalizer}
42
+ s.licenses = ["MIT"]
43
+ s.require_paths = ["lib"]
44
+ s.rubygems_version = %q{1.3.7}
45
+ s.summary = %q{A simple ruby wrapper around the RightSignature API}
46
+ s.test_files = [
47
+ "test/helper.rb",
48
+ "test/test_legalizer.rb"
49
+ ]
50
+
51
+ if s.respond_to? :specification_version then
52
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
53
+ s.specification_version = 3
54
+
55
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
+ s.add_runtime_dependency(%q<json>, [">= 1.4.6"])
57
+ s.add_runtime_dependency(%q<oauth>, [">= 0.4.4"])
58
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
59
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
60
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
61
+ s.add_development_dependency(%q<rcov>, [">= 0"])
62
+ else
63
+ s.add_dependency(%q<json>, [">= 1.4.6"])
64
+ s.add_dependency(%q<oauth>, [">= 0.4.4"])
65
+ s.add_dependency(%q<shoulda>, [">= 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
+ end
70
+ else
71
+ s.add_dependency(%q<json>, [">= 1.4.6"])
72
+ s.add_dependency(%q<oauth>, [">= 0.4.4"])
73
+ s.add_dependency(%q<shoulda>, [">= 0"])
74
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
75
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
76
+ s.add_dependency(%q<rcov>, [">= 0"])
77
+ end
78
+ end
79
+
@@ -0,0 +1,21 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless
2
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
+ # require 'soap/wsdlDriver'
4
+ require 'oauth'
5
+ require 'json'
6
+ require 'ostruct'
7
+
8
+ module Legalizer
9
+ VERSION = '0.0.1'
10
+ end
11
+
12
+ require 'legalizer/base'
13
+ require 'legalizer/config'
14
+ require 'legalizer/find'
15
+ require 'legalizer/document'
16
+ require 'legalizer/document/template'
17
+ require 'legalizer/document/contract'
18
+
19
+ def Legalizer(options={})
20
+ Legalizer::Base.new(options)
21
+ end
@@ -0,0 +1,37 @@
1
+ module Legalizer
2
+ class Base
3
+ def initialize(options={})
4
+ if options[:config].is_a? Legalizer::Config
5
+ @config = options[:config]
6
+ @connection = options[:config].connection
7
+ @token = options[:config].token
8
+ else
9
+ @config = Legalizer::Config.new(options)
10
+ end
11
+ end
12
+
13
+ def connection
14
+ @config.connection
15
+ end
16
+
17
+ def token
18
+ @config.token
19
+ end
20
+
21
+ def config
22
+ @config
23
+ end
24
+
25
+ def templates
26
+ Legalizer::Template.new({:config => @config})
27
+ end
28
+
29
+ def contracts
30
+ Legalizer::Contract.new({:config => @config})
31
+ end
32
+
33
+ def find
34
+ Legalizer::Find.new({:config => @config})
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,17 @@
1
+ module Legalizer
2
+ class Config
3
+ attr_reader :connection, :token
4
+ def initialize(options={})
5
+ @connection = OAuth::Consumer.new(options[:oauth_key], options[:oauth_secret], {
6
+ :site => "https://rightsignature.com",
7
+ :scheme => :header,
8
+ :http_method => :post,
9
+ :request_token_path => "/oauth/request_token",
10
+ :access_token_path => "/oauth/access_token",
11
+ :authorize_path => "/oauth/authorize"
12
+ })
13
+
14
+ @token = OAuth::Token.new(options[:access_token], options[:access_secret])
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,24 @@
1
+ module Legalizer
2
+ class Document < Base
3
+ def initialize(options={})
4
+ super(options)
5
+ @source = options[:object]
6
+ end
7
+
8
+ def source
9
+ @source
10
+ end
11
+
12
+ def id
13
+ @source.documentKey
14
+ end
15
+
16
+ def to_s
17
+ @source.name
18
+ end
19
+
20
+ def to_struct
21
+ OpenStruct.new @source
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,8 @@
1
+ module Legalizer
2
+ class Contract < Document
3
+ def initialize(options={})
4
+ super(options)
5
+ @source = options[:object]
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,41 @@
1
+ module Legalizer
2
+ class Template < Document
3
+ def initialize(options={})
4
+ super(options)
5
+ @source = options[:object]
6
+ end
7
+
8
+ def send(subject, sender_name, sender_email, recipient_name, recipient_email, tag)
9
+ template_guid = self.source["guid"]
10
+ package = @config.connection.request(:get, "/api/templates/#{template_guid}/prepackage.json", @config.token, {})
11
+ package_guid = JSON.parse(package.body)["template"]["guid"]
12
+ xml = build_xml(package_guid, subject, sender_name, sender_email, recipient_name, recipient_email, tag)
13
+ response = JSON.parse(@config.connection.request(:post, '/api/templates.json', @config.token, {}, xml, { 'Content-Type' => 'application/xml' }).body)
14
+ response["document"]["guid"]
15
+ end
16
+
17
+ private
18
+ def build_xml(guid, subject, sender_name, sender_email, recipient_name, recipient_email, tag)
19
+ "<template>
20
+ <guid>#{guid}</guid>
21
+ <subject>#{subject}</subject>
22
+ <action>send</action>
23
+ <roles>
24
+ <role role_name='Document Sender'>
25
+ <name>#{sender_name}</name>
26
+ <email>#{sender_email}</email>
27
+ </role>
28
+ <role role_name='Client'>
29
+ <name>#{recipient_name}</name>
30
+ <email>#{recipient_email}</email>
31
+ </role>
32
+ </roles>
33
+ <tags>
34
+ <tag>
35
+ <value>#{tag}</value>
36
+ </tag>
37
+ </tags>
38
+ </template>"
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,31 @@
1
+ module Legalizer
2
+ class Find < Base
3
+ def contract(contract_id)
4
+ result = JSON.parse(@connection.request(:get, "/api/documents/#{contract_id}.json", @token, {}).body)["document"]
5
+ Legalizer::Contract.new({:config => @config, :object => result})
6
+ end
7
+
8
+ def all_contracts
9
+ contracts = []
10
+ result = JSON.parse(@connection.request(:get, '/api/documents.json', @token, {}).body)["page"]["documents"]
11
+ result.each do |contract|
12
+ contracts << Legalizer::Contract.new({:config => @config, :object => contract})
13
+ end
14
+ contracts
15
+ end
16
+
17
+ def template(template_id)
18
+ result = JSON.parse(@connection.request(:get, "/api/templates/#{template_id}.json", @token, {}).body)["template"]
19
+ Legalizer::Template.new({:config => @config, :object => result})
20
+ end
21
+
22
+ def all_templates
23
+ templates = []
24
+ result = JSON.parse(@connection.request(:get, '/api/templates.json', @token, {}).body)["templates"]
25
+ result.each do |contract|
26
+ templates << Legalizer::Template.new({:config => @config, :object => contract})
27
+ end
28
+ templates
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # File: script/console
3
+ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
+
5
+ libs = " -r irb/completion"
6
+ # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
+ # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
+ libs << " -r #{File.dirname(__FILE__) + '/../lib/legalizer.rb'}"
9
+ puts "Loading legalizer gem"
10
+ exec "#{irb} #{libs} --simple-prompt"
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/destroy'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'legalizer'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestLegalizer < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,179 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: legalizer
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 2
10
+ version: 0.2.2
11
+ platform: ruby
12
+ authors:
13
+ - Darby Frey
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-12-07 00:00:00 -06:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ type: :runtime
24
+ name: json
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 11
31
+ segments:
32
+ - 1
33
+ - 4
34
+ - 6
35
+ version: 1.4.6
36
+ requirement: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ prerelease: false
39
+ type: :runtime
40
+ name: oauth
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 7
47
+ segments:
48
+ - 0
49
+ - 4
50
+ - 4
51
+ version: 0.4.4
52
+ requirement: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ prerelease: false
55
+ type: :development
56
+ name: shoulda
57
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ hash: 3
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ requirement: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ prerelease: false
69
+ type: :development
70
+ name: bundler
71
+ version_requirements: &id004 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ hash: 23
77
+ segments:
78
+ - 1
79
+ - 0
80
+ - 0
81
+ version: 1.0.0
82
+ requirement: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ prerelease: false
85
+ type: :development
86
+ name: jeweler
87
+ version_requirements: &id005 !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ~>
91
+ - !ruby/object:Gem::Version
92
+ hash: 1
93
+ segments:
94
+ - 1
95
+ - 5
96
+ - 1
97
+ version: 1.5.1
98
+ requirement: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ prerelease: false
101
+ type: :development
102
+ name: rcov
103
+ version_requirements: &id006 !ruby/object:Gem::Requirement
104
+ none: false
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ hash: 3
109
+ segments:
110
+ - 0
111
+ version: "0"
112
+ requirement: *id006
113
+ description: ""
114
+ email: darbyfrey@gmail.com
115
+ executables: []
116
+
117
+ extensions: []
118
+
119
+ extra_rdoc_files:
120
+ - LICENSE.txt
121
+ - README.rdoc
122
+ files:
123
+ - .document
124
+ - Gemfile
125
+ - Gemfile.lock
126
+ - LICENSE.txt
127
+ - README.rdoc
128
+ - Rakefile
129
+ - VERSION
130
+ - legalizer.gemspec
131
+ - lib/legalizer.rb
132
+ - lib/legalizer/base.rb
133
+ - lib/legalizer/config.rb
134
+ - lib/legalizer/document.rb
135
+ - lib/legalizer/document/contract.rb
136
+ - lib/legalizer/document/template.rb
137
+ - lib/legalizer/find.rb
138
+ - script/console
139
+ - script/destroy
140
+ - script/generate
141
+ - test/helper.rb
142
+ - test/test_legalizer.rb
143
+ has_rdoc: true
144
+ homepage: http://github.com/darbyfrey/legalizer
145
+ licenses:
146
+ - MIT
147
+ post_install_message:
148
+ rdoc_options: []
149
+
150
+ require_paths:
151
+ - lib
152
+ required_ruby_version: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ hash: 3
158
+ segments:
159
+ - 0
160
+ version: "0"
161
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ hash: 3
167
+ segments:
168
+ - 0
169
+ version: "0"
170
+ requirements: []
171
+
172
+ rubyforge_project:
173
+ rubygems_version: 1.3.7
174
+ signing_key:
175
+ specification_version: 3
176
+ summary: A simple ruby wrapper around the RightSignature API
177
+ test_files:
178
+ - test/helper.rb
179
+ - test/test_legalizer.rb