renote_dac 0.0.164 → 0.0.165

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5e78da78d1a1b13f5dded041aab6b790020a96c16a58f69ac866b8388d303b8
4
- data.tar.gz: 5825d6d3321e6c3f88fa4ddb381013b971a5191040df0d14c54441101d7b3ee2
3
+ metadata.gz: d5cf26dadc12ce5ca524e0c4f1ea574a0114ff8c39ac9f9caf7a49848d8a2079
4
+ data.tar.gz: 0b0245188f857133b1e01ade25e931bef94578bf52cc6b24d0dd784e2d6de779
5
5
  SHA512:
6
- metadata.gz: 60ff2381d56723274f78885b82a6ed286304abb9694dccc5ac25597222985708b7b8acf470cff5f3d4d1c5f8294e317c473be296aa96f54eab0505e6d3ff482b
7
- data.tar.gz: 24caa6dd84f7c843008e2cad73a2a93e8bf9eea128bd9800fb83fa1480abbe502efe4993ef3b01d08d427505c72efe15b586d92b62f8bd5c2e768a26316ef3fb
6
+ metadata.gz: 906d031abf414b3f756de428b50b1ad9b21f3b70eb8ca87bb7e13202e801481543bf823c40ebe0ebb554ebecd429a1c0a807b974311eaf02c5acfeaaf9a3839e
7
+ data.tar.gz: dd8aab7cda9b37f4d856522b3159855b44f9e289b5379c19db91abe0badde3b63da614161fef0c7dcaf6bf17134d6b38b34433fdcd2dc0a5fcab19d4b2da1bee
data/README.md CHANGED
@@ -75,7 +75,7 @@ run the following rake task to
75
75
  add the 'config' gem to your application. Add the following line to your gemfile
76
76
 
77
77
  ```bash
78
- gme 'config'
78
+ gem 'config'
79
79
  ```
80
80
 
81
81
  run `rails g config:install` to generate the proper file structure in ./config folder to hold your application settings.
@@ -87,6 +87,7 @@ development.yml
87
87
  ```
88
88
  postmark:
89
89
  api_token: 'dev-api-key-here'
90
+ from_address: 'Your App Name <app@name.com>'
90
91
  ```
91
92
 
92
93
  production.yml
@@ -94,6 +95,7 @@ production.yml
94
95
  ```
95
96
  postmark:
96
97
  api_token: ENV['POSTMARK_API_TOKEN']
98
+ from_address: 'Your App Name <app@name.com>'
97
99
  ```
98
100
 
99
101
  Add your api token to your renote_dac initializer.
@@ -124,13 +126,19 @@ heroku config:get RABBITMQ_BIGWIG_TX_URL
124
126
  $=> amqp://user:pass@instance.ip/resourceid2
125
127
  ```
126
128
 
127
- also add file 'Procfile' to app root
129
+ also add file 'Procfile' to app root and make sure you have the worker enabled in Heroku dashboard
128
130
 
129
131
  ```
130
132
  web: bundle exec puma -C config/puma.rb
131
133
  clock: bundle exec clockwork config/clock.rb
132
134
  worker: bundle exec que ./config/environment.rb
135
+ sneakers: WORKERS='RenoteDac::ServiceQueueWorker' bundle exec rake sneakers:run
133
136
  ```
137
+
138
+ set postmark's `api_token` env variable on heroku settings tab
139
+
140
+ `POSTMARK_API_TOKEN`
141
+
134
142
  ## Contributing
135
143
  Contribution directions go here.
136
144
 
@@ -1,14 +1,13 @@
1
1
  source 'https://rubygems.org'
2
2
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
- ruby '2.5.0'
5
-
6
4
  gem 'rails', '~> 5.2.0'
7
- gem 'renote_dac', git: 'git@github.com:leather-s/renote_dac.git'
5
+ gem 'renote_dac'
8
6
 
9
7
  gem 'pg', '>= 1.0.0', '< 2.0'
10
8
 
11
9
  gem 'bootsnap', '>= 1.1.0', require: false
10
+ gem 'config'
12
11
 
13
12
  group :development do
14
13
  gem 'annotate'
@@ -17,4 +16,6 @@ group :development do
17
16
  gem 'annotate'
18
17
  gem 'pragmater', require: false
19
18
  gem 'rails-erd', require: false
20
- end
19
+ end
20
+
21
+ ruby '2.5.0'
@@ -6,8 +6,8 @@ RenoteDac.configure do |c|
6
6
  c.rabbitmq_queue = 'consumer_renote_dac.email'
7
7
  c.prod_base_url = 'http://localhost:3000'
8
8
  c.dev_base_url = 'http://localhost:3000'
9
- c.postmark_api_key = 'place key here'
10
- c.from_address = 'Your App Name <app@name.com>'
9
+ c.postmark_api_key = Settings.postmark.api_token
10
+ c.from_address = Settings.postmark.from_address
11
11
 
12
12
  # sets RenoteDac to inherit directly from parent app ApplicationController. use '::' to get to the root controller
13
13
  # defaults to '::ApplicationController'
@@ -1,3 +1,3 @@
1
1
  module RenoteDac
2
- VERSION = '0.0.164'
2
+ VERSION = '0.0.165'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renote_dac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.164
4
+ version: 0.0.165
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidney Leatherwood