bonethug 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/config/cnf.yml +28 -2
- data/config/deploy.rb +5 -3
- data/lib/bonethug/installer.rb +3 -2
- data/lib/bonethug/utils.rb +9 -0
- data/lib/bonethug/version.rb +1 -1
- data/skel/base/README.md +5 -5
- data/skel/project_types/drupal/lib/flush_drupal_cache.php +5 -0
- data/skel/project_types/rails3/Gemfile +49 -0
- data/skel/project_types/rails3/README.md +102 -0
- data/skel/project_types/rails4/Gemfile +44 -0
- data/skel/project_types/rails4/README.md +101 -0
- data/skel/project_types/silverstripe3/composer.json +11 -18
- data/skel/project_types/silverstripe3/public/.htaccess +1 -1
- data/skel/project_types/silverstripe3/public/project/_config.php +0 -2
- data/skel/project_types/silverstripe3/public/project/code/Pages/Page.php +1 -1
- data/skel/project_types/silverstripe3/public/themes/project/css/editor.css +14 -0
- data/skel/project_types/silverstripe3/public/themes/project/css/typography.css +1 -0
- data/skel/project_types/silverstripe3/public/themes/project/scss/typography.css.scss +27 -0
- metadata +14 -6
- /data/skel/project_types/silverstripe3/public/themes/project/images/{apple-touch-icon-114x114-precomposed.png → favicons/apple-touch-icon-114x114-precomposed.png} +0 -0
- /data/skel/project_types/silverstripe3/public/themes/project/images/{apple-touch-icon-72x72-precomposed.png → favicons/apple-touch-icon-72x72-precomposed.png} +0 -0
- /data/skel/project_types/silverstripe3/public/themes/project/images/{apple-touch-icon.png → favicons/apple-touch-icon.png} +0 -0
- /data/skel/project_types/silverstripe3/public/themes/project/images/{favicon.png → favicons/favicon.png} +0 -0
data/config/cnf.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
deploy:
|
2
2
|
common:
|
3
|
-
project_type: rails3 | silverstripe3 | drupal | php | sinatra
|
3
|
+
project_type: rails3 | rails4 | silverstripe3 | drupal | php | sinatra
|
4
4
|
base_dir: /var/www
|
5
5
|
repository: git@gitlab.....
|
6
6
|
project_slug: tradespot
|
@@ -62,10 +62,30 @@ backup:
|
|
62
62
|
mail:
|
63
63
|
smtp:
|
64
64
|
development:
|
65
|
+
default_from:
|
66
|
+
name: dev
|
67
|
+
email: dev@domain.com
|
68
|
+
server: smtp.gmail.com
|
69
|
+
authenticate: true
|
70
|
+
user: username@domain.com
|
71
|
+
pass: passw0rd
|
72
|
+
secure: tls
|
73
|
+
charset_encoding: utf-8
|
74
|
+
port: 587
|
65
75
|
staging:
|
76
|
+
default_from:
|
77
|
+
name: staging
|
78
|
+
email: dev@domain.com
|
79
|
+
server: smtp.gmail.com
|
80
|
+
authenticate: true
|
81
|
+
user: username@domain.com
|
82
|
+
pass: passw0rd
|
83
|
+
secure: tls
|
84
|
+
charset_encoding: utf-8
|
85
|
+
port: 587
|
66
86
|
production:
|
67
87
|
default_from:
|
68
|
-
name:
|
88
|
+
name: production
|
69
89
|
email: dev@domain.com
|
70
90
|
server: smtp.gmail.com
|
71
91
|
authenticate: true
|
@@ -76,6 +96,12 @@ mail:
|
|
76
96
|
port: 587
|
77
97
|
apache:
|
78
98
|
development:
|
99
|
+
server_name: development.domain.local
|
100
|
+
server_aliases:
|
101
|
+
- www.development.domain.local
|
102
|
+
env_vars:
|
103
|
+
RAILS_ENV: development
|
104
|
+
APPLICATION_ENV: development
|
79
105
|
staging:
|
80
106
|
server_name: staging.domain.com
|
81
107
|
server_aliases:
|
data/config/deploy.rb
CHANGED
@@ -122,7 +122,7 @@ end
|
|
122
122
|
|
123
123
|
desc "Restores application state to the most recent backup"
|
124
124
|
task :init_db => :environment do
|
125
|
-
queue! %[cd #{deploy_to}/current && bundle exec rake db:reset RAILS_ENV="#{env}"] if deploy.get('project_type')
|
125
|
+
queue! %[cd #{deploy_to}/current && bundle exec rake db:reset RAILS_ENV="#{env}"] if deploy.get('project_type') =~ /rails[0-9]?/
|
126
126
|
end
|
127
127
|
|
128
128
|
desc "Restores application state to the most recent backup"
|
@@ -172,7 +172,7 @@ task :deploy => :environment do
|
|
172
172
|
invoke :'bundle:install'
|
173
173
|
|
174
174
|
# rails deploy tasks
|
175
|
-
if deploy.get('project_type')
|
175
|
+
if deploy.get('project_type') =~ /rails[0-9]?/
|
176
176
|
invoke :'rails:db_migrate'
|
177
177
|
invoke :'rails:assets_precompile'
|
178
178
|
end
|
@@ -240,7 +240,7 @@ task :deploy => :environment do
|
|
240
240
|
|
241
241
|
to :launch do
|
242
242
|
|
243
|
-
if
|
243
|
+
if deploy.get('project_type') =~ /rails[0-9]?/
|
244
244
|
|
245
245
|
# make sure passenger runs the app as apache
|
246
246
|
queue! %[cd #{deploy_to}/current/config && chown -R www-data:www-data environment.rb]
|
@@ -290,7 +290,9 @@ task :deploy => :environment do
|
|
290
290
|
queue! %[/etc/init.d/apache2 reload]
|
291
291
|
invoke :'whenever:update'
|
292
292
|
|
293
|
+
# run chache flushes / manifest rebuilds
|
293
294
|
queue! %[export APPLICATION_ENV=#{env} && php #{deploy_to}/current/public/framework/cli-script.php dev/build] if ['silverstripe','silverstripe3'].include? deploy.get('project_type')
|
295
|
+
queue! %[cd #{deploy_to}/current/lib && php flush_drupal_cache.php] if ['drupal','drupal6','drupal7','drupal8'].include? deploy.get('project_type')
|
294
296
|
|
295
297
|
end
|
296
298
|
end
|
data/lib/bonethug/installer.rb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
# - Check that excluded paths is working in manifest
|
5
5
|
# - bonethug init seems doesn't seem to update gemfile if there is one
|
6
6
|
# - Gemfile, .gitignore, composer.json need to be no go zones
|
7
|
+
# - for rails it should copy the gem file call bundle install, do a cleanup then call bundle exec rails new application_name
|
7
8
|
# ----------------
|
8
9
|
|
9
10
|
require 'rubygems'
|
@@ -55,8 +56,8 @@ module Bonethug
|
|
55
56
|
|
56
57
|
# build the file set
|
57
58
|
puts 'Building ' + type + ' skeleton...'
|
59
|
+
FileUtils.cp_r @@skel_dir + '/base/.', tmp_dir
|
58
60
|
FileUtils.cp_r @@skel_dir + '/project_types/' + type + '/.', tmp_dir
|
59
|
-
FileUtils.cp_r @@skel_dir + '/base/.', tmp_dir
|
60
61
|
|
61
62
|
# build the manifest
|
62
63
|
puts 'Creating manifest...'
|
@@ -265,7 +266,7 @@ module Bonethug
|
|
265
266
|
end
|
266
267
|
|
267
268
|
# run bundler
|
268
|
-
exec 'bundle install --path vendor
|
269
|
+
exec 'bundle install --path vendor' + (mode == :update ? ' && bundle update bonethug' : '')
|
269
270
|
|
270
271
|
# self
|
271
272
|
|
data/lib/bonethug/utils.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
1
3
|
module Bonethug
|
2
4
|
|
3
5
|
#arguments can be for example db:migrate
|
@@ -12,4 +14,11 @@ module Bonethug
|
|
12
14
|
puts $?
|
13
15
|
end
|
14
16
|
|
17
|
+
def self.setup_gitpull(target = '.')
|
18
|
+
|
19
|
+
path = File.expand_path target
|
20
|
+
`chown www-data #{path}`
|
21
|
+
|
22
|
+
end
|
23
|
+
|
15
24
|
end
|
data/lib/bonethug/version.rb
CHANGED
data/skel/base/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
Bonethug
|
2
|
-
|
1
|
+
Bonethug Project Skeleton
|
2
|
+
=========================
|
3
3
|
|
4
4
|
|
5
5
|
|
@@ -25,7 +25,7 @@ Overview
|
|
25
25
|
|
26
26
|
- Cron handled wtih whenever. [https://github.com/javan/whenever]
|
27
27
|
|
28
|
-
- Backups handled with astrails-safe. see https://github.com/astrails/safe
|
28
|
+
- Backups handled with astrails-safe. [see https://github.com/astrails/safe]
|
29
29
|
|
30
30
|
- Ruby dependency management handled with bundler. see
|
31
31
|
|
@@ -92,13 +92,13 @@ This only works on \*nix based OSes
|
|
92
92
|
|
93
93
|
1. Setup the project
|
94
94
|
|
95
|
-
`
|
95
|
+
`bundle exec bonethug setup {staging|production}`
|
96
96
|
|
97
97
|
|
98
98
|
|
99
99
|
1. Deploy the project
|
100
100
|
|
101
|
-
`
|
101
|
+
`bundle exec bonethug deploy {staging|production}`
|
102
102
|
|
103
103
|
|
104
104
|
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'rbconfig'
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem 'mina', github: 'nadarei/mina'
|
6
|
+
gem 'astrails-safe', github: 'astrails/safe'
|
7
|
+
gem 'whenever', github: 'javan/whenever'
|
8
|
+
gem 'bonethug'
|
9
|
+
|
10
|
+
gem 'rails', '3.2.13'
|
11
|
+
|
12
|
+
# Gems used only for assets and not required
|
13
|
+
# in production environments by default.
|
14
|
+
group :assets do
|
15
|
+
gem 'sass-rails'
|
16
|
+
gem 'compass-rails'
|
17
|
+
gem 'coffee-rails'
|
18
|
+
gem 'uglifier'
|
19
|
+
gem "therubyracer", :require => 'v8', :platforms => :ruby
|
20
|
+
end
|
21
|
+
|
22
|
+
# Gems used only for development / not needed on production / staging
|
23
|
+
group :development do
|
24
|
+
gem 'sextant'
|
25
|
+
gem "mina", github: "nadarei/mina"
|
26
|
+
end
|
27
|
+
|
28
|
+
gem 'jquery-rails'
|
29
|
+
gem 'jquery-ui-rails'
|
30
|
+
gem 'bootstrap-sass'
|
31
|
+
gem 'modernizr-rails'
|
32
|
+
gem 'slim-rails'
|
33
|
+
gem 'simple_form'
|
34
|
+
|
35
|
+
# validation
|
36
|
+
gem 'obscenity'
|
37
|
+
gem 'validate_as_email'
|
38
|
+
gem 'honeypot-captcha'
|
39
|
+
|
40
|
+
# mysql
|
41
|
+
if RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
|
42
|
+
gem 'mysql2', '0.3.11'
|
43
|
+
else
|
44
|
+
gem 'mysql2'
|
45
|
+
end
|
46
|
+
|
47
|
+
# To use ActiveModel has_secure_password
|
48
|
+
gem 'bcrypt-ruby'
|
49
|
+
gem 'cancan'
|
@@ -0,0 +1,102 @@
|
|
1
|
+
Bonethug Project Skeleton
|
2
|
+
=========================
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
Requirements
|
7
|
+
------------
|
8
|
+
|
9
|
+
- Ruby 1.9.3 +
|
10
|
+
|
11
|
+
- PHP 5.3 +
|
12
|
+
|
13
|
+
- Linux / OSX
|
14
|
+
|
15
|
+
- Apache
|
16
|
+
|
17
|
+
- MySQL 5.5 +
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Overview
|
22
|
+
--------
|
23
|
+
|
24
|
+
- Deployment, cron and backups handled with bonethug. see [https://github.com/azt3k/bonethug]
|
25
|
+
|
26
|
+
- Ruby dependency management handled with bundler.
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
Set Up
|
31
|
+
------
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
### Pre-requisites
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
1. If you are windows you'll need some better unix command support this helps:
|
40
|
+
http://www.robvanderwoude.com/unixports.php
|
41
|
+
|
42
|
+
2. Firstly you need an MAMP / LAMP / WAMP etc stack, ruby 1.9.3 and curl for
|
43
|
+
composer, if you're on windows there's an installer for composer
|
44
|
+
|
45
|
+
3. You need to have bundler and composer installed
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
**bundler**
|
50
|
+
|
51
|
+
`gem install bundler`
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
### Development - Setup
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
1. clone the repo
|
60
|
+
|
61
|
+
2. run:
|
62
|
+
|
63
|
+
`bundle install –path vendor –binstubs`
|
64
|
+
|
65
|
+
2. create the db for the development environment
|
66
|
+
|
67
|
+
4. configure config/database.yml
|
68
|
+
|
69
|
+
3. run:
|
70
|
+
|
71
|
+
`bundle exec rake db:migrate`
|
72
|
+
|
73
|
+
`bundle exec rake db:seed`
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
### Development -
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
### Deployment
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
This only works on \*nix based OSes
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
1. Setup the project
|
91
|
+
|
92
|
+
`bundle exec bonethug setup {staging|production}`
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
1. Deploy the project
|
97
|
+
|
98
|
+
`bundle exec bonethug deploy {staging|production}`
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'rbconfig'
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem 'mina', github: 'nadarei/mina'
|
6
|
+
gem 'astrails-safe', github: 'astrails/safe'
|
7
|
+
gem 'whenever', github: 'javan/whenever'
|
8
|
+
gem 'bonethug'
|
9
|
+
|
10
|
+
gem 'rails', '>= 4'
|
11
|
+
|
12
|
+
# Gems used only for assets and not required
|
13
|
+
# in production environments by default.
|
14
|
+
group :assets do
|
15
|
+
gem 'sass-rails'
|
16
|
+
gem 'compass-rails'
|
17
|
+
gem 'coffee-rails'
|
18
|
+
gem 'uglifier'
|
19
|
+
gem "therubyracer", :require => 'v8', :platforms => :ruby
|
20
|
+
end
|
21
|
+
|
22
|
+
# Gems used only for development / not needed on production / staging
|
23
|
+
group :development do
|
24
|
+
gem 'sextant'
|
25
|
+
gem "mina", github: "nadarei/mina"
|
26
|
+
end
|
27
|
+
|
28
|
+
gem 'jquery-rails'
|
29
|
+
gem 'jquery-ui-rails'
|
30
|
+
gem 'bootstrap-sass'
|
31
|
+
gem 'modernizr-rails'
|
32
|
+
gem 'slim-rails'
|
33
|
+
gem 'simple_form'
|
34
|
+
|
35
|
+
# mysql
|
36
|
+
if RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
|
37
|
+
gem 'mysql2', '0.3.11'
|
38
|
+
else
|
39
|
+
gem 'mysql2'
|
40
|
+
end
|
41
|
+
|
42
|
+
# To use ActiveModel has_secure_password
|
43
|
+
gem 'bcrypt-ruby'
|
44
|
+
gem 'cancan'
|
@@ -0,0 +1,101 @@
|
|
1
|
+
Bonethug Project Skeleton
|
2
|
+
=========================
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
Requirements
|
7
|
+
------------
|
8
|
+
|
9
|
+
- Ruby 1.9.3 +
|
10
|
+
|
11
|
+
- PHP 5.3 +
|
12
|
+
|
13
|
+
- Linux / OSX
|
14
|
+
|
15
|
+
- Apache
|
16
|
+
|
17
|
+
- MySQL 5.5 +
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Overview
|
22
|
+
--------
|
23
|
+
|
24
|
+
- Deployment, cron and backups handled with bonethug. see [https://github.com/azt3k/bonethug]
|
25
|
+
|
26
|
+
- Ruby dependency management handled with bundler.
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
Set Up
|
31
|
+
------
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
### Pre-requisites
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
1. If you are windows you'll need some better unix command support this helps:
|
40
|
+
http://www.robvanderwoude.com/unixports.php
|
41
|
+
|
42
|
+
2. Firstly you need an MAMP / LAMP / WAMP etc stack, ruby 1.9.3 and curl for
|
43
|
+
composer, if you're on windows there's an installer for composer
|
44
|
+
|
45
|
+
3. You need to have bundler and composer installed
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
**bundler**
|
50
|
+
|
51
|
+
`gem install bundler`
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
### Development - Setup
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
1. clone the repo
|
60
|
+
|
61
|
+
2. run:
|
62
|
+
|
63
|
+
`bundle install –path vendor –binstubs`
|
64
|
+
|
65
|
+
2. create the db for the development environment
|
66
|
+
|
67
|
+
4. configure config/database.yml
|
68
|
+
|
69
|
+
3. run:
|
70
|
+
|
71
|
+
`bundle exec rake db:migrate`
|
72
|
+
`bundle exec rake db:seed`
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
### Development -
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
### Deployment
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
This only works on \*nix based OSes
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
1. Setup the project
|
90
|
+
|
91
|
+
`bundle exec bonethug setup {staging|production}`
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
1. Deploy the project
|
96
|
+
|
97
|
+
`bundle exec bonethug deploy {staging|production}`
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
@@ -1,31 +1,24 @@
|
|
1
1
|
{
|
2
|
-
"name" : "
|
2
|
+
"name" : "bonethug/ss3-skel",
|
3
3
|
"require" : {
|
4
|
-
"symfony/yaml"
|
5
|
-
"silverstripe/framework"
|
6
|
-
"silverstripe/cms"
|
7
|
-
"silverstripe
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"silverstripe
|
11
|
-
"azt3k/abc-silverstripe" : "dev-master"
|
4
|
+
"symfony/yaml" : "2.3.*@dev",
|
5
|
+
"silverstripe/framework" : "3.1.*@dev",
|
6
|
+
"silverstripe/cms" : "3.1.*@dev",
|
7
|
+
"silverstripe/html5" : "dev-master",
|
8
|
+
"phpmailer/phpmailer" : "dev-master",
|
9
|
+
"azt3k/abc-silverstripe" : "dev-master",
|
10
|
+
"azt3k/abc-silverstripe-mailer" : "dev-master"
|
12
11
|
},
|
13
12
|
"extra": {
|
14
13
|
"installer-paths": {
|
15
14
|
"public/vendor/{$name}": [
|
16
15
|
],
|
17
|
-
"public/themes/{$name}": [
|
18
|
-
"silverstripe-themes/simple"
|
19
|
-
],
|
20
|
-
"public": [
|
21
|
-
"silverstripe/installer"
|
22
|
-
],
|
23
16
|
"public/{$name}": [
|
24
17
|
"silverstripe/framework",
|
25
|
-
"silverstripe/cms",
|
26
|
-
"silverstripe/bootstrap-forms",
|
18
|
+
"silverstripe/cms",
|
27
19
|
"silverstripe/html5",
|
28
|
-
"azt3k/abc-silverstripe"
|
20
|
+
"azt3k/abc-silverstripe",
|
21
|
+
"azt3k/abc-silverstripe-mailer"
|
29
22
|
]
|
30
23
|
}
|
31
24
|
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This support file is used to style the WYSIWYG editor in the CMS
|
3
|
+
*/
|
4
|
+
|
5
|
+
@import "typography.css";
|
6
|
+
|
7
|
+
body.mceContentBody {
|
8
|
+
min-height: 200px;
|
9
|
+
font-size: 62.5%;
|
10
|
+
}
|
11
|
+
body.mceContentBody a.broken {
|
12
|
+
background-color: #FF7B71;
|
13
|
+
border: 1px red solid;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.typography .left{text-align:left}.typography .center{text-align:center}.typography .right{text-align:right}.typography img.right,.typography div.right{float:right}.typography img.left,.typography div.right{float:left}.typography .caption{display:block;font-size:0.75em;text-align:left}.typography div.captionImage,.typography .side-image-right{float:right;margin:0 0 1em 1em}.typography div.captionImage img,.typography .side-image-right img{border:5px solid #E8E7DE;-webkit-box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2);box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2)}.typography .side-image-left{float:left;margin:0 1em 1em 0}.typography .side-image-left img{border:5px solid #E8E7DE;-webkit-box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2);box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2)}.typography img.side-image-right,.typography img.side-image-left{border:5px solid #E8E7DE;-webkit-box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2);box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2)}.typography figure{display:inline-block;vertical-align:baseline;zoom:1;*display:inline;*vertical-align:auto;margin:0 0 1em 1em}.typography figure div{position:relative;max-width:100%;float:left;margin:0 0 0.5em 0}.typography figure div img{float:left;min-width:100%}.typography figure div::before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;-webkit-box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2);box-shadow:inset 1px 2px 2px rgba(0,0,0,0.2);border:5px solid #e8e7de}.typography figure div.side-image{float:right;margin:0 0 1em 1em}.typography figure figcaption{display:block;font-size:0.75em;text-align:left}.typography p.MsoNormal,.typography p.MsoBodyText{margin:0}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.typography {
|
2
|
+
|
3
|
+
// default editor styles
|
4
|
+
|
5
|
+
.left {
|
6
|
+
text-align:left;
|
7
|
+
}
|
8
|
+
.center {
|
9
|
+
text-align:center;
|
10
|
+
}
|
11
|
+
.right {
|
12
|
+
text-align:right;
|
13
|
+
}
|
14
|
+
img.right,
|
15
|
+
div.right {
|
16
|
+
float:right;
|
17
|
+
}
|
18
|
+
img.left,
|
19
|
+
div.right {
|
20
|
+
float:left;
|
21
|
+
}
|
22
|
+
|
23
|
+
p.MsoNormal,
|
24
|
+
p.MsoBodyText {
|
25
|
+
margin: 0;
|
26
|
+
}
|
27
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bonethug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.25
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -309,12 +309,17 @@ files:
|
|
309
309
|
- skel/base/public/robots.txt
|
310
310
|
- skel/project_types/drupal/.gitignore
|
311
311
|
- skel/project_types/drupal/composer.json
|
312
|
+
- skel/project_types/drupal/lib/flush_drupal_cache.php
|
312
313
|
- skel/project_types/drupal/public/sites/default/development.settings.php
|
313
314
|
- skel/project_types/drupal/public/sites/default/production.settings.php
|
314
315
|
- skel/project_types/drupal/public/sites/default/settings.php
|
315
316
|
- skel/project_types/drupal/public/sites/default/staging.settings.php
|
316
317
|
- skel/project_types/php/.gitignore
|
317
318
|
- skel/project_types/php/composer.json
|
319
|
+
- skel/project_types/rails3/Gemfile
|
320
|
+
- skel/project_types/rails3/README.md
|
321
|
+
- skel/project_types/rails4/Gemfile
|
322
|
+
- skel/project_types/rails4/README.md
|
318
323
|
- skel/project_types/silverstripe3/.gitignore
|
319
324
|
- skel/project_types/silverstripe3/composer.json
|
320
325
|
- skel/project_types/silverstripe3/lib/ss_loadconf.php
|
@@ -336,11 +341,14 @@ files:
|
|
336
341
|
- skel/project_types/silverstripe3/public/project/javascript/.gitkeep
|
337
342
|
- skel/project_types/silverstripe3/public/silverstripe-cache/.gitkeep
|
338
343
|
- skel/project_types/silverstripe3/public/themes/project/css/.gitkeep
|
339
|
-
- skel/project_types/silverstripe3/public/themes/project/
|
340
|
-
- skel/project_types/silverstripe3/public/themes/project/
|
341
|
-
- skel/project_types/silverstripe3/public/themes/project/images/apple-touch-icon.png
|
342
|
-
- skel/project_types/silverstripe3/public/themes/project/images/
|
344
|
+
- skel/project_types/silverstripe3/public/themes/project/css/editor.css
|
345
|
+
- skel/project_types/silverstripe3/public/themes/project/css/typography.css
|
346
|
+
- skel/project_types/silverstripe3/public/themes/project/images/favicons/apple-touch-icon-114x114-precomposed.png
|
347
|
+
- skel/project_types/silverstripe3/public/themes/project/images/favicons/apple-touch-icon-72x72-precomposed.png
|
348
|
+
- skel/project_types/silverstripe3/public/themes/project/images/favicons/apple-touch-icon.png
|
349
|
+
- skel/project_types/silverstripe3/public/themes/project/images/favicons/favicon.png
|
343
350
|
- skel/project_types/silverstripe3/public/themes/project/scss/application.css.scss
|
351
|
+
- skel/project_types/silverstripe3/public/themes/project/scss/typography.css.scss
|
344
352
|
- skel/project_types/silverstripe3/public/themes/project/templates/Includes/.gitkeep
|
345
353
|
- skel/project_types/silverstripe3/public/themes/project/templates/Layout/Page.ss
|
346
354
|
- skel/project_types/silverstripe3/public/themes/project/templates/Layout/Security.ss
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|