History

Bump Ruby 2.4.0

Thibaut Courouble committed 9 years ago

Commit 94470251 parent a5a999d7 files · +32 −31Browse files

Unified · Split

7 files
  1. .ruby-version +1 −1
  2. Dockerfile +1 −1
  3. Gemfile +2 −2
  4. Gemfile.lock +25 −25
  5. README.md +1 −1
  6. lib/app.rb +1 −0
  7. test/lib/docs/core/url_test.rb +1 −1
.ruby-version+1−1
@@ -1 +1 @@
12.3.312.4.0
Dockerfile+1−1
@@ -1,5 +1,5 @@
1 1
2FROM ruby:2.3.32FROM ruby:2.4.0
3MAINTAINER Conor Heine <conor.heine@gmail.com>3MAINTAINER Conor Heine <conor.heine@gmail.com>
4 4
5RUN apt-get update5RUN apt-get update
Gemfile+2−2
@@ -1,10 +1,10 @@
1source 'https://rubygems.org'1source 'https://rubygems.org'
2ruby '2.3.3'2ruby '2.4.0'
3 3
4gem 'rake'4gem 'rake'
5gem 'thor'5gem 'thor'
6gem 'pry', '~> 0.10.0'6gem 'pry', '~> 0.10.0'
7gem 'activesupport', '~> 4.2', require: false7gem 'activesupport', '~> 5.0', require: false
8gem 'yajl-ruby', require: false8gem 'yajl-ruby', require: false
9 9
10group :app do10group :app do
Gemfile.lock+25−25
@@ -1,11 +1,10 @@
1GEM1GEM
2 remote: https://rubygems.org/2 remote: https://rubygems.org/
3 specs:3 specs:
4 activesupport (4.2.7.1)4 activesupport (5.0.1)
5 concurrent-ruby (~> 1.0, >= 1.0.2)
5 i18n (~> 0.7)6 i18n (~> 0.7)
6 json (~> 1.7, >= 1.7.7)
7 minitest (~> 5.1)7 minitest (~> 5.1)
8 thread_safe (~> 0.3, >= 0.3.4)
9 tzinfo (~> 1.1)8 tzinfo (~> 1.1)
10 backports (3.6.8)9 backports (3.6.8)
11 better_errors (2.1.1)10 better_errors (2.1.1)
@@ -17,26 +16,25 @@ GEM · 5 unmodified lines
17 coffee-script (2.4.1)16 coffee-script (2.4.1)
18 coffee-script-source17 coffee-script-source
19 execjs18 execjs
20 coffee-script-source (1.11.1)19 coffee-script-source (1.12.2)
21 concurrent-ruby (1.0.2)20 concurrent-ruby (1.0.4)
22 daemons (1.2.4)21 daemons (1.2.4)
23 erubis (2.7.0)22 erubis (2.7.0)
24 ethon (0.9.1)23 ethon (0.10.1)
25 ffi (>= 1.3.0)24 ffi (>= 1.3.0)
26 eventmachine (1.2.1)25 eventmachine (1.2.1)
27 execjs (2.7.0)26 execjs (2.7.0)
28 ffi (1.9.14)27 ffi (1.9.17)
29 highline (1.7.8)28 highline (1.7.8)
30 html-pipeline (2.4.2)29 html-pipeline (2.5.0)
31 activesupport (>= 2)30 activesupport (>= 2)
32 nokogiri (>= 1.4)31 nokogiri (>= 1.4)
33 i18n (0.7.0)32 i18n (0.7.0)
34 json (1.8.3)
35 method_source (0.8.2)33 method_source (0.8.2)
36 mini_portile2 (2.1.0)34 mini_portile2 (2.1.0)
37 minitest (5.9.1)35 minitest (5.10.1)
38 multi_json (1.12.1)36 multi_json (1.12.1)
39 nokogiri (1.6.8.1)37 nokogiri (1.7.0.1)
40 mini_portile2 (~> 2.1.0)38 mini_portile2 (~> 2.1.0)
41 options (2.3.2)39 options (2.3.2)
42 progress_bar (1.1.0)40 progress_bar (1.1.0)
@@ -51,9 +49,9 @@ GEM · 8 unmodified lines
51 rack49 rack
52 rack-test (0.6.3)50 rack-test (0.6.3)
53 rack (>= 1.0)51 rack (>= 1.0)
54 rake (11.3.0)52 rake (12.0.0)
55 rr (1.2.0)53 rr (1.2.0)
56 sass (3.4.22)54 sass (3.4.23)
57 sinatra (1.4.7)55 sinatra (1.4.7)
58 rack (~> 1.5)56 rack (~> 1.5)
59 rack-protection (~> 1.4)57 rack-protection (~> 1.4)
@@ -66,7 +64,7 @@ GEM · 6 unmodified lines
66 sinatra (~> 1.4.0)64 sinatra (~> 1.4.0)
67 tilt (>= 1.3, < 3)65 tilt (>= 1.3, < 3)
68 slop (3.6.0)66 slop (3.6.0)
69 sprockets (3.7.0)67 sprockets (3.7.1)
70 concurrent-ruby (~> 1.0)68 concurrent-ruby (~> 1.0)
71 rack (> 1, < 3)69 rack (> 1, < 3)
72 sprockets-helpers (1.2.1)70 sprockets-helpers (1.2.1)
@@ -75,24 +73,26 @@ GEM · 2 unmodified lines
75 daemons (~> 1.0, >= 1.0.9)73 daemons (~> 1.0, >= 1.0.9)
76 eventmachine (~> 1.0, >= 1.0.4)74 eventmachine (~> 1.0, >= 1.0.4)
77 rack (>= 1, < 3)75 rack (>= 1, < 3)
78 thor (0.19.3)76 thor (0.19.4)
79 thread_safe (0.3.5)77 thread_safe (0.3.5)
80 tilt (2.0.5)78 tilt (2.0.5)
81 tty-pager (0.4.0)79 tty-pager (0.5.0)
82 tty-screen (~> 0.5.0)80 tty-screen (~> 0.5.0)
83 tty-which (~> 0.1.0)81 tty-which (~> 0.2.0)
84 verse (~> 0.4.0)82 verse (~> 0.5.0)
85 tty-screen (0.5.0)83 tty-screen (0.5.0)
86 tty-which (0.1.0)84 tty-which (0.2.1)
87 typhoeus (1.1.0)85 typhoeus (1.1.2)
88 ethon (>= 0.9.0)86 ethon (>= 0.9.0)
89 tzinfo (1.2.2)87 tzinfo (1.2.2)
90 thread_safe (~> 0.1)88 thread_safe (~> 0.1)
91 uglifier (3.0.3)89 uglifier (3.0.4)
92 execjs (>= 0.3.0, < 3)90 execjs (>= 0.3.0, < 3)
91 unicode-display_width (1.1.3)
93 unicode_utils (1.4.0)92 unicode_utils (1.4.0)
94 unix_utils (0.0.15)93 unix_utils (0.0.15)
95 verse (0.4.0)94 verse (0.5.0)
95 unicode-display_width (~> 1.1.0)
96 unicode_utils (~> 1.4.0)96 unicode_utils (~> 1.4.0)
97 yajl-ruby (1.3.0)97 yajl-ruby (1.3.0)
98 98
@@ -100,7 +100,7 @@ PLATFORMS · 1 unmodified line
100 ruby100 ruby
101 101
102DEPENDENCIES102DEPENDENCIES
103 activesupport (~> 4.2)103 activesupport (~> 5.0)
104 better_errors104 better_errors
105 browser105 browser
106 coffee-script106 coffee-script
@@ -128,7 +128,7 @@ DEPENDENCIES · 21 unmodified lines
128 yajl-ruby128 yajl-ruby
129 129
130RUBY VERSION130RUBY VERSION
131 ruby 2.3.3p222131 ruby 2.4.0p0
132 132
133BUNDLED WITH133BUNDLED WITH
134 1.13.6134 1.14.1
README.md+1−1
@@ -20,7 +20,7 @@ Unless you wish to contribute to the project, I recommend using the hosted versi · 19 unmodified lines
20 20
21DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app.21DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app.
22 22
23DevDocs requires Ruby 2.3.3, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:23DevDocs requires Ruby 2.4.0, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:
24 24
25```25```
26git clone https://github.com/Thibaut/devdocs.git && cd devdocs26git clone https://github.com/Thibaut/devdocs.git && cd devdocs
lib/app.rb+1−0
@@ -7,6 +7,7 @@ class App < Sinatra::Application · 6 unmodified lines
7 Bundler.require environment7 Bundler.require environment
8 require 'sinatra/cookies'8 require 'sinatra/cookies'
9 require 'tilt/erubis'9 require 'tilt/erubis'
10 require 'active_support/notifications'
10 11
11 Rack::Mime::MIME_TYPES['.webapp'] = 'application/x-web-app-manifest+json'12 Rack::Mime::MIME_TYPES['.webapp'] = 'application/x-web-app-manifest+json'
12 13
test/lib/docs/core/url_test.rb+1−1
@@ -197,7 +197,7 @@ class DocsUrlTest < MiniTest::Spec · 196 unmodified lines
197 end197 end
198 198
199 it "returns nil with 'http://example.com'" do199 it "returns nil with 'http://example.com'" do
200 assert_equal nil, url.subpath_to('http://example.com')200 assert_nil url.subpath_to('http://example.com')
201 end201 end
202 end202 end
203 203