info 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/info/rails.rb +8 -2
- data/lib/info/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d8d02c03196fc9bed43b79a667312c808298f9e
|
4
|
+
data.tar.gz: 99450efb5ec8ec54e841181ba39fa020e87c2f59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 184a7ef13468463465255d9393d124e822b03e6fb1e6a4d0415c0663788f7d45d99993495db5a983e0ed0f635f5e8add1b33260f121c317655343f2cce00d789
|
7
|
+
data.tar.gz: b4f32affe4b559ccf84135f3c076f45640154d7d10c510feda911116caf348ddb4c65221de0f312d01b91c69cbdc712630f008eb397f3b44e0f0c585e3049cfb
|
data/lib/info/rails.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
require 'info'
|
2
2
|
|
3
3
|
Info.setup do
|
4
|
-
add 'Rails', Rails.version
|
5
|
-
add '
|
4
|
+
add 'Rails Version', Rails.version
|
5
|
+
add 'Rails Environment', Rails.env
|
6
|
+
add 'Ruby Version', "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})"
|
7
|
+
add 'RubyGems Version', Gem::RubyGemsVersion
|
8
|
+
add 'Rack Version', ::Rack.release
|
9
|
+
add 'Bundler Version', ::Bundler::VERSION
|
10
|
+
add 'JavaScript Runtime', ExecJS.runtime.name rescue nil
|
11
|
+
add 'Database Adapter', ActiveRecord::Base.connection.adapter_name rescue nil
|
6
12
|
add 'SSL', -> r { r.ssl? }
|
7
13
|
add 'Application Server', -> r { r.env['SERVER_SOFTWARE'] }
|
8
14
|
end
|
data/lib/info/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: execjs
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: A JSON endpoint with your Rails application info
|
70
84
|
email:
|
71
85
|
- fnando.vieira@gmail.com
|