post_pusher 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: ab7826c0117965f5dcc7227dee0cb9ce28c658d3
4
- data.tar.gz: c8c732f07cfd4f4a780a4bc235ae669e647b0aac
3
+ metadata.gz: df9a61539414ca97da13ba3bbe82d38ba2ccac32
4
+ data.tar.gz: 956903555ce512833360af042208167d986bfc73
5
5
  SHA512:
6
- metadata.gz: 16040dcfbb6e034126c2829ebe694bef31ad5ba511400508892beeb05babc0d96416fb2b049ddda37c84a6e6e975c5d32ea64024caa110123bf87df5a975248e
7
- data.tar.gz: 7b224d13fb05419433da875a532b9881220549dd0939330c56d8c5851f68be2238796bb30b79487e090d4f574343f35cd66aeac322c68931c33084734856e703
6
+ metadata.gz: 07d484ccdd12faeafadcc02e5b11a8e001ac73b8f1857c79868c85eb80b3c0dbf711b23fbf000d74bb6ceeec4d5608ef1c09d168de2a4b24b352d6ffa89783a5
7
+ data.tar.gz: d464d5d4faa369c1e84f829107810777643f45e59e690a1d085be4061c9cd8d285dc83dfdcfee2a1f2a5c8cd572b6a10551de76826ae645f90d5269cadcf465e
data/README.md CHANGED
@@ -19,7 +19,7 @@ $ bundle
19
19
  Or install it yourself with:
20
20
 
21
21
  ```
22
- gem install post_pusher
22
+ $ gem install post_pusher
23
23
  ```
24
24
 
25
25
 
@@ -28,20 +28,22 @@ gem install post_pusher
28
28
  No way buddy; getting your post push task ready for a release using PostPusher is super easy.
29
29
 
30
30
  Steps:
31
- -rails g post_push_task task_name
32
- -add your code into the new task
33
- -commit
31
+
32
+ - `rails g post_push_task task_name`
33
+ - add your code into the new task
34
+ - commit
34
35
 
35
36
  Running the tasks:
36
- -bin/post_push work
37
37
 
38
- ## How do I add this to my rails app?
38
+ - `bin/post_push work`
39
+
40
+ ## How do I add this to my Rails app?
39
41
 
40
- -Add PostPusher to your gemfile
41
- -bundle
42
- -Run migrations (creates records table)
43
- -bundle binstub post_pusher (this enables you to be able to run bin/post_push by putting the post_push file in your bin directory)
44
- -Commit your changes
42
+ - Add PostPusher to your gemfile
43
+ - `bundle`
44
+ - Run migrations (creates records table)
45
+ - `bundle binstub post_pusher` (this enables you to be able to run `bin/post_push` by putting the post_push file in your bin directory)
46
+ - Commit your changes
45
47
 
46
48
  ## Running Tests
47
49
 
@@ -4,7 +4,7 @@ class PostPushTaskGenerator < Rails::Generators::Base
4
4
  desc "Create a post push task"
5
5
  argument :task_name, type: :string
6
6
  def create_post_push_task
7
- template "post_push_task.rake.erb", "lib/tasks/post_push/#{timestamp}_#{task_name}.rake"
7
+ template "post_push_task.rake.erb", "lib/tasks/post_push/#{timestamp}_#{task_name.underscore}.rake"
8
8
  end
9
9
 
10
10
  private
@@ -1,4 +1,4 @@
1
1
  module PostPusher
2
- VERSION = "1.0.0".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: post_pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PatientsLikeMe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-23 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -181,44 +181,44 @@ signing_key:
181
181
  specification_version: 4
182
182
  summary: A tool to run a set of tasks after deploys
183
183
  test_files:
184
- - test/rake_task_runner_test.rb
185
- - test/test_helper.rb
186
- - test/dummy/README.rdoc
187
- - test/dummy/app/assets/stylesheets/application.css
188
- - test/dummy/app/assets/javascripts/application.js
189
184
  - test/dummy/app/controllers/application_controller.rb
190
- - test/dummy/app/helpers/application_helper.rb
191
185
  - test/dummy/app/views/layouts/application.html.erb
192
- - test/dummy/config.ru
193
- - test/dummy/lib/tasks/dummy_tasks.rake
194
- - test/dummy/db/schema.rb
195
- - test/dummy/db/migrate/20151229195418_create_soft_deletables.rb
196
- - test/dummy/db/migrate/20150618161222_create_user.rb
186
+ - test/dummy/app/assets/javascripts/application.js
187
+ - test/dummy/app/assets/stylesheets/application.css
188
+ - test/dummy/app/helpers/application_helper.rb
197
189
  - test/dummy/bin/rake
198
190
  - test/dummy/bin/setup
199
- - test/dummy/bin/rails
200
191
  - test/dummy/bin/bundle
201
- - test/dummy/config/environment.rb
202
- - test/dummy/config/initializers/inflections.rb
203
- - test/dummy/config/initializers/session_store.rb
204
- - test/dummy/config/initializers/cookies_serializer.rb
205
- - test/dummy/config/initializers/assets.rb
206
- - test/dummy/config/initializers/backtrace_silencers.rb
207
- - test/dummy/config/initializers/wrap_parameters.rb
208
- - test/dummy/config/initializers/mime_types.rb
209
- - test/dummy/config/initializers/filter_parameter_logging.rb
192
+ - test/dummy/bin/rails
193
+ - test/dummy/config/secrets.yml
194
+ - test/dummy/config/routes.rb
210
195
  - test/dummy/config/locales/en.yml
211
- - test/dummy/config/application.rb
212
196
  - test/dummy/config/environments/production.rb
213
197
  - test/dummy/config/environments/development.rb
214
198
  - test/dummy/config/environments/test.rb
199
+ - test/dummy/config/environment.rb
200
+ - test/dummy/config/application.rb
215
201
  - test/dummy/config/database.yml
216
202
  - test/dummy/config/boot.rb
217
- - test/dummy/config/secrets.yml
218
- - test/dummy/config/routes.rb
203
+ - test/dummy/config/initializers/backtrace_silencers.rb
204
+ - test/dummy/config/initializers/mime_types.rb
205
+ - test/dummy/config/initializers/filter_parameter_logging.rb
206
+ - test/dummy/config/initializers/session_store.rb
207
+ - test/dummy/config/initializers/wrap_parameters.rb
208
+ - test/dummy/config/initializers/assets.rb
209
+ - test/dummy/config/initializers/cookies_serializer.rb
210
+ - test/dummy/config/initializers/inflections.rb
211
+ - test/dummy/config.ru
219
212
  - test/dummy/Rakefile
220
- - test/dummy/public/404.html
221
- - test/dummy/public/500.html
222
213
  - test/dummy/public/favicon.ico
223
214
  - test/dummy/public/422.html
215
+ - test/dummy/public/500.html
216
+ - test/dummy/public/404.html
217
+ - test/dummy/lib/tasks/dummy_tasks.rake
218
+ - test/dummy/db/schema.rb
219
+ - test/dummy/db/migrate/20151229195418_create_soft_deletables.rb
220
+ - test/dummy/db/migrate/20150618161222_create_user.rb
221
+ - test/dummy/README.rdoc
222
+ - test/test_helper.rb
224
223
  - test/post_push_exe_test.rb
224
+ - test/rake_task_runner_test.rb