bonethug 0.0.73 → 0.0.75

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/README.md +18 -63
  2. data/TODO.txt +3 -2
  3. data/config/deploy.rb +31 -30
  4. data/lib/bonethug/cli.rb +64 -17
  5. data/lib/bonethug/installer.rb +3 -3
  6. data/lib/bonethug/syncer.rb +113 -0
  7. data/lib/bonethug/utils.rb +23 -23
  8. data/lib/bonethug/version.rb +2 -2
  9. data/lib/bonethug.rb +1 -0
  10. data/skel/project_types/drupal/composer.json +359 -20
  11. data/skel/project_types/drupal/drupal-console +3 -0
  12. data/skel/project_types/drupal/lib/boris.php +7 -0
  13. data/skel/project_types/drupal/lib/drupal_bootstrap.php +13 -0
  14. data/skel/project_types/drupal/lib/drupal_flush_cache.php +5 -0
  15. data/skel/project_types/drupal6/composer.json +359 -20
  16. data/skel/project_types/drupal6/drupal-console +3 -0
  17. data/skel/project_types/drupal6/lib/boris.php +7 -0
  18. data/skel/project_types/drupal6/lib/drupal_bootstrap.php +13 -0
  19. data/skel/project_types/drupal6/lib/drupal_flush_cache.php +5 -0
  20. data/skel/project_types/drupal7/composer.json +347 -8
  21. data/skel/project_types/drupal7/drupal-console +3 -0
  22. data/skel/project_types/drupal7/lib/boris.php +7 -0
  23. data/skel/project_types/drupal7/lib/drupal_bootstrap.php +13 -0
  24. data/skel/project_types/drupal7/lib/drupal_flush_cache.php +5 -0
  25. data/skel/project_types/drupal8/composer.json +359 -20
  26. data/skel/project_types/drupal8/drupal-console +3 -0
  27. data/skel/project_types/drupal8/lib/boris.php +7 -0
  28. data/skel/project_types/drupal8/lib/drupal_bootstrap.php +13 -0
  29. data/skel/project_types/drupal8/lib/drupal_flush_cache.php +5 -0
  30. data/skel/project_types/silverstripe3/bower.json +7 -5
  31. data/skel/project_types/silverstripe3/composer.json +2 -1
  32. data/skel/project_types/silverstripe3/lib/boris.php +7 -0
  33. data/skel/project_types/silverstripe3/lib/ss_bootstrap.php +123 -0
  34. data/skel/project_types/silverstripe3/lib/ss_loadconf.php +104 -104
  35. data/skel/project_types/silverstripe3/public/.htaccess +1 -1
  36. data/skel/project_types/silverstripe3/public/project/_config.php +17 -17
  37. data/skel/project_types/silverstripe3/public/project/code/DataObjects/.gitkeep +0 -0
  38. data/skel/project_types/silverstripe3/public/themes/project/scss/_base.scss +58 -0
  39. data/skel/project_types/silverstripe3/public/themes/project/scss/_colours.scss +12 -0
  40. data/skel/project_types/silverstripe3/public/themes/project/scss/_functions.scss +18 -14
  41. data/skel/project_types/silverstripe3/public/themes/project/scss/_mixins.scss +17 -9
  42. data/skel/project_types/silverstripe3/public/themes/project/scss/_vars.scss +5 -2
  43. data/skel/project_types/silverstripe3/public/themes/project/scss/main.scss +26 -3
  44. data/skel/project_types/silverstripe3/public/themes/project/scss/typography.scss +28 -26
  45. data/skel/project_types/silverstripe3/ss-console +3 -0
  46. data/skel/skel.yml +39 -24
  47. metadata +27 -8
  48. data/config/syncer.rb +0 -101
  49. data/skel/project_types/drupal6/lib/flush_drupal_cache.php +0 -15
  50. data/skel/project_types/drupal7/lib/flush_drupal_cache.php +0 -15
  51. data/skel/project_types/drupal8/lib/flush_drupal_cache.php +0 -11
@@ -1,21 +1,360 @@
1
- {
2
- "name": "bonethug/drupal7-skel",
3
- "repositories": [
4
- {
5
- "type": "vcs",
6
- "url": "git@github.com:azt3k/drupal.git"
7
- }
8
- ],
9
- "require": {
10
- "symfony/yaml" : "2.3.*@dev",
11
- "drush/drush" : "dev-master",
12
- "thecodingmachine/drupal" : "7.*@dev"
13
- },
14
- "extra": {
15
- "installer-paths": {
16
- "vendor": [],
17
- "public": [],
18
- "public/vendor/{$name}": []
19
- }
20
- }
1
+ {
2
+ "name": "bonethug/drupal7-skel",
3
+ "repositories": [
4
+ {
5
+ "type": "package",
6
+ "package": {
7
+ "name": "drupal/drupal",
8
+ "type": "non-destructive-archive-installer",
9
+ "version": "7.26",
10
+ "dist": {
11
+ "url": "http://ftp.drupal.org/files/projects/drupal-7.26.zip",
12
+ "type": "zip"
13
+ },
14
+ "require": {
15
+ "azt3k/non-destructive-archive-installer" : "*"
16
+ },
17
+ "extra": {
18
+ "omit-first-directory": "true"
19
+ }
20
+ }
21
+ },
22
+ {
23
+ "type": "package",
24
+ "package": {
25
+ "name": "drupal/drupal-ckeditor",
26
+ "type": "drupal-module",
27
+ "version": "7.1.13",
28
+ "dist": {
29
+ "url": "http://ftp.drupal.org/files/projects/ckeditor-7.x-1.13.zip",
30
+ "type": "zip"
31
+ }
32
+ }
33
+ },
34
+ {
35
+ "type": "package",
36
+ "package": {
37
+ "name": "ckeditor/ckeditor",
38
+ "type": "drupal-module",
39
+ "version": "4.2.2",
40
+ "dist": {
41
+ "url": "http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.2.2/ckeditor_4.2.2_full.zip",
42
+ "type": "zip"
43
+ }
44
+ }
45
+ },
46
+ {
47
+ "type": "package",
48
+ "package": {
49
+ "name": "drupal/entity",
50
+ "type": "drupal-module",
51
+ "version": "7.1.4",
52
+ "dist": {
53
+ "url": "http://ftp.drupal.org/files/projects/entity-7.x-1.4.zip",
54
+ "type": "zip"
55
+ }
56
+ }
57
+ },
58
+ {
59
+ "type": "package",
60
+ "package": {
61
+ "name": "drupal/jquery-update",
62
+ "type": "drupal-module",
63
+ "version": "7.2.0.1",
64
+ "dist": {
65
+ "url": "http://ftp.drupal.org/files/projects/jquery_update-7.x-2.x-dev.zip",
66
+ "type": "zip"
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "type": "package",
72
+ "package": {
73
+ "name": "drupal/imce",
74
+ "type": "drupal-module",
75
+ "version": "7.1.8",
76
+ "dist": {
77
+ "url": "http://ftp.drupal.org/files/projects/imce-7.x-1.8.zip",
78
+ "type": "zip"
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "type": "package",
84
+ "package": {
85
+ "name": "drupal/date",
86
+ "type": "drupal-module",
87
+ "version": "7.2.7",
88
+ "dist": {
89
+ "url": "http://ftp.drupal.org/files/projects/date-7.x-2.7.zip",
90
+ "type": "zip"
91
+ }
92
+ }
93
+ },
94
+ {
95
+ "type": "package",
96
+ "package": {
97
+ "name": "drupal/entityreference",
98
+ "type": "drupal-module",
99
+ "version": "7.1.1",
100
+ "dist": {
101
+ "url": "http://ftp.drupal.org/files/projects/entityreference-7.x-1.1.zip",
102
+ "type": "zip"
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "type": "package",
108
+ "package": {
109
+ "name": "drupal/entityreference-autocomplete",
110
+ "type": "drupal-module",
111
+ "version": "7.1.4",
112
+ "dist": {
113
+ "url": "http://ftp.drupal.org/files/projects/entityreference_autocomplete-7.x-1.4.zip",
114
+ "type": "zip"
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "type": "package",
120
+ "package": {
121
+ "name": "drupal/ctools",
122
+ "type": "drupal-module",
123
+ "version": "7.1.4",
124
+ "dist": {
125
+ "url": "http://ftp.drupal.org/files/projects/ctools-7.x-1.4.zip",
126
+ "type": "zip"
127
+ }
128
+ }
129
+ },
130
+ {
131
+ "type": "package",
132
+ "package": {
133
+ "name": "drupal/inline-entity-form",
134
+ "type": "drupal-module",
135
+ "version": "7.1.3",
136
+ "dist": {
137
+ "url": "http://ftp.drupal.org/files/projects/inline_entity_form-7.x-1.3.zip",
138
+ "type": "zip"
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "type": "package",
144
+ "package": {
145
+ "name": "drupal/cer",
146
+ "type": "drupal-module",
147
+ "version": "7.2.0.2",
148
+ "dist": {
149
+ "url": "http://ftp.drupal.org/files/projects/cer-7.x-2.x-dev.zip",
150
+ "type": "zip"
151
+ }
152
+ }
153
+ },
154
+ {
155
+ "type": "package",
156
+ "package": {
157
+ "name": "drupal/smtp",
158
+ "type": "drupal-module",
159
+ "version": "7.1.0",
160
+ "dist": {
161
+ "url": "http://ftp.drupal.org/files/projects/smtp-7.x-1.0.zip",
162
+ "type": "zip"
163
+ }
164
+ }
165
+ },
166
+ {
167
+ "type": "package",
168
+ "package": {
169
+ "name": "drupal/metatag",
170
+ "type": "drupal-module",
171
+ "version": "7.1.0.9",
172
+ "dist": {
173
+ "url": "http://ftp.drupal.org/files/projects/metatag-7.x-1.0-beta9.zip",
174
+ "type": "zip"
175
+ }
176
+ }
177
+ },
178
+ {
179
+ "type": "package",
180
+ "package": {
181
+ "name": "drupal/xmlsitemap",
182
+ "type": "drupal-module",
183
+ "version": "7.2.0",
184
+ "dist": {
185
+ "url": "http://ftp.drupal.org/files/projects/xmlsitemap-7.x-2.0.zip",
186
+ "type": "zip"
187
+ }
188
+ }
189
+ },
190
+ {
191
+ "type": "package",
192
+ "package": {
193
+ "name": "drupal/datepicker",
194
+ "type": "drupal-module",
195
+ "version": "7.1.0",
196
+ "dist": {
197
+ "url": "http://ftp.drupal.org/files/projects/datepicker-7.x-1.0.zip",
198
+ "type": "zip"
199
+ }
200
+ }
201
+ },
202
+ {
203
+ "type": "package",
204
+ "package": {
205
+ "name": "drupal/token",
206
+ "type": "drupal-module",
207
+ "version": "7.1.5",
208
+ "dist": {
209
+ "url": "http://ftp.drupal.org/files/projects/token-7.x-1.5.zip",
210
+ "type": "zip"
211
+ }
212
+ }
213
+ },
214
+ {
215
+ "type": "package",
216
+ "package": {
217
+ "name": "drupal/ckeditor-link",
218
+ "type": "drupal-module",
219
+ "version": "7.2.3",
220
+ "dist": {
221
+ "url": "http://ftp.drupal.org/files/projects/ckeditor_link-7.x-2.3.zip",
222
+ "type": "zip"
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "type": "package",
228
+ "package": {
229
+ "name": "drupal/pathauto",
230
+ "type": "drupal-module",
231
+ "version": "7.1.2",
232
+ "dist": {
233
+ "url": "http://ftp.drupal.org/files/projects/pathauto-7.x-1.2.zip",
234
+ "type": "zip"
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "type": "package",
240
+ "package": {
241
+ "name": "drupal/inline-entity-form",
242
+ "type": "drupal-module",
243
+ "version": "7.1.5",
244
+ "dist": {
245
+ "url": "http://ftp.drupal.org/files/projects/inline_entity_form-7.x-1.5.zip",
246
+ "type": "zip"
247
+ }
248
+ }
249
+ },
250
+ {
251
+ "type": "package",
252
+ "package": {
253
+ "name": "drupal/media",
254
+ "type": "drupal-module",
255
+ "version": "7.1.4",
256
+ "dist": {
257
+ "url": "http://ftp.drupal.org/files/projects/media-7.x-1.4.zip",
258
+ "type": "zip"
259
+ }
260
+ }
261
+ },
262
+ {
263
+ "type" : "package",
264
+ "package": {
265
+ "name": "drupal/menufield",
266
+ "type": "drupal-module",
267
+ "version": "7.1",
268
+ "dist": {
269
+ "url": "http://ftp.drupal.org/files/projects/menufield-7.x-1.x-dev.zip",
270
+ "type": "zip"
271
+ }
272
+ }
273
+ },
274
+ {
275
+ "type" : "package",
276
+ "package": {
277
+ "name": "drupal/minify",
278
+ "type": "drupal-module",
279
+ "version": "7.1.0",
280
+ "dist": {
281
+ "url": "http://ftp.drupal.org/files/projects/minify-7.x-1.0.zip",
282
+ "type": "zip"
283
+ }
284
+ }
285
+ }
286
+ ],
287
+ "require": {
288
+ "php" : ">=5.3.0",
289
+ "composer/installers" : ">=1.0.9",
290
+ "azt3k/non-destructive-archive-installer" : "dev-master",
291
+ "symfony/yaml" : "dev-master",
292
+ "drush/drush" : "6.2.0",
293
+ "drupal/drupal" : "7.26",
294
+ "drupal/entity" : "7.1.4",
295
+ "drupal/drupal-ckeditor" : "7.1.13",
296
+ "drupal/jquery-update" : "7.2.0.1",
297
+ "drupal/imce" : "7.1.8",
298
+ "drupal/date" : "7.2.7",
299
+ "drupal/entityreference" : "7.1.1",
300
+ "drupal/entityreference-autocomplete" : "7.1.4",
301
+ "drupal/ctools" : "7.1.4",
302
+ "drupal/cer" : "7.2.0.2",
303
+ "drupal/smtp" : "7.1.0",
304
+ "drupal/metatag" : "7.1.0.9",
305
+ "drupal/xmlsitemap" : "7.2.0",
306
+ "drupal/datepicker" : "7.1.0",
307
+ "drupal/token" : "7.1.5",
308
+ "drupal/ckeditor-link" : "7.2.3",
309
+ "drupal/inline-entity-form" : "7.1.5",
310
+ "drupal/media" : "7.1.4",
311
+ "drupal/menufield" : "7.1",
312
+ "drupal/minify" : "7.1.0",
313
+ "drupal/pathauto" : "7.1.2",
314
+ "ckeditor/ckeditor" : "4.2.2",
315
+ "raveren/kint" : "dev-master",
316
+ "d11wtq/boris" : "dev-master"
317
+ },
318
+ "extra": {
319
+ "installer-paths": {
320
+ "public/sites/all/modules/{$name}": [
321
+ "drupal/cer",
322
+ "drupal/drupal-ckeditor",
323
+ "drupal/entity",
324
+ "drupal/jquery-update",
325
+ "drupal/imce",
326
+ "drupal/date",
327
+ "drupal/entityreference",
328
+ "drupal/entityreference-autocomplete",
329
+ "drupal/ctools",
330
+ "drupal/inline-entity-form",
331
+ "drupal/smtp",
332
+ "drupal/metatag",
333
+ "drupal/datepicker",
334
+ "drupal/xmlsitemap",
335
+ "drupal/token",
336
+ "drupal/ckeditor-link",
337
+ "drupal/media",
338
+ "drupal/menufield",
339
+ "drupal/pathauto",
340
+ "drupal/minify"
341
+ ],
342
+ "public/sites/all/libraries/{$name}" : [
343
+ "ckeditor/ckeditor"
344
+ ],
345
+ "public": [
346
+ "drupal/drupal"
347
+ ]
348
+ }
349
+ },
350
+ "scripts": {
351
+ "post-update-cmd": [
352
+ "cp -rp vendor/drupal/drupal/. public/",
353
+ "rm -rf public/.gitignore"
354
+ ],
355
+ "post-install-cmd": [
356
+ "cp -rp vendor/drupal/drupal/. public/",
357
+ "rm -rf public/.gitignore"
358
+ ]
359
+ }
21
360
  }
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ export APPLICATION_ENV=$1 && php lib/boris.php
@@ -0,0 +1,7 @@
1
+ <?php
2
+
3
+ require realpath(__DIR__ . '/../vendor/autoload.php');
4
+ require 'drupal_bootstrap.php';
5
+
6
+ $boris = new \Boris\Boris('drupal> ');
7
+ $boris->start();
@@ -0,0 +1,13 @@
1
+ <?php
2
+
3
+ $pub_dir = realpath(__DIR__ . '/../public');
4
+ chdir($pub_dir);
5
+ define('DRUPAL_ROOT', $pub_dir);
6
+
7
+ if (!file_exists($pub_dir . '/includes/bootstrap.inc')) die('Bootstrap failed');
8
+
9
+ $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
10
+ $_SERVER['REQUEST_METHOD'] = 'GET';
11
+
12
+ require_once $pub_dir . '/includes/bootstrap.inc';
13
+ drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
@@ -0,0 +1,5 @@
1
+ <?php
2
+
3
+ require 'drupal_bootstrap.php';
4
+
5
+ drupal_flush_all_caches();