colibri 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Binary file
data/Manifest CHANGED
@@ -1,4 +1,5 @@
1
1
  MIT-LICENSE
2
+ Manifest
2
3
  README
3
4
  Rakefile
4
5
  init.rb
@@ -9,4 +10,3 @@ lib/output/simple_html_diff.rb
9
10
  lib/output/string_simple_correction_diff.rb
10
11
  lib/output/vc_diff.rb
11
12
  sample.css
12
- Manifest
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  require 'rake'
4
4
  require 'echoe'
5
5
 
6
- Echoe.new('colibri', '0.0.1') do |p|
6
+ Echoe.new('colibri', '0.0.2') do |p|
7
7
  p.description = "Display a diff of two files (long strings...) as html"
8
8
  p.url = "https://github.com/IgorDobryn/colibri"
9
9
  p.author = "Igor Dobryn"
@@ -11,6 +11,9 @@ Echoe.new('colibri', '0.0.1') do |p|
11
11
  p.ignore_pattern = ["tmp/*", "script/*"]
12
12
  p.development_dependencies = ["diff-lcs", "erubis"]
13
13
  p.summary = "This gem provide functionality for displaying defference between two files(long strings) as html"
14
+
15
+ p.private_key = "~/.ssh/gem-private_key.pem"
16
+ p.certificate_chain = ['~/.ssh/gem-public_cert.pem']
14
17
  end
15
18
 
16
19
  Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -2,20 +2,22 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "colibri"
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Igor Dobryn"]
9
- s.date = "2011-08-30"
9
+ s.cert_chain = ["/home/emerald/.ssh/gem-public_cert.pem"]
10
+ s.date = "2011-08-31"
10
11
  s.description = "Display a diff of two files (long strings...) as html"
11
12
  s.email = "IgorDobryn@gmail.com"
12
13
  s.extra_rdoc_files = ["README", "lib/colibri.rb", "lib/diff_helper.rb", "lib/output/simple_correction_diff.rb", "lib/output/simple_html_diff.rb", "lib/output/string_simple_correction_diff.rb", "lib/output/vc_diff.rb"]
13
- s.files = ["MIT-LICENSE", "README", "Rakefile", "init.rb", "lib/colibri.rb", "lib/diff_helper.rb", "lib/output/simple_correction_diff.rb", "lib/output/simple_html_diff.rb", "lib/output/string_simple_correction_diff.rb", "lib/output/vc_diff.rb", "sample.css", "Manifest", "colibri.gemspec"]
14
+ s.files = ["MIT-LICENSE", "Manifest", "README", "Rakefile", "init.rb", "lib/colibri.rb", "lib/diff_helper.rb", "lib/output/simple_correction_diff.rb", "lib/output/simple_html_diff.rb", "lib/output/string_simple_correction_diff.rb", "lib/output/vc_diff.rb", "sample.css", "colibri.gemspec"]
14
15
  s.homepage = "https://github.com/IgorDobryn/colibri"
15
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Colibri", "--main", "README"]
16
17
  s.require_paths = ["lib"]
17
18
  s.rubyforge_project = "colibri"
18
19
  s.rubygems_version = "1.8.10"
20
+ s.signing_key = "/home/emerald/.ssh/gem-private_key.pem"
19
21
  s.summary = "This gem provide functionality for displaying defference between two files(long strings) as html"
20
22
 
21
23
  if s.respond_to? :specification_version then
data/init.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  require 'erubis'
2
+ require 'diff/lcs'
2
3
  require 'colibri'
4
+
3
5
  config.after_initialize do
4
- # Include our helper into every view
5
- ActionView::Base.send :include, DiffHelper
6
+ ActionView::Base.send :include, ColibriHelper
6
7
  end
7
8
 
@@ -1,3 +1,8 @@
1
+ require 'output/simple_correction_diff'
2
+ require 'output/simple_html_diff'
3
+ require 'output/string_simple_correction_diff.rb'
4
+ require 'output/vc_diff'
5
+
1
6
  class Colibri
2
7
  # add html_escape to class level ;)
3
8
  extend ERB::Util
metadata CHANGED
@@ -1,19 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colibri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Igor Dobryn
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2011-08-30 00:00:00.000000000Z
11
+ cert_chain:
12
+ - ! '-----BEGIN CERTIFICATE-----
13
+
14
+ MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDApfZ29y
15
+
16
+ X29icnluMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
17
+
18
+ b20wHhcNMTEwODMxMTgzNDI4WhcNMTIwODMwMTgzNDI4WjBBMRMwEQYDVQQDDApf
19
+
20
+ Z29yX29icnluMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
21
+
22
+ FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZiKMXOcBOBTC+
23
+
24
+ BQBKmGUZlC4NdgQMNUv3wgvw0x43uYf5Io3HpzEeLty55QezhJLv3P8sH9cmWDis
25
+
26
+ T3rjiJcDSZd+Btd2lLfou4tmLT/cWqrfSfUXjGGOiJQVGm8D2qShlkwxmejz1E5A
27
+
28
+ J1ruEiUpq6fr9hT4zVIZZitLh/kfg7++AkOdgFSb+xahNzOYtc0eJYjuWnIVLSZD
29
+
30
+ R9abbAmkHLQ9X4r6VVwC4iFSQPeYynNgrhxByxoLmZacjBl685P1/HrOTdTQgYsa
31
+
32
+ +hpCEIcHB/gfxrjisLywiYxz75MIaoZUtg4zAj04EGFl7geQwuB2G3jqiDB5EK7j
33
+
34
+ 5TGIFa+PAgMBAAGjOTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFHzzlfsnX9k57Z2Q
35
+
36
+ QTmGSeSuxTJ1MAsGA1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAtWWiAAKh
37
+
38
+ Ynhf60vWS4xqf1C3/S1uE8Oa1tix0Jm9pOqlO7IqYzbb3kOXx+2KIUZu2MpzdqWa
39
+
40
+ Hy20sMGeyMRAy4UyFDFgGQ5UFZcIwAPHGwBLajT1lG1Zmlw31Ixz9Ai3/GbvJjz/
41
+
42
+ wtbg2C6eExjZgJErKzWGUWjTYla7NC/2pkaCXRIj3j9evAqb1mEkLXII3FKkSLZp
43
+
44
+ O4wQ6pU6fb14GVhJBHODOsqg/M6rrFT9eAzOvBCcJ4sp0L9zPLFyWHDrzKYGZB0h
45
+
46
+ YnndxwLoddF0a7L9ixvyzzdkNg12RZeTxGps9KgQtqFgwJzXUYxyMW+657lfqC+c
47
+
48
+ tjuNYnVM2+oSLA==
49
+
50
+ -----END CERTIFICATE-----
51
+
52
+ '
53
+ date: 2011-08-31 00:00:00.000000000Z
13
54
  dependencies:
14
55
  - !ruby/object:Gem::Dependency
15
56
  name: diff-lcs
16
- requirement: &71500150 !ruby/object:Gem::Requirement
57
+ requirement: &76912900 !ruby/object:Gem::Requirement
17
58
  none: false
18
59
  requirements:
19
60
  - - ! '>='
@@ -21,10 +62,10 @@ dependencies:
21
62
  version: '0'
22
63
  type: :development
23
64
  prerelease: false
24
- version_requirements: *71500150
65
+ version_requirements: *76912900
25
66
  - !ruby/object:Gem::Dependency
26
67
  name: erubis
27
- requirement: &71499760 !ruby/object:Gem::Requirement
68
+ requirement: &76912470 !ruby/object:Gem::Requirement
28
69
  none: false
29
70
  requirements:
30
71
  - - ! '>='
@@ -32,7 +73,7 @@ dependencies:
32
73
  version: '0'
33
74
  type: :development
34
75
  prerelease: false
35
- version_requirements: *71499760
76
+ version_requirements: *76912470
36
77
  description: Display a diff of two files (long strings...) as html
37
78
  email: IgorDobryn@gmail.com
38
79
  executables: []
@@ -47,6 +88,7 @@ extra_rdoc_files:
47
88
  - lib/output/vc_diff.rb
48
89
  files:
49
90
  - MIT-LICENSE
91
+ - Manifest
50
92
  - README
51
93
  - Rakefile
52
94
  - init.rb
@@ -57,7 +99,6 @@ files:
57
99
  - lib/output/string_simple_correction_diff.rb
58
100
  - lib/output/vc_diff.rb
59
101
  - sample.css
60
- - Manifest
61
102
  - colibri.gemspec
62
103
  homepage: https://github.com/IgorDobryn/colibri
63
104
  licenses: []
Binary file