github-pages 38 → 39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-pages +3 -1
  3. data/lib/github-pages.rb +22 -9
  4. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c0389727f59f898c25c00a955835ea13a043f14
4
- data.tar.gz: d7f09dab9d825b0b44f4f1a0aed357e2b5d867d0
3
+ metadata.gz: 9a99d3b20f48e2913255d132c098b402a9675165
4
+ data.tar.gz: f3c8168752f254a5f8f19dc0a049773c072d6ab0
5
5
  SHA512:
6
- metadata.gz: 62f226e41f2e7080d88bc25e7b96a797d2bcc0fa274bc7e8b107bd342fcedff749af3f122c8df96978d19340f1eb2a0186f3798a438721e06c9f1f6136ac37b6
7
- data.tar.gz: 90574fa48013eaa3942ad5542f8ab968cf0087eda63019aa4c7aefd1be86314575002a6c623d8b344a773b66ee252d78e5b5aa20de9a338ddaac5fe95ea9f139
6
+ metadata.gz: 0f573fa585240ea2e32454104a7bf9b9f1cf2d46ff07d4f979c36c45a1ebe5a9a8766d86432af1216eb3c2c994def42d73c83ee3d1950053291dea32de6bdaae
7
+ data.tar.gz: 9ca1ee6660172c3127f9992f0bd6ac6c3d6173a7387f68287d6e640225dd5053648912bcd951d90940cefd1dab87f323ae214ad021ca983a2c220b3651933415
@@ -11,13 +11,15 @@ Mercenary.program(:"github-pages") do |p|
11
11
  p.command(:versions) do |c|
12
12
  c.syntax "versions"
13
13
  c.description "lists the current gem dependency versions"
14
+ c.option "all", "--all", "Report all versions, not just ones we lock to (cannot be used with --gemfile)"
14
15
  c.option "gemfile", "--gemfile", "use Gemfile formatting"
15
16
  c.action do |args, options|
16
17
  if options["gemfile"]
17
18
  GitHubPages.gems.each { |g,v| puts "gem '#{g}', '#{v}'" }
18
19
  else
19
20
  require 'terminal-table'
20
- puts Terminal::Table.new :rows => GitHubPages.gems, :headings => ["Gem", "Version"]
21
+ versions = options['all'] ? GitHubPages.versions : GitHubPages.gems
22
+ puts Terminal::Table.new :rows => versions, :headings => ["Gem", "Version"]
21
23
  end
22
24
  end
23
25
  end
@@ -1,5 +1,5 @@
1
1
  class GitHubPages
2
- VERSION = 38
2
+ VERSION = 39
3
3
 
4
4
  # Jekyll and related dependency versions as used by GitHub Pages.
5
5
  # For more information see:
@@ -9,13 +9,13 @@ class GitHubPages
9
9
  # Jekyll
10
10
  "jekyll" => "2.4.0",
11
11
  "jekyll-coffeescript" => "1.0.1",
12
- "jekyll-sass-converter" => "1.2.0",
12
+ "jekyll-sass-converter" => "1.3.0",
13
13
 
14
14
  # Converters
15
15
  "kramdown" => "1.5.0",
16
16
  "maruku" => "0.7.0",
17
17
  "rdiscount" => "2.1.7",
18
- "redcarpet" => "3.3.1",
18
+ "redcarpet" => "3.3.2",
19
19
  "RedCloth" => "4.2.9",
20
20
 
21
21
  # Liquid
@@ -25,20 +25,33 @@ class GitHubPages
25
25
  "pygments.rb" => "0.6.3",
26
26
 
27
27
  # Plugins
28
- "jemoji" => "0.4.0",
28
+ "jemoji" => "0.5.0",
29
29
  "jekyll-mentions" => "0.2.1",
30
30
  "jekyll-redirect-from" => "0.8.0",
31
31
  "jekyll-sitemap" => "0.8.1",
32
- "jekyll-feed" => "0.3.0",
32
+ "jekyll-feed" => "0.3.1",
33
33
  }
34
34
  end
35
35
 
36
36
  # Versions used by GitHub Pages, including github-pages gem and ruby version
37
37
  # Useful for programmatically querying for the current-running version
38
38
  def self.versions
39
- gems.merge({
40
- "github-pages" => VERSION.to_s,
41
- "ruby" => RUBY_VERSION
42
- })
39
+ gems.merge deps_version_report
40
+ end
41
+
42
+ def self.deps_version_report
43
+ require 'html/pipeline/version'
44
+ require 'sass/version'
45
+ require 'safe_yaml/version'
46
+
47
+ {
48
+ "ruby" => RUBY_VERSION,
49
+
50
+ # Gem versions we're curious about
51
+ "github-pages" => VERSION.to_s,
52
+ "html-pipeline" => HTML::Pipeline::VERSION,
53
+ "sass" => Sass.version[:number],
54
+ "safe_yaml" => SafeYAML::VERSION
55
+ }
43
56
  end
44
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: '38'
4
+ version: '39'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-10 00:00:00.000000000 Z
11
+ date: 2015-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.2.0
47
+ version: 1.3.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 1.2.0
54
+ version: 1.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: kramdown
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 3.3.1
103
+ version: 3.3.2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 3.3.1
110
+ version: 3.3.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: RedCloth
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 0.4.0
159
+ version: 0.5.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 0.4.0
166
+ version: 0.5.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: jekyll-mentions
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 0.3.0
215
+ version: 0.3.1
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 0.3.0
222
+ version: 0.3.1
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: github-pages-health-check
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -268,14 +268,14 @@ dependencies:
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: '2.14'
271
+ version: '3.3'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: '2.14'
278
+ version: '3.3'
279
279
  description: Bootstrap the GitHub Pages Jekyll environment locally.
280
280
  email: support@github.com
281
281
  executables: