pushie 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +1 -2
- data/lib/pushie.rb +3 -5
- data/lib/pushie/railtie.rb +12 -0
- data/lib/pushie/version.rb +1 -1
- data/lib/tasks/push.rake +15 -0
- data/pushie.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d1ac6d13409cb22f838c4e7a23fad72d037a230
|
4
|
+
data.tar.gz: 12e2709d62f4bb02db60e2563122cdac7aa24487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eff39894fcd2d1f1ade2ccf0d0ac6a3242c9464ab6a86b39991e0c871cac4beb1d71a53cf6ee456e8bf386096c9f406341d110dcb7886c7f5c88bf821d1b4ff
|
7
|
+
data.tar.gz: e2b0dcc8e632d19a47bb16e9aa81f96d780c1a66ec33bdfde5b7c4c24d5d0cef83eeef70a0868d16231505d8fad1a6cbddc148323745c90d661496e04786d48c
|
data/README.md
CHANGED
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
32
|
|
33
33
|
## Contributing
|
34
34
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/samsarge/pushie. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
36
|
|
37
37
|
|
38
38
|
## License
|
data/Rakefile
CHANGED
data/lib/pushie.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
require "pushie/version"
|
2
|
-
|
3
2
|
module Pushie
|
3
|
+
# require "/lib/pushie/railtie" if defined?(Rails)
|
4
|
+
require 'pushie/railtie' if defined?(Rails)
|
4
5
|
def author
|
5
6
|
"samsarge@hotmail.co.uk"
|
6
7
|
end
|
7
|
-
end
|
8
|
-
|
9
|
-
# Other code goes here, like if you want to add code to another place
|
10
|
-
# (like if you want to add code to RSpec)
|
8
|
+
end
|
data/lib/pushie/version.rb
CHANGED
data/lib/tasks/push.rake
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
desc 'Run all the processes for pushing to production'
|
2
|
+
namespace :pushie do
|
3
|
+
|
4
|
+
task :ready do
|
5
|
+
system("bundle exec rake assets:clobber RAILS_ENV=production")
|
6
|
+
puts "\nAssets have been clobbered for production\n\n"
|
7
|
+
system("bundle exec rake assets:precompile RAILS_ENV=production")
|
8
|
+
puts "\nAssets have been preompiled for production\n\n"
|
9
|
+
end
|
10
|
+
|
11
|
+
task :push do
|
12
|
+
system("git push heroku master")
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
data/pushie.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Easily manage assets when pushing to production.}
|
13
13
|
spec.description = %q{Removes all precompiled assets with rake assets:clobber before
|
14
|
-
doing a rake assets:precompile in the production environment and then pushes the content to
|
14
|
+
doing a rake assets:precompile in the production environment and then pushes the content to Heroku, as long as you have your app configured
|
15
15
|
with Heroku.}
|
16
16
|
spec.homepage = "https://github.com/samsarge/Pushie"
|
17
17
|
spec.license = "MIT"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pushie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Sargent
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '3.0'
|
69
69
|
description: "Removes all precompiled assets with rake assets:clobber before \n doing
|
70
70
|
a rake assets:precompile in the production environment and then pushes the content
|
71
|
-
to
|
71
|
+
to Heroku, as long as you have your app configured\n with Heroku."
|
72
72
|
email:
|
73
73
|
- samsarge@hotmail.co.uk
|
74
74
|
executables: []
|
@@ -88,7 +88,9 @@ files:
|
|
88
88
|
- lib/generators/pushie/install.rb
|
89
89
|
- lib/generators/pushie/templates/test/test.txt
|
90
90
|
- lib/pushie.rb
|
91
|
+
- lib/pushie/railtie.rb
|
91
92
|
- lib/pushie/version.rb
|
93
|
+
- lib/tasks/push.rake
|
92
94
|
- pushie.gemspec
|
93
95
|
homepage: https://github.com/samsarge/Pushie
|
94
96
|
licenses:
|