bonethug 0.0.63 → 0.0.66

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.
Files changed (39) hide show
  1. data/Gemfile +4 -1
  2. data/README.md +171 -12
  3. data/TODO.txt +2 -1
  4. data/bonethug.gemspec +3 -0
  5. data/config/deploy.rb +31 -0
  6. data/lib/bonethug/cli.rb +60 -11
  7. data/lib/bonethug/installer.rb +40 -0
  8. data/lib/bonethug/version.rb +2 -2
  9. data/lib/bonethug/watcher.rb +31 -3
  10. data/scripts/ubuntu_setup.sh +1 -1
  11. data/skel/project_types/drupal6/.gitignore +39 -0
  12. data/skel/project_types/drupal6/composer.json +21 -0
  13. data/skel/project_types/drupal6/lib/flush_drupal_cache.php +7 -0
  14. data/skel/project_types/drupal6/public/sites/all/themes/project/.keep +0 -0
  15. data/skel/project_types/drupal7/.gitignore +39 -0
  16. data/skel/project_types/drupal7/composer.json +21 -0
  17. data/skel/project_types/drupal7/lib/flush_drupal_cache.php +7 -0
  18. data/skel/project_types/drupal7/public/sites/all/themes/project/.keep +0 -0
  19. data/skel/project_types/drupal7/public/sites/default/development.settings.php +564 -0
  20. data/skel/project_types/drupal7/public/sites/default/production.settings.php +564 -0
  21. data/skel/project_types/drupal7/public/sites/default/settings.php +18 -0
  22. data/skel/project_types/drupal7/public/sites/default/staging.settings.php +564 -0
  23. data/skel/project_types/drupal8/.gitignore +39 -0
  24. data/skel/project_types/drupal8/composer.json +21 -0
  25. data/skel/project_types/drupal8/public/sites/all/themes/project/.keep +0 -0
  26. data/skel/project_types/drupal8/public/sites/default/development.settings.php +259 -0
  27. data/skel/project_types/drupal8/public/sites/default/production.settings.php +259 -0
  28. data/skel/project_types/drupal8/public/sites/default/settings.php +17 -0
  29. data/skel/project_types/drupal8/public/sites/default/staging.settings.php +260 -0
  30. data/skel/project_types/silverstripe3/README.md +1 -1
  31. data/skel/project_types/silverstripe3/public/project/_config.php +1 -1
  32. metadata +74 -9
  33. data/skel/project_types/drupal/.gitignore +0 -11
  34. data/skel/project_types/drupal/composer.json +0 -6
  35. /data/skel/project_types/{drupal → drupal6}/public/sites/default/development.settings.php +0 -0
  36. /data/skel/project_types/{drupal → drupal6}/public/sites/default/production.settings.php +0 -0
  37. /data/skel/project_types/{drupal → drupal6}/public/sites/default/settings.php +0 -0
  38. /data/skel/project_types/{drupal → drupal6}/public/sites/default/staging.settings.php +0 -0
  39. /data/skel/project_types/{drupal → drupal8}/lib/flush_drupal_cache.php +0 -0
@@ -0,0 +1,260 @@
1
+ <?php
2
+ // $Id: default.settings.php,v 1.8.2.5 2010/12/15 13:21:14 goba Exp $
3
+
4
+ /**
5
+ * @file
6
+ * Drupal site-specific configuration file.
7
+ *
8
+ * IMPORTANT NOTE:
9
+ * This file may have been set to read-only by the Drupal installation
10
+ * program. If you make changes to this file, be sure to protect it again
11
+ * after making your modifications. Failure to remove write permissions
12
+ * to this file is a security risk.
13
+ *
14
+ * The configuration file to be loaded is based upon the rules below.
15
+ *
16
+ * The configuration directory will be discovered by stripping the
17
+ * website's hostname from left to right and pathname from right to
18
+ * left. The first configuration file found will be used and any
19
+ * others will be ignored. If no other configuration file is found
20
+ * then the default configuration file at 'sites/default' will be used.
21
+ *
22
+ * For example, for a fictitious site installed at
23
+ * http://www.drupal.org/mysite/test/, the 'settings.php'
24
+ * is searched in the following directories:
25
+ *
26
+ * 1. sites/www.drupal.org.mysite.test
27
+ * 2. sites/drupal.org.mysite.test
28
+ * 3. sites/org.mysite.test
29
+ *
30
+ * 4. sites/www.drupal.org.mysite
31
+ * 5. sites/drupal.org.mysite
32
+ * 6. sites/org.mysite
33
+ *
34
+ * 7. sites/www.drupal.org
35
+ * 8. sites/drupal.org
36
+ * 9. sites/org
37
+ *
38
+ * 10. sites/default
39
+ *
40
+ * If you are installing on a non-standard port number, prefix the
41
+ * hostname with that number. For example,
42
+ * http://www.drupal.org:8080/mysite/test/ could be loaded from
43
+ * sites/8080.www.drupal.org.mysite.test/.
44
+ */
45
+
46
+ /**
47
+ * Database settings:
48
+ *
49
+ * Note that the $db_url variable gets parsed using PHP's built-in
50
+ * URL parser (i.e. using the "parse_url()" function) so make sure
51
+ * not to confuse the parser. If your username, password
52
+ * or database name contain characters used to delineate
53
+ * $db_url parts, you can escape them via URI hex encodings:
54
+ *
55
+ * : = %3a / = %2f @ = %40
56
+ * + = %2b ( = %28 ) = %29
57
+ * ? = %3f = = %3d & = %26
58
+ *
59
+ * To specify multiple connections to be used in your site (i.e. for
60
+ * complex custom modules) you can also specify an associative array
61
+ * of $db_url variables with the 'default' element used until otherwise
62
+ * requested.
63
+ *
64
+ * You can optionally set prefixes for some or all database table names
65
+ * by using the $db_prefix setting. If a prefix is specified, the table
66
+ * name will be prepended with its value. Be sure to use valid database
67
+ * characters only, usually alphanumeric and underscore. If no prefixes
68
+ * are desired, leave it as an empty string ''.
69
+ *
70
+ * To have all database names prefixed, set $db_prefix as a string:
71
+ *
72
+ * $db_prefix = 'main_';
73
+ *
74
+ * To provide prefixes for specific tables, set $db_prefix as an array.
75
+ * The array's keys are the table names and the values are the prefixes.
76
+ * The 'default' element holds the prefix for any tables not specified
77
+ * elsewhere in the array. Example:
78
+ *
79
+ * $db_prefix = array(
80
+ * 'default' => 'main_',
81
+ * 'users' => 'shared_',
82
+ * 'sessions' => 'shared_',
83
+ * 'role' => 'shared_',
84
+ * 'authmap' => 'shared_',
85
+ * );
86
+ *
87
+ * Database URL format:
88
+ * $db_url = 'mysql://username:password@localhost/databasename';
89
+ * $db_url = 'mysqli://username:password@localhost/databasename';
90
+ * $db_url = 'pgsql://username:password@localhost/databasename';
91
+ */
92
+ // load db settings
93
+ $db_url = 'mysqli://'.$db->user.':'.$db->pass.'@'.$db->host.'/'.$db->name;
94
+ $db_prefix = '';
95
+
96
+ /**
97
+ * Database default collation.
98
+ *
99
+ * All data stored in Drupal is in UTF-8. Certain databases, such as MySQL,
100
+ * support different algorithms for comparing, indexing, and sorting characters;
101
+ * a so called "collation". The default collation of a database normally works
102
+ * for many use-cases, but depending on the language(s) of the stored data, it
103
+ * may be necessary to use a different collation.
104
+ * Important:
105
+ * - Only set or change this value BEFORE installing Drupal, unless you know
106
+ * what you are doing.
107
+ * - All database tables and columns should be in the same collation. Otherwise,
108
+ * string comparisons performed for table JOINs will be significantly slower.
109
+ * - Especially when storing data in German or Russian on MySQL 5.1+, you want
110
+ * to use the 'utf8_unicode_ci' collation instead.
111
+ *
112
+ * @see http://drupal.org/node/772678
113
+ */
114
+ # $db_collation = 'utf8_general_ci';
115
+
116
+ /**
117
+ * Access control for update.php script
118
+ *
119
+ * If you are updating your Drupal installation using the update.php script
120
+ * being not logged in as administrator, you will need to modify the access
121
+ * check statement below. Change the FALSE to a TRUE to disable the access
122
+ * check. After finishing the upgrade, be sure to open this file again
123
+ * and change the TRUE back to a FALSE!
124
+ */
125
+ $update_free_access = FALSE;
126
+
127
+ /**
128
+ * Base URL (optional).
129
+ *
130
+ * If you are experiencing issues with different site domains,
131
+ * uncomment the Base URL statement below (remove the leading hash sign)
132
+ * and fill in the absolute URL to your Drupal installation.
133
+ *
134
+ * You might also want to force users to use a given domain.
135
+ * See the .htaccess file for more information.
136
+ *
137
+ * Examples:
138
+ * $base_url = 'http://www.example.com';
139
+ * $base_url = 'http://www.example.com:8888';
140
+ * $base_url = 'http://www.example.com/drupal';
141
+ * $base_url = 'https://www.example.com:8888/drupal';
142
+ *
143
+ * It is not allowed to have a trailing slash; Drupal will add it
144
+ * for you.
145
+ */
146
+ # $base_url = 'http://www.example.com'; // NO trailing slash!
147
+
148
+ /**
149
+ * PHP settings:
150
+ *
151
+ * To see what PHP settings are possible, including whether they can
152
+ * be set at runtime (ie., when ini_set() occurs), read the PHP
153
+ * documentation at http://www.php.net/manual/en/ini.php#ini.list
154
+ * and take a look at the .htaccess file to see which non-runtime
155
+ * settings are used there. Settings defined here should not be
156
+ * duplicated there so as to avoid conflict issues.
157
+ */
158
+ ini_set('arg_separator.output', '&amp;');
159
+ ini_set('magic_quotes_runtime', 0);
160
+ ini_set('magic_quotes_sybase', 0);
161
+ ini_set('session.cache_expire', 200000);
162
+ ini_set('session.cache_limiter', 'none');
163
+ ini_set('session.cookie_lifetime', 2000000);
164
+ ini_set('session.gc_maxlifetime', 200000);
165
+ ini_set('session.save_handler', 'user');
166
+ ini_set('session.use_cookies', 1);
167
+ ini_set('session.use_only_cookies', 1);
168
+ ini_set('session.use_trans_sid', 0);
169
+ ini_set('url_rewriter.tags', '');
170
+
171
+ /**
172
+ * If you encounter a situation where users post a large amount of text, and
173
+ * the result is stripped out upon viewing but can still be edited, Drupal's
174
+ * output filter may not have sufficient memory to process it. If you
175
+ * experience this issue, you may wish to uncomment the following two lines
176
+ * and increase the limits of these variables. For more information, see
177
+ * http://php.net/manual/en/pcre.configuration.php.
178
+ */
179
+ # ini_set('pcre.backtrack_limit', 200000);
180
+ # ini_set('pcre.recursion_limit', 200000);
181
+
182
+ /**
183
+ * Drupal automatically generates a unique session cookie name for each site
184
+ * based on on its full domain name. If you have multiple domains pointing at
185
+ * the same Drupal site, you can either redirect them all to a single domain
186
+ * (see comment in .htaccess), or uncomment the line below and specify their
187
+ * shared base domain. Doing so assures that users remain logged in as they
188
+ * cross between your various domains.
189
+ */
190
+ # $cookie_domain = 'example.com';
191
+
192
+ /**
193
+ * Variable overrides:
194
+ *
195
+ * To override specific entries in the 'variable' table for this site,
196
+ * set them here. You usually don't need to use this feature. This is
197
+ * useful in a configuration file for a vhost or directory, rather than
198
+ * the default settings.php. Any configuration setting from the 'variable'
199
+ * table can be given a new value. Note that any values you provide in
200
+ * these variable overrides will not be modifiable from the Drupal
201
+ * administration interface.
202
+ *
203
+ * Remove the leading hash signs to enable.
204
+ */
205
+ # $conf = array(
206
+ # 'site_name' => 'My Drupal site',
207
+ # 'theme_default' => 'minnelli',
208
+ # 'anonymous' => 'Visitor',
209
+ /**
210
+ * A custom theme can be set for the off-line page. This applies when the site
211
+ * is explicitly set to off-line mode through the administration page or when
212
+ * the database is inactive due to an error. It can be set through the
213
+ * 'maintenance_theme' key. The template file should also be copied into the
214
+ * theme. It is located inside 'modules/system/maintenance-page.tpl.php'.
215
+ * Note: This setting does not apply to installation and update pages.
216
+ */
217
+ # 'maintenance_theme' => 'minnelli',
218
+ /**
219
+ * reverse_proxy accepts a boolean value.
220
+ *
221
+ * Enable this setting to determine the correct IP address of the remote
222
+ * client by examining information stored in the X-Forwarded-For headers.
223
+ * X-Forwarded-For headers are a standard mechanism for identifying client
224
+ * systems connecting through a reverse proxy server, such as Squid or
225
+ * Pound. Reverse proxy servers are often used to enhance the performance
226
+ * of heavily visited sites and may also provide other site caching,
227
+ * security or encryption benefits. If this Drupal installation operates
228
+ * behind a reverse proxy, this setting should be enabled so that correct
229
+ * IP address information is captured in Drupal's session management,
230
+ * logging, statistics and access management systems; if you are unsure
231
+ * about this setting, do not have a reverse proxy, or Drupal operates in
232
+ * a shared hosting environment, this setting should be set to disabled.
233
+ */
234
+ # 'reverse_proxy' => TRUE,
235
+ /**
236
+ * reverse_proxy accepts an array of IP addresses.
237
+ *
238
+ * Each element of this array is the IP address of any of your reverse
239
+ * proxies. Filling this array Drupal will trust the information stored
240
+ * in the X-Forwarded-For headers only if Remote IP address is one of
241
+ * these, that is the request reaches the web server from one of your
242
+ * reverse proxies. Otherwise, the client could directly connect to
243
+ * your web server spoofing the X-Forwarded-For headers.
244
+ */
245
+ # 'reverse_proxy_addresses' => array('a.b.c.d', ...),
246
+ # );
247
+
248
+ /**
249
+ * String overrides:
250
+ *
251
+ * To override specific strings on your site with or without enabling locale
252
+ * module, add an entry to this list. This functionality allows you to change
253
+ * a small number of your site's default English language interface strings.
254
+ *
255
+ * Remove the leading hash signs to enable.
256
+ */
257
+ # $conf['locale_custom_strings_en'] = array(
258
+ # 'forum' => 'Discussion board',
259
+ # '@count min' => '@count minutes',
260
+ # );
@@ -35,7 +35,7 @@ Overview
35
35
 
36
36
  - Backups handled with astrails-safe. see [https://github.com/astrails/safe]
37
37
 
38
- - Ruby dependency management handled with bundler. see
38
+ - Ruby dependency management handled with bundler. see [http://bundler.io]
39
39
 
40
40
  - Built on the Silverstripe framework, CMS and Installer - 3.1.x dev branch.
41
41
 
@@ -152,7 +152,7 @@ Requirements::process_combined_files(); // forces ss to generate the file regard
152
152
  // ---
153
153
 
154
154
  $cssRequirements = array(
155
- 'themes/project/css/styles.css',
155
+ 'themes/project/css/main.css',
156
156
  'themes/project/css/typography.css'
157
157
  );
158
158
  Requirements::combine_files('application.css', $cssRequirements);
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.63
4
+ version: 0.0.66
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-10-17 00:00:00.000000000 Z
12
+ date: 2013-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -225,6 +225,54 @@ dependencies:
225
225
  - - ! '>='
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
+ - !ruby/object:Gem::Dependency
229
+ name: guard-erb
230
+ requirement: !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ! '>='
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :runtime
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ none: false
240
+ requirements:
241
+ - - ! '>='
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ - !ruby/object:Gem::Dependency
245
+ name: guard-slim
246
+ requirement: !ruby/object:Gem::Requirement
247
+ none: false
248
+ requirements:
249
+ - - ! '>='
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ type: :runtime
253
+ prerelease: false
254
+ version_requirements: !ruby/object:Gem::Requirement
255
+ none: false
256
+ requirements:
257
+ - - ! '>='
258
+ - !ruby/object:Gem::Version
259
+ version: '0'
260
+ - !ruby/object:Gem::Dependency
261
+ name: guard-livereload
262
+ requirement: !ruby/object:Gem::Requirement
263
+ none: false
264
+ requirements:
265
+ - - ! '>='
266
+ - !ruby/object:Gem::Version
267
+ version: '0'
268
+ type: :runtime
269
+ prerelease: false
270
+ version_requirements: !ruby/object:Gem::Requirement
271
+ none: false
272
+ requirements:
273
+ - - ! '>='
274
+ - !ruby/object:Gem::Version
275
+ version: '0'
228
276
  - !ruby/object:Gem::Dependency
229
277
  name: guard-sprockets
230
278
  requirement: !ruby/object:Gem::Requirement
@@ -346,13 +394,30 @@ files:
346
394
  - skel/base/log/.gitkeep
347
395
  - skel/base/public/favicon.ico
348
396
  - skel/base/public/robots.txt
349
- - skel/project_types/drupal/.gitignore
350
- - skel/project_types/drupal/composer.json
351
- - skel/project_types/drupal/lib/flush_drupal_cache.php
352
- - skel/project_types/drupal/public/sites/default/development.settings.php
353
- - skel/project_types/drupal/public/sites/default/production.settings.php
354
- - skel/project_types/drupal/public/sites/default/settings.php
355
- - skel/project_types/drupal/public/sites/default/staging.settings.php
397
+ - skel/project_types/drupal6/.gitignore
398
+ - skel/project_types/drupal6/composer.json
399
+ - skel/project_types/drupal6/lib/flush_drupal_cache.php
400
+ - skel/project_types/drupal6/public/sites/all/themes/project/.keep
401
+ - skel/project_types/drupal6/public/sites/default/development.settings.php
402
+ - skel/project_types/drupal6/public/sites/default/production.settings.php
403
+ - skel/project_types/drupal6/public/sites/default/settings.php
404
+ - skel/project_types/drupal6/public/sites/default/staging.settings.php
405
+ - skel/project_types/drupal7/.gitignore
406
+ - skel/project_types/drupal7/composer.json
407
+ - skel/project_types/drupal7/lib/flush_drupal_cache.php
408
+ - skel/project_types/drupal7/public/sites/all/themes/project/.keep
409
+ - skel/project_types/drupal7/public/sites/default/development.settings.php
410
+ - skel/project_types/drupal7/public/sites/default/production.settings.php
411
+ - skel/project_types/drupal7/public/sites/default/settings.php
412
+ - skel/project_types/drupal7/public/sites/default/staging.settings.php
413
+ - skel/project_types/drupal8/.gitignore
414
+ - skel/project_types/drupal8/composer.json
415
+ - skel/project_types/drupal8/lib/flush_drupal_cache.php
416
+ - skel/project_types/drupal8/public/sites/all/themes/project/.keep
417
+ - skel/project_types/drupal8/public/sites/default/development.settings.php
418
+ - skel/project_types/drupal8/public/sites/default/production.settings.php
419
+ - skel/project_types/drupal8/public/sites/default/settings.php
420
+ - skel/project_types/drupal8/public/sites/default/staging.settings.php
356
421
  - skel/project_types/php/.gitignore
357
422
  - skel/project_types/php/composer.json
358
423
  - skel/project_types/rails3/Gemfile
@@ -1,11 +0,0 @@
1
- /.bundle
2
- /vendor
3
- /bin
4
- /logs/*
5
- /backups/*
6
- /db_dumps
7
-
8
- # project ignores - might need review
9
- /public/sites/*/files
10
- /public/sites/*/private
11
- /public/sites/all/modules/filemanager/files
@@ -1,6 +0,0 @@
1
- {
2
- "require": {
3
- "symfony/yaml" : "2.3.*@dev",
4
- "drush/drush" : "dev-master"
5
- }
6
- }