murlsh 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -49,8 +49,11 @@ mkdir murlsh_deploy <or any other name>
49
49
  cd murlsh_deploy
50
50
  murlsh .
51
51
  git init
52
- bundle install
53
52
  heroku create <choose a name>
53
+
54
+ rake app:gemfile
55
+ bundle install
56
+
54
57
  rake heroku:config
55
58
  heroku info
56
59
  rake config[root_url,<your app's Heroku url>]
@@ -58,10 +61,13 @@ rake config[s3_bucket,<your S3 bucket name>]
58
61
  rake config[s3_id,<your S3 id>]
59
62
  rake config[s3_secret,<your S3 secret>]
60
63
  change anything else you want in config.yaml
64
+
61
65
  rake user:add
66
+
62
67
  git add .
63
68
  git commit
64
69
  git push heroku master
70
+
65
71
  heroku rake db:migrate
66
72
  </code>
67
73
  </pre>
data/Rakefile CHANGED
@@ -372,6 +372,23 @@ task :config, :key, :value do |t, args|
372
372
  end
373
373
  end
374
374
 
375
+ namespace :app do
376
+
377
+ desc 'Generate a bundler Gemfile for a murlsh instance.'
378
+ task :gemfile do
379
+ open('Gemfile', 'w') do |f|
380
+ f.write <<EOS
381
+ # generated by 'rake app:gemfile'
382
+
383
+ source :rubygems
384
+
385
+ gem 'murlsh', '= #{Murlsh::VERSION}'
386
+ EOS
387
+ end
388
+ end
389
+
390
+ end
391
+
375
392
  namespace :heroku do
376
393
 
377
394
  desc 'Set config options for deployment on Heroku.'
@@ -21,13 +21,8 @@ module Murlsh
21
21
  db/
22
22
  plugins/
23
23
  public/
24
- Gemfile.app
25
24
  }.map { |x| File.join(MurlshRoot, x) }, dest_dir, :verbose => true)
26
25
 
27
- File.rename(
28
- File.join(dest_dir, 'Gemfile.app'),
29
- File.join(dest_dir, 'Gemfile'))
30
-
31
26
  FileUtils.mkdir_p(File.join(dest_dir, 'tmp'), :verbose => true)
32
27
  end
33
28
 
@@ -1,3 +1,3 @@
1
1
  module Murlsh
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: murlsh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 6
9
- - 0
10
- version: 1.6.0
9
+ - 1
10
+ version: 1.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthew M. Boedicker
@@ -382,7 +382,6 @@ files:
382
382
  - .htaccess
383
383
  - COPYING
384
384
  - Gemfile
385
- - Gemfile.app
386
385
  - README.textile
387
386
  - Rakefile
388
387
  - bin/murlsh
data/Gemfile.app DELETED
@@ -1,8 +0,0 @@
1
- # This Gemfile is for 'instances' of murlsh. It is not the Gemfile for the
2
- # gem, but for installations of murlsh created with the 'murlsh' command.
3
-
4
- require 'murlsh/version'
5
-
6
- source :rubygems
7
-
8
- gem 'murlsh', "= #{Murlsh::VERSION}"