podgraph 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/NEWS +6 -0
  2. data/Rakefile +2 -2
  3. data/TODO +1 -1
  4. data/bin/podgraph +1 -1
  5. data/lib/podgraph/posterous.rb +4 -2
  6. metadata +5 -4
data/NEWS ADDED
@@ -0,0 +1,6 @@
1
+ -*- text -*-
2
+
3
+ 0.0.2
4
+
5
+ - nailed the mail gem to explicit version 2.1.3, because the current
6
+ 2.2.0 introduced some weird bugs.
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ require 'rake/testtask'
9
9
  spec = Gem::Specification.new do |s|
10
10
  s.name = "podgraph"
11
11
  s.summary = 'Creates a MIME mail from a XHTML source and delivers it to Posterous.com.'
12
- s.version = '0.0.1'
12
+ s.version = '0.0.2'
13
13
  s.author = 'Alexander Gromnitsky'
14
14
  s.email = 'alexander.gromnitsky@gmail.com'
15
15
  s.platform = Gem::Platform::RUBY
@@ -20,7 +20,7 @@ spec = Gem::Specification.new do |s|
20
20
  s.test_files = FileList['test/ts_*.rb'].to_a
21
21
  s.rdoc_options << '-m' << 'Podgraph'
22
22
  end
23
- spec.add_dependency('mail', '>= 2.1.3')
23
+ spec.add_dependency('mail', '= 2.1.3')
24
24
 
25
25
  Rake::GemPackageTask.new(spec).define
26
26
 
data/TODO CHANGED
@@ -1,6 +1,6 @@
1
1
  -*- text -*-
2
2
 
3
- 0.0.2
3
+ 0.1.2
4
4
 
5
5
  - read input from stdin
6
6
  - CL options for email
data/bin/podgraph CHANGED
@@ -8,7 +8,7 @@
8
8
  require_relative '../lib/podgraph/posterous'
9
9
 
10
10
  $conf = {
11
- prog_ver: '0.0.1',
11
+ prog_ver: '0.0.2',
12
12
  send?: true,
13
13
  config: 'config.yaml',
14
14
  modes: %w(related mixed),
@@ -1,6 +1,8 @@
1
1
  # $Id: posterous.rb 104 2010-03-10 18:46:53Z alex $
2
2
 
3
+ gem 'mail', '= 2.1.3'
3
4
  require 'mail'
5
+
4
6
  require 'rexml/document'
5
7
  require 'yaml'
6
8
  require 'optparse'
@@ -8,6 +10,7 @@ require 'optparse'
8
10
  # :include: ../../README.rdoc
9
11
  module Podgraph
10
12
 
13
+ VERSION = '0.0.2'
11
14
  mattr_accessor :cfg
12
15
 
13
16
  self.cfg = Hash.new()
@@ -29,8 +32,7 @@ module Podgraph
29
32
  # _mode_ is 1 of 'related' or 'mixed' string.
30
33
  def initialize(filename, to, from, mode)
31
34
  @o = Hash.new()
32
- @o[:lib_ver] = '0.0.1'
33
- @o[:user_agent] = 'podgraph/' + @o[:lib_ver]
35
+ @o[:user_agent] = 'podgraph/' + VERSION
34
36
  @o[:subject] = ''
35
37
  @o[:body] = []
36
38
  @o[:attachment] = []
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alexander Gromnitsky
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-10 00:00:00 +02:00
17
+ date: 2010-04-24 00:00:00 +03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -22,7 +22,7 @@ dependencies:
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - "="
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
28
  - 2
@@ -46,6 +46,7 @@ files:
46
46
  - Rakefile
47
47
  - README.rdoc
48
48
  - TODO
49
+ - NEWS
49
50
  - test/mechanical-turk/1.html
50
51
  - test/mechanical-turk/2.html
51
52
  - test/mechanical-turk/sun.jpg