slide_hero 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/README.md +1 -1
  4. data/lib/slide_hero/version.rb +1 -1
  5. data/lib/slide_hero/views/layout.html.erb +2 -2
  6. data/vendor/reveal.js/.gitignore +3 -1
  7. data/vendor/reveal.js/.travis.yml +1 -1
  8. data/vendor/reveal.js/CONTRIBUTING.md +19 -0
  9. data/vendor/reveal.js/Gruntfile.js +58 -21
  10. data/vendor/reveal.js/LICENSE +1 -1
  11. data/vendor/reveal.js/README.md +154 -74
  12. data/vendor/reveal.js/css/print/paper.css +193 -167
  13. data/vendor/reveal.js/css/print/pdf.css +20 -53
  14. data/vendor/reveal.js/css/reveal.css +912 -1651
  15. data/vendor/reveal.js/css/reveal.scss +1316 -0
  16. data/vendor/reveal.js/css/theme/README.md +1 -1
  17. data/vendor/reveal.js/css/theme/beige.css +177 -60
  18. data/vendor/reveal.js/css/theme/black.css +261 -0
  19. data/vendor/reveal.js/css/theme/blood.css +191 -75
  20. data/vendor/reveal.js/css/theme/league.css +267 -0
  21. data/vendor/reveal.js/css/theme/moon.css +168 -51
  22. data/vendor/reveal.js/css/theme/night.css +165 -42
  23. data/vendor/reveal.js/css/theme/serif.css +181 -58
  24. data/vendor/reveal.js/css/theme/simple.css +173 -50
  25. data/vendor/reveal.js/css/theme/sky.css +170 -47
  26. data/vendor/reveal.js/css/theme/solarized.css +168 -51
  27. data/vendor/reveal.js/css/theme/source/beige.scss +1 -12
  28. data/vendor/reveal.js/css/theme/source/black.scss +49 -0
  29. data/vendor/reveal.js/css/theme/source/blood.scss +4 -4
  30. data/vendor/reveal.js/css/theme/source/{default.scss → league.scss} +5 -13
  31. data/vendor/reveal.js/css/theme/source/moon.scss +1 -12
  32. data/vendor/reveal.js/css/theme/source/serif.scss +1 -1
  33. data/vendor/reveal.js/css/theme/source/sky.scss +1 -1
  34. data/vendor/reveal.js/css/theme/source/solarized.scss +1 -12
  35. data/vendor/reveal.js/css/theme/source/white.scss +49 -0
  36. data/vendor/reveal.js/css/theme/template/settings.scss +13 -4
  37. data/vendor/reveal.js/css/theme/template/theme.scss +182 -13
  38. data/vendor/reveal.js/css/theme/white.css +261 -0
  39. data/vendor/reveal.js/index.html +198 -178
  40. data/vendor/reveal.js/js/reveal.js +1286 -392
  41. data/vendor/reveal.js/lib/css/zenburn.css +74 -71
  42. data/vendor/reveal.js/lib/font/{league_gothic_license → league-gothic/LICENSE} +0 -0
  43. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.css +10 -0
  44. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.eot +0 -0
  45. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.ttf +0 -0
  46. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.woff +0 -0
  47. data/vendor/reveal.js/lib/font/source-sans-pro/LICENSE +45 -0
  48. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  49. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  50. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  51. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  52. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  53. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  54. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  55. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  56. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  57. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  58. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  59. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  60. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro.css +39 -0
  61. data/vendor/reveal.js/package.json +9 -7
  62. data/vendor/reveal.js/plugin/highlight/highlight.js +2 -4
  63. data/vendor/reveal.js/plugin/leap/leap.js +4 -2
  64. data/vendor/reveal.js/plugin/markdown/example.html +2 -2
  65. data/vendor/reveal.js/plugin/markdown/markdown.js +8 -7
  66. data/vendor/reveal.js/plugin/notes/notes.html +321 -182
  67. data/vendor/reveal.js/plugin/notes/notes.js +89 -45
  68. data/vendor/reveal.js/plugin/notes-server/client.js +49 -46
  69. data/vendor/reveal.js/plugin/notes-server/index.js +28 -21
  70. data/vendor/reveal.js/plugin/notes-server/notes.html +351 -97
  71. data/vendor/reveal.js/plugin/print-pdf/print-pdf.js +24 -20
  72. data/vendor/reveal.js/plugin/zoom-js/zoom.js +77 -57
  73. data/vendor/reveal.js/test/examples/barebones.html +2 -2
  74. data/vendor/reveal.js/test/examples/embedded-media.html +2 -2
  75. data/vendor/reveal.js/test/examples/math.html +2 -2
  76. data/vendor/reveal.js/test/examples/slide-backgrounds.html +29 -7
  77. data/vendor/reveal.js/test/test-markdown-element-attributes.html +6 -6
  78. data/vendor/reveal.js/test/test-markdown-slide-attributes.html +7 -7
  79. data/vendor/reveal.js/test/test-markdown.html +4 -4
  80. data/vendor/reveal.js/test/test-pdf.html +83 -0
  81. data/vendor/reveal.js/test/test-pdf.js +15 -0
  82. data/vendor/reveal.js/test/test.html +5 -4
  83. data/vendor/reveal.js/test/test.js +143 -9
  84. metadata +31 -13
  85. data/vendor/reveal.js/css/reveal.min.css +0 -7
  86. data/vendor/reveal.js/css/theme/default.css +0 -148
  87. data/vendor/reveal.js/js/reveal.min.js +0 -9
  88. data/vendor/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
  89. data/vendor/reveal.js/lib/font/league_gothic-webfont.svg +0 -230
  90. data/vendor/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
  91. data/vendor/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
  92. data/vendor/reveal.js/plugin/postmessage/example.html +0 -39
  93. data/vendor/reveal.js/plugin/postmessage/postmessage.js +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fbe0364422d336f4c91611d2b267d2ea6d89b27
4
- data.tar.gz: c478d0204aa43515e71028b6f72486c40aae3ac3
3
+ metadata.gz: d4ab8f64da24ee4cbcb91a7f8d392e2593f22eae
4
+ data.tar.gz: 4d1ea35db58b8ccec969d1a701170fd14e48733a
5
5
  SHA512:
6
- metadata.gz: 96d2cc3a9408050a21151c3069d940a7a5bf04321da849618628f55081c6b3b8c35bb6900f5102aecb2241be9e5a61627e9ba2acaa19cfa7a15e669669d0c886
7
- data.tar.gz: c61ffa7947e51b68ce90deda47d8b8b01ae9af0f0496e8604f9de04531fee77ca378935d230af21f596135cc36eeb957b803768efc690b37475dabd83675dfe2
6
+ metadata.gz: 916b941004ac4f84c4be11503ae1962c05179855053f1b799938b9ba4122fbdfe47620fe27b56549d3a1cd45f50761cf33548ee7ca4f1d442ab9af426008ef17
7
+ data.tar.gz: f5ee06ef353fc4aeaf4b75022f8ab891852c024792b3c9aaae395c5fa419e308c4638d275475115abe7914829bedcee004792c29897ffa0d889b19651c55d3fd
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1
1
+ 2.2
data/README.md CHANGED
@@ -15,7 +15,7 @@ That's it!
15
15
 
16
16
  ## Installation
17
17
 
18
- Requires Ruby 2.1
18
+ Requires Ruby 2.2
19
19
 
20
20
  Add this line to your application's Gemfile:
21
21
 
@@ -1,3 +1,3 @@
1
1
  module SlideHero
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -6,7 +6,7 @@
6
6
  <meta name="apple-mobile-web-app-capable" content="yes" />
7
7
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
9
- <link rel="stylesheet" href="css/reveal.min.css">
9
+ <link rel="stylesheet" href="css/reveal.css">
10
10
  <link rel="stylesheet" href="css/theme/<%= theme %>.css" id="theme">
11
11
  <link rel="stylesheet" href="lib/css/zenburn.css">
12
12
  <script>
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  </div>
25
25
  <script src="lib/js/head.min.js"></script>
26
- <script src="js/reveal.min.js"></script>
26
+ <script src="js/reveal.js"></script>
27
27
 
28
28
  <script>
29
29
 
@@ -3,4 +3,6 @@
3
3
  log/*.log
4
4
  tmp/**
5
5
  node_modules/
6
- .sass-cache
6
+ .sass-cache
7
+ css/reveal.min.css
8
+ js/reveal.min.js
@@ -1,5 +1,5 @@
1
1
  language: node_js
2
2
  node_js:
3
- - 0.8
3
+ - 0.10
4
4
  before_script:
5
5
  - npm install -g grunt-cli
@@ -0,0 +1,19 @@
1
+ ## Contributing
2
+
3
+ Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
4
+
5
+
6
+ ### Personal Support
7
+ If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
8
+
9
+
10
+ ### Bug Reports
11
+ When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
12
+
13
+
14
+ ### Pull Requests
15
+ - Should follow the coding style of the file you work in, most importantly:
16
+ - Tabs to indent
17
+ - Single-quoted strings
18
+ - Should be made towards the **dev branch**
19
+ - Should be submitted from a feature/topic branch (not your master)
@@ -11,7 +11,7 @@ module.exports = function(grunt) {
11
11
  ' * http://lab.hakim.se/reveal-js\n' +
12
12
  ' * MIT licensed\n' +
13
13
  ' *\n' +
14
- ' * Copyright (C) 2013 Hakim El Hattab, http://hakim.se\n' +
14
+ ' * Copyright (C) 2015 Hakim El Hattab, http://hakim.se\n' +
15
15
  ' */'
16
16
  },
17
17
 
@@ -29,18 +29,17 @@ module.exports = function(grunt) {
29
29
  }
30
30
  },
31
31
 
32
- cssmin: {
33
- compress: {
32
+ sass: {
33
+ core: {
34
34
  files: {
35
- 'css/reveal.min.css': [ 'css/reveal.css' ]
35
+ 'css/reveal.css': 'css/reveal.scss',
36
36
  }
37
- }
38
- },
39
-
40
- sass: {
41
- main: {
37
+ },
38
+ themes: {
42
39
  files: {
43
- 'css/theme/default.css': 'css/theme/source/default.scss',
40
+ 'css/theme/black.css': 'css/theme/source/black.scss',
41
+ 'css/theme/white.css': 'css/theme/source/white.scss',
42
+ 'css/theme/league.css': 'css/theme/source/league.scss',
44
43
  'css/theme/beige.css': 'css/theme/source/beige.scss',
45
44
  'css/theme/night.css': 'css/theme/source/night.scss',
46
45
  'css/theme/serif.css': 'css/theme/source/serif.scss',
@@ -53,6 +52,20 @@ module.exports = function(grunt) {
53
52
  }
54
53
  },
55
54
 
55
+ autoprefixer: {
56
+ dist: {
57
+ src: 'css/reveal.css'
58
+ }
59
+ },
60
+
61
+ cssmin: {
62
+ compress: {
63
+ files: {
64
+ 'css/reveal.min.css': [ 'css/reveal.css' ]
65
+ }
66
+ }
67
+ },
68
+
56
69
  jshint: {
57
70
  options: {
58
71
  curly: false,
@@ -70,7 +83,9 @@ module.exports = function(grunt) {
70
83
  head: false,
71
84
  module: false,
72
85
  console: false,
73
- unescape: false
86
+ unescape: false,
87
+ define: false,
88
+ exports: false
74
89
  }
75
90
  },
76
91
  files: [ 'Gruntfile.js', 'js/reveal.js' ]
@@ -80,7 +95,9 @@ module.exports = function(grunt) {
80
95
  server: {
81
96
  options: {
82
97
  port: port,
83
- base: '.'
98
+ base: '.',
99
+ livereload: true,
100
+ open: true
84
101
  }
85
102
  }
86
103
  },
@@ -97,14 +114,24 @@ module.exports = function(grunt) {
97
114
  },
98
115
 
99
116
  watch: {
100
- main: {
101
- files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ],
102
- tasks: 'default'
117
+ options: {
118
+ livereload: true
119
+ },
120
+ js: {
121
+ files: [ 'Gruntfile.js', 'js/reveal.js' ],
122
+ tasks: 'js'
103
123
  },
104
124
  theme: {
105
125
  files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
106
- tasks: 'themes'
107
- }
126
+ tasks: 'css-themes'
127
+ },
128
+ css: {
129
+ files: [ 'css/reveal.scss' ],
130
+ tasks: 'css-core'
131
+ },
132
+ html: {
133
+ files: [ 'index.html']
134
+ }
108
135
  }
109
136
 
110
137
  });
@@ -115,15 +142,25 @@ module.exports = function(grunt) {
115
142
  grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
116
143
  grunt.loadNpmTasks( 'grunt-contrib-uglify' );
117
144
  grunt.loadNpmTasks( 'grunt-contrib-watch' );
118
- grunt.loadNpmTasks( 'grunt-contrib-sass' );
145
+ grunt.loadNpmTasks( 'grunt-sass' );
119
146
  grunt.loadNpmTasks( 'grunt-contrib-connect' );
147
+ grunt.loadNpmTasks( 'grunt-autoprefixer' );
120
148
  grunt.loadNpmTasks( 'grunt-zip' );
121
149
 
122
150
  // Default task
123
- grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] );
151
+ grunt.registerTask( 'default', [ 'css', 'js' ] );
152
+
153
+ // JS task
154
+ grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] );
155
+
156
+ // Theme CSS
157
+ grunt.registerTask( 'css-themes', [ 'sass:themes' ] );
158
+
159
+ // Core framework CSS
160
+ grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] );
124
161
 
125
- // Theme task
126
- grunt.registerTask( 'themes', [ 'sass' ] );
162
+ // All CSS
163
+ grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] );
127
164
 
128
165
  // Package presentation to archive
129
166
  grunt.registerTask( 'package', [ 'default', 'zip' ] );
@@ -1,4 +1,4 @@
1
- Copyright (C) 2013 Hakim El Hattab, http://hakim.se
1
+ Copyright (C) 2015 Hakim El Hattab, http://hakim.se
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal