rssendy 0.1.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: 52603befc01bbf23eb601acca00df56fedea0c22
4
+ data.tar.gz: 9cec5aef5133042e83ed91e1ec85267b2bd6a4cf
5
+ SHA512:
6
+ metadata.gz: b19456cc07b88566b237b558c03d673b9b6bd8a24c006d5eeea5f5a2cb4326e9579e1f2a57d5c78df1a9191154278e0afdcd3460456cc534842eebe91633ac07
7
+ data.tar.gz: 404acc03610ef9ec3110e03f1e2d24629fb8d7ee4a8858048df249db2143842cf1dd2fcff72db7d1418b3f360a191ea8bea41613928ea4d28dedd894d585b5d3
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rssendy.gemspec
4
+ gemspec
5
+
6
+ gem 'cindy', git: 'https://github.com/jonuts/cindy'
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 jonah honeyman
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # Rssendy
2
+
3
+ Hook into an RSS feed and import the results into your [sendy](http://sendy.co) installation.
4
+
5
+ ## Installation
6
+
7
+ `rssendy` can be used either as a command line application or a library in your application.
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'rssendy'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install rssendy
22
+
23
+ ## Usage
24
+
25
+ Either define a configuration file for your feed or use the CLI options. The options are as follows:
26
+
27
+ | Option | Description | Required? |
28
+ | ------ | ----------- | --------- |
29
+ | config | Path to YAML config file | *no* |
30
+ | api_key | Sendy API key | *yes* |
31
+ | url | URL of sendy app | *yes* |
32
+ | content | Nokogiri parser for RSS items. This will be `eval`'d in the context of your parsed feed | *yes* |
33
+ | path | Path to your feeds template file | *yes* |
34
+ | from-name | The name in the 'From' field | *yes* |
35
+ | from-email | The address in the 'From' field | *yes* |
36
+ | reply-to | The address in the 'Reply-To' field | *yes* |
37
+ | subject | The email 'Subject' field | *yes* |
38
+ | plain-text | The plain text version of your email | *no* |
39
+ | list-ids | Comma separated list of sendy list ids | *no* |
40
+ | brand-id | Sendy Brand ID | *no* |
41
+ | send-campaign | Send the email or not (sendy default is 0) | *no* |
42
+
43
+
44
+ When using a YAML config file replace `-` (dash) with `_` (underscore). Options listed in the config file may be overridden by the command line options.
45
+
46
+ ## Contributing
47
+
48
+ 1. Fork it ( https://github.com/[my-github-username]/rssendy/fork )
49
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
50
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
51
+ 4. Push to the branch (`git push origin my-new-feature`)
52
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/bin/rssendy ADDED
@@ -0,0 +1,47 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require './lib/rssendy'
4
+ require 'slop'
5
+ require 'yaml'
6
+
7
+ opts = Slop.parse help: true do
8
+ on 'C', 'config=', 'Path to RSSendy YAML config file'
9
+ on 'k', 'key=', 'Sendy API Key'
10
+ on 'u', 'url=', 'URL of sendy app'
11
+ on 'c', 'content=', 'Nokogiri parser for RSS items'
12
+ on 'p', 'path=', 'Path to template file'
13
+ on 'N', 'from-name=', 'Email "from" field'
14
+ on 'E', 'from-email=', 'Email "email" field'
15
+ on 'R', 'reply-to=', 'Email "reply-to" field'
16
+ on 'S', 'subject=', 'Email "subject" field'
17
+ on 'T', 'plain-text=', 'Email plain text version'
18
+ on 'I', 'list-ids=', 'Sendy list ids (comma separated) to send to'
19
+ on 'B', 'brand-id=', 'Sendy Brand ID'
20
+ on 's', 'send-campaign=', 'Send campaign or not (default false)'
21
+ on 'version', 'print the version' do
22
+ puts RSSendy::VERSION
23
+ exit
24
+ end
25
+ end
26
+
27
+ if opts[:config]
28
+ config = YAML::load(File.read(opts[:config]))
29
+ else
30
+ config = {}
31
+ end
32
+
33
+ %i(
34
+ url path from-name from-email reply-to
35
+ subject plain-text list-ids brand-id send-campaign
36
+ ).each do |opt|
37
+ config[opt.to_s.split("-").join("_")] = opts[opt] if opts[opt]
38
+ end
39
+
40
+ config[:api_key] ||= opts[:key]
41
+
42
+ feed = RSSendy::Feed.new(config)
43
+
44
+ abort "Feed invalid. Missing fields: #{feed.missing_keys.inspect}" unless feed.valid?
45
+
46
+ feed.pull!
47
+ feed.post
@@ -0,0 +1,3 @@
1
+ module RSSendy
2
+ VERSION = "0.1.0"
3
+ end
data/lib/rssendy.rb ADDED
@@ -0,0 +1,98 @@
1
+ require 'bundler/setup'
2
+ require "rssendy/version"
3
+ require "nokogiri"
4
+ require "open-uri"
5
+ require "cindy"
6
+ require "erb"
7
+
8
+ module RSSendy
9
+ class Feed
10
+ PROPERTIES = %i{
11
+ api_key url template host from_name from_email reply_to
12
+ subject plain_text html_text list_ids brand_id send_campaign
13
+ }
14
+ REQUIREMENTS = %i(api_key content url template host from_name from_email reply_to subject)
15
+
16
+ InvalidFeedError = Class.new(RuntimeError)
17
+
18
+ class <<self
19
+ PROPERTIES.each do |property|
20
+ class_eval <<-ENDEVAL
21
+ def #{property}(val=nil)
22
+ return @__#{property}__ unless val
23
+ @__#{property}__ = val
24
+ end
25
+ ENDEVAL
26
+ end
27
+
28
+ def content(cont=nil)
29
+ return @__cont_blk__ unless cont
30
+ @__cont_blk__ = ->(doc) {doc.instance_eval(cont.sub(/^doc\./, ''))}
31
+ end
32
+ end
33
+
34
+ def initialize(opts={})
35
+ PROPERTIES.each do |property|
36
+ send("#{property}=", opts[property] || self.class.send(property))
37
+ end
38
+ @content = opts.fetch(:content, self.class.content)
39
+ end
40
+
41
+ attr_accessor(*PROPERTIES)
42
+ attr_reader :response, :doc, :items, :html_template
43
+
44
+ def content
45
+ return @content if Proc === @content || @content.nil?
46
+ _cont = @content.dup
47
+ @content = ->(doc) { doc.instance_eval(_cont.sub(/^doc\./, '')) }
48
+ end
49
+
50
+ def pull!
51
+ raise InvalidFeedError, "Feed invalid. Missing keys: #{missing_keys.inspect}" unless valid?
52
+
53
+ @response = open(url).read
54
+ @doc = Nokogiri(@response)
55
+ @items = content[@doc]
56
+ end
57
+
58
+ def build_template
59
+ raise InvalidFeedError, "No template set" unless template
60
+
61
+ tmpl = ERB.new(File.read(template))
62
+ @html_template = tmpl.result(binding)
63
+ end
64
+
65
+ def post
66
+ raise InvalidFeedError, "Feed invalid. Missing keys: #{missing_keys.inspect}" unless valid?
67
+
68
+ sendy = ::Cindy.new host, api_key
69
+ sendy.create_campaign(build_opts)
70
+ end
71
+
72
+ def valid?
73
+ REQUIREMENTS.all? {|prop| send(prop)}
74
+ end
75
+
76
+ def missing_keys
77
+ REQUIREMENTS.reject {|prop| send(prop)}
78
+ end
79
+
80
+ private
81
+
82
+ def build_opts
83
+ {
84
+ from_name: from_name,
85
+ from_email: from_email,
86
+ reply_to: reply_to,
87
+ subject: subject,
88
+ html_text: build_template
89
+ }.tap {|opts|
90
+ %i(plain_text list_ids brand_id send_campaign).each do |property|
91
+ val = send(property)
92
+ opts[property] = val if val
93
+ end
94
+ }
95
+ end
96
+ end
97
+ end
98
+
data/rssendy.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rssendy/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rssendy"
8
+ spec.version = RSSendy::VERSION
9
+ spec.authors = ["jonah honeyman"]
10
+ spec.email = ["jonah@honeyman.org"]
11
+ spec.summary = %q{Publish an RSS feed to sendy}
12
+ spec.description = %q{Download an RSS feed and push an email template into your hosted sendy app}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "nokogiri", "~> 1.6"
22
+ spec.add_dependency "slop", "~> 3.6"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.6"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.2"
27
+ spec.add_development_dependency "pry", "~> 0.10"
28
+ end
@@ -0,0 +1,159 @@
1
+ require "spec_helper"
2
+
3
+ RSpec.describe RSSendy::Feed do
4
+ subject do
5
+ Class.new(RSSendy::Feed) do
6
+ api_key "hellothar"
7
+ url "http://hello.com"
8
+ content %Q[doc.xpath('//content:encoded').map(&:text).map(&:strip)]
9
+ template File.expand_path("../tmpl.html.erb", __FILE__)
10
+ host "http://mysendyapp.com/sendy"
11
+ from_name "root"
12
+ from_email "root@mysendyapp"
13
+ reply_to from_email
14
+ subject "latest news"
15
+ end
16
+ end
17
+
18
+ let :rss do
19
+ <<-RSS
20
+ <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
21
+ <channel>
22
+ <item>
23
+ <content:encoded>
24
+ <![CDATA[
25
+ <tr><td>hello</td></tr>
26
+ ]]>
27
+ </content:encoded>
28
+ </item>
29
+ </channel>
30
+ </rss>
31
+ RSS
32
+ end
33
+
34
+ let(:doc) { Nokogiri(rss) }
35
+
36
+ let(:content) { "<tr><td>hello</td></tr>"}
37
+
38
+ let(:invalid_err) { RSSendy::Feed::InvalidFeedError}
39
+
40
+ it "exposes :api_key" do
41
+ expect(subject.api_key).to eql('hellothar')
42
+ end
43
+
44
+ it "exposes :api_key to instances" do
45
+ expect(subject.new.api_key).to eql('hellothar')
46
+ end
47
+
48
+ it "exposes :url" do
49
+ expect(subject.url).to eql('http://hello.com')
50
+ end
51
+
52
+ it "exposes :url to instances" do
53
+ expect(subject.new.url).to eql('http://hello.com')
54
+ end
55
+
56
+ it "exposes :content" do
57
+ expect(subject.content[doc]).to eql([content])
58
+ end
59
+
60
+ it "exposes :content to instances" do
61
+ expect(subject.new.content[doc]).to eql([content])
62
+ end
63
+
64
+ it "exposes :template" do
65
+ expect(subject.template).to eql(File.expand_path('../tmpl.html.erb', __FILE__))
66
+ end
67
+
68
+ it "exposes :template to instances" do
69
+ expect(subject.new.template).to eql(File.expand_path('../tmpl.html.erb', __FILE__))
70
+ end
71
+
72
+ describe 'instance' do
73
+ let(:feed) { subject.new }
74
+
75
+ describe '#build_template' do
76
+ context "when valid" do
77
+ before do
78
+ allow(feed).to receive(:items).and_return(['hello thar'])
79
+ feed.build_template
80
+ end
81
+
82
+ it 'builds :html_template' do
83
+ expect(feed.html_template).to match(%r{<table>((.|\n)*)hello thar((.|\n)*)</table>})
84
+ end
85
+ end
86
+
87
+ context "when invalid" do
88
+ before do
89
+ feed.template = nil
90
+ end
91
+
92
+ it "throws an error" do
93
+ expect { feed.build_template }.to raise_error(invalid_err)
94
+ end
95
+ end
96
+ end
97
+
98
+ describe '#pull!' do
99
+ context "when valid" do
100
+ before do
101
+ allow(feed).to receive_message_chain(:open, :read).and_return(rss)
102
+ feed.pull!
103
+ end
104
+
105
+ it "sets :response" do
106
+ expect(feed.response).to eql(rss)
107
+ end
108
+
109
+ it "sets :doc" do
110
+ expect(feed.doc.to_html).to eql(doc.to_html)
111
+ end
112
+
113
+ it "sets :items" do
114
+ expect(feed.items).to eql([content])
115
+ end
116
+ end
117
+
118
+ context "when invalid" do
119
+ before { feed.url = nil }
120
+
121
+ it "throws an error" do
122
+ expect { feed.pull! }.to raise_error(invalid_err)
123
+ end
124
+ end
125
+ end
126
+
127
+ describe "#post" do
128
+ context "when valid"
129
+
130
+ context "when invalid" do
131
+ before { feed.host = nil }
132
+
133
+ it "throws an error" do
134
+ expect { feed.post }.to raise_error(invalid_err)
135
+ end
136
+ end
137
+ end
138
+ end
139
+
140
+ context 'validity' do
141
+ let(:opts) {Hash[reqs.map {|r| [r, "foo-#{r}"]}]}
142
+ subject { RSSendy::Feed.new(opts)}
143
+
144
+ context 'valid feed' do
145
+ let(:reqs) { RSSendy::Feed::REQUIREMENTS }
146
+ it { is_expected.to be_valid }
147
+ end
148
+
149
+ context 'invalid feed' do
150
+ RSSendy::Feed::REQUIREMENTS.each do |req|
151
+ describe "missing #{req}" do
152
+ let(:reqs) { RSSendy::Feed::REQUIREMENTS.reject {|r| r == req}}
153
+ it { is_expected.to_not be_valid}
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
159
+
@@ -0,0 +1,93 @@
1
+ require "rssendy"
2
+
3
+ # This file was generated by the `rspec --init` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # The `.rspec` file also contains a few flags that are not defaults but that
18
+ # users commonly want.
19
+ #
20
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
21
+ RSpec.configure do |config|
22
+ # rspec-expectations config goes here. You can use an alternate
23
+ # assertion/expectation library such as wrong or the stdlib/minitest
24
+ # assertions if you prefer.
25
+ config.expect_with :rspec do |expectations|
26
+ # This option will default to `true` in RSpec 4. It makes the `description`
27
+ # and `failure_message` of custom matchers include text for helper methods
28
+ # defined using `chain`, e.g.:
29
+ # be_bigger_than(2).and_smaller_than(4).description
30
+ # # => "be bigger than 2 and smaller than 4"
31
+ # ...rather than:
32
+ # # => "be bigger than 2"
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ # rspec-mocks config goes here. You can use an alternate test double
37
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
38
+ config.mock_with :rspec do |mocks|
39
+ # Prevents you from mocking or stubbing a method that does not exist on
40
+ # a real object. This is generally recommended, and will default to
41
+ # `true` in RSpec 4.
42
+ mocks.verify_partial_doubles = true
43
+ end
44
+
45
+ # The settings below are suggested to provide a good initial experience
46
+ # with RSpec, but feel free to customize to your heart's content.
47
+ =begin
48
+ # These two settings work together to allow you to limit a spec run
49
+ # to individual examples or groups you care about by tagging them with
50
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
51
+ # get run.
52
+ config.filter_run :focus
53
+ config.run_all_when_everything_filtered = true
54
+
55
+ # Limits the available syntax to the non-monkey patched syntax that is
56
+ # recommended. For more details, see:
57
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
58
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
59
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
60
+ config.disable_monkey_patching!
61
+
62
+ # This setting enables warnings. It's recommended, but in some cases may
63
+ # be too noisy due to issues in dependencies.
64
+ config.warnings = true
65
+
66
+ # Many RSpec users commonly either run the entire suite or an individual
67
+ # file, and it's useful to allow more verbose output when running an
68
+ # individual spec file.
69
+ if config.files_to_run.one?
70
+ # Use the documentation formatter for detailed output,
71
+ # unless a formatter has already been configured
72
+ # (e.g. via a command-line flag).
73
+ config.default_formatter = 'doc'
74
+ end
75
+
76
+ # Print the 10 slowest examples and example groups at the
77
+ # end of the spec run, to help surface which specs are running
78
+ # particularly slow.
79
+ config.profile_examples = 10
80
+
81
+ # Run specs in random order to surface order dependencies. If you find an
82
+ # order dependency and want to debug it, you can fix the order by providing
83
+ # the seed, which is printed after each run.
84
+ # --seed 1234
85
+ config.order = :random
86
+
87
+ # Seed global randomization in this process using the `--seed` CLI option.
88
+ # Setting this allows you to use `--seed` to deterministically reproduce
89
+ # test failures related to randomization by passing the same `--seed` value
90
+ # as the one that triggered the failure.
91
+ Kernel.srand config.seed
92
+ =end
93
+ end
@@ -0,0 +1,5 @@
1
+ <table>
2
+ <% items.each do |item| %>
3
+ <%= item %>
4
+ <% end %>
5
+ </table>
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rssendy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - jonah honeyman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: slop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.2'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.10'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.10'
97
+ description: Download an RSS feed and push an email template into your hosted sendy
98
+ app
99
+ email:
100
+ - jonah@honeyman.org
101
+ executables:
102
+ - rssendy
103
+ extensions: []
104
+ extra_rdoc_files: []
105
+ files:
106
+ - ".gitignore"
107
+ - ".rspec"
108
+ - Gemfile
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - bin/rssendy
113
+ - lib/rssendy.rb
114
+ - lib/rssendy/version.rb
115
+ - rssendy.gemspec
116
+ - spec/rssendy_spec.rb
117
+ - spec/spec_helper.rb
118
+ - spec/tmpl.html.erb
119
+ homepage: ''
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options: []
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ requirements: []
138
+ rubyforge_project:
139
+ rubygems_version: 2.2.2
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: Publish an RSS feed to sendy
143
+ test_files:
144
+ - spec/rssendy_spec.rb
145
+ - spec/spec_helper.rb
146
+ - spec/tmpl.html.erb