shoestrap 0.3.0 → 0.3.1.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module Shoestrap
34
34
  "primary.item :#{real_table_name}, t('cms.navigation.items.#{real_table_name}'), #{plural_table_name}_path\n "
35
35
  end
36
36
  inject_into_file 'config/locales/de/views/cms/shoestrap.yml', :after => 'items:' do
37
- "#{real_table_name}:TRANSLATEME\n"
37
+ "\n #{real_table_name}:TRANSLATEME\n"
38
38
  end
39
39
  end
40
40
 
@@ -0,0 +1,41 @@
1
+ #
2
+ # Common Rake Tasks for Middleman Apps
3
+ #
4
+
5
+ require 'airbrake/tasks'
6
+
7
+ desc 'Post Deployment Task for blazing'
8
+ task :post_deploy => :environment do
9
+ puts 'Compiling Stylesheets, the old way'
10
+ puts '[ bundle exec compass compile ]'
11
+ system 'bundle exec compass compile'
12
+
13
+ #
14
+ # Run migrations
15
+ #
16
+ puts 'Running migrations if necessary'
17
+ puts '[ rake db:migrate ]'
18
+ Rake::Task["db:migrate"].invoke
19
+
20
+ #
21
+ # Trigger Unicorn reexec with 0 downtime
22
+ #
23
+ puts 'restarting unicorns'
24
+ puts "[ #{ENV['HOME']}/unicorn.sh upgrade #{APP_NAME}_#{Rails.env} ]"
25
+ system "#{ENV['HOME']}/unicorn.sh upgrade #{APP_NAME}_#{Rails.env}"
26
+
27
+ #
28
+ # Enable monit monitoring
29
+ #
30
+ puts 'enable monit'
31
+ puts "[ monit -g #{APP_NAME}_#{Rails.env} monitor ]"
32
+ system "monit -g #{APP_NAME}_#{Rails.env} monitor"
33
+
34
+ #
35
+ # Notify Airbrake of deployment
36
+ #
37
+ puts 'notifying airbrake'
38
+ puts "[ rake airbrake:deploy TO=#{Rails.env} REVISION=$(git rev-parse HEAD) ]"
39
+ system "rake airbrake:deploy TO=#{Rails.env} REVISION=$(git rev-parse HEAD)"
40
+ end
41
+
data/shoestrap.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "shoestrap"
6
- s.version = '0.3.0'
6
+ s.version = '0.3.1.pre'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Immanuel Häussermann", "Felipe Kaufmann", "Phil Schilter", "Noëlle Rosenberg"]
9
9
  s.email = "info@screenconcept.ch"
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoestrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
5
- prerelease:
4
+ version: 0.3.1.pre
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Immanuel Häussermann
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-05-01 00:00:00.000000000 Z
15
+ date: 2013-05-02 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec
@@ -109,6 +109,7 @@ files:
109
109
  - lib/shoestrap.rb
110
110
  - lib/shoestrap/app_builder.rb
111
111
  - lib/shoestrap/tasks/middleman.rb
112
+ - lib/shoestrap/tasks/radiant.rb
112
113
  - lib/shoestrap/tasks/rails.rb
113
114
  - shoestrap.gemspec
114
115
  - templates/Gemfile.erb
@@ -144,9 +145,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
145
  required_rubygems_version: !ruby/object:Gem::Requirement
145
146
  none: false
146
147
  requirements:
147
- - - ! '>='
148
+ - - ! '>'
148
149
  - !ruby/object:Gem::Version
149
- version: '0'
150
+ version: 1.3.1
150
151
  requirements: []
151
152
  rubyforge_project: shoestrap
152
153
  rubygems_version: 1.8.24