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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdb823fe4d47819a988f0f6431954ae5836ff4bc
4
- data.tar.gz: c3dd0694a929293b0737101b19b3d31f70a288fb
3
+ metadata.gz: 6d8d02c03196fc9bed43b79a667312c808298f9e
4
+ data.tar.gz: 99450efb5ec8ec54e841181ba39fa020e87c2f59
5
5
  SHA512:
6
- metadata.gz: 0c49ddb39c4fd10319c2d78643e7dcf3c5b9637b346b8ff86a993e37b55d14166326007c8b0571937c42761e7691cb57f3cc1a3a1040cdd161f9df8d92bfae04
7
- data.tar.gz: 1042a6e85d3c66ff846f88c1f5c6979d739bc6e6d7ff61cdf2abcdeb00bcd7babe3fb7d224695d5be3c7b633a968c8d106497fa97965ca9a975b536ddf76579d
6
+ metadata.gz: 184a7ef13468463465255d9393d124e822b03e6fb1e6a4d0415c0663788f7d45d99993495db5a983e0ed0f635f5e8add1b33260f121c317655343f2cce00d789
7
+ data.tar.gz: b4f32affe4b559ccf84135f3c076f45640154d7d10c510feda911116caf348ddb4c65221de0f312d01b91c69cbdc712630f008eb397f3b44e0f0c585e3049cfb
@@ -1,8 +1,14 @@
1
1
  require 'info'
2
2
 
3
3
  Info.setup do
4
- add 'Rails', Rails.version
5
- add 'Database', ActiveRecord::Base.connection.adapter_name
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
@@ -1,3 +1,3 @@
1
1
  module Info
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
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.2
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