pinfo-rails 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pinfo-rails.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b069c4a9b9d772a1b5672c8d9ca82c3fb4a7480b
|
4
|
+
data.tar.gz: c308bb87695bd33649dd54383cdc941659d3c935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bac0cf986f950a141341d24c4a24b6dd29f7008593f2e8da6496851dfe4a208eb3c7bb44628a2f8bd069c7225a8fff030f881225050fc5f215b741e89def02a
|
7
|
+
data.tar.gz: d1deee3864ecc9f80b8903f9117eccd81cb3e3e378d099fdef41ebf166495f7947dcd2338a45f319b1cacfaca7bf49adddedf6beebf25b9cf5327ab546ce0885
|
data/lib/pinfo-rails.rb
CHANGED
@@ -10,7 +10,7 @@ module PinfoRails
|
|
10
10
|
INFO = 'Rails project info'.freeze
|
11
11
|
DESC = 'A gem to collect informations from a Rails project'.freeze
|
12
12
|
AUTHORS = [ [ 'Mattia Roccoberton', 'mat@blocknot.es', 'http://blocknot.es' ] ].freeze
|
13
|
-
VERSION = [ 0, 1,
|
13
|
+
VERSION = [ 0, 1, 5 ].freeze
|
14
14
|
|
15
15
|
FILES = {
|
16
16
|
conf_db: 'config/database.yml',
|
@@ -24,7 +24,7 @@ module PinfoRails
|
|
24
24
|
}.freeze
|
25
25
|
PATTERNS = {
|
26
26
|
cache: /\A\s*config.cache_classes.*|\A\s*config.action_controller.perform_caching.*/,
|
27
|
-
deploy_info: /branch\s*,.*|user\s*,.*|domain\s*,.*|server
|
27
|
+
deploy_info: /branch\s*,.*|user\s*,.*|domain\s*,.*|server.*/,
|
28
28
|
deploy_tool: /'capistrano'|"capistrano|'capistrano-rails'|"capistrano-rails"|'mina'|"mina"/,
|
29
29
|
deploy_user: /user.*/,
|
30
30
|
rails: /'rails'.*|"rails".*/
|
@@ -49,7 +49,7 @@ module PinfoRails
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
printline( 'Ruby',
|
52
|
+
printline( 'Ruby', { color: :green, mode: :bold }, RUBY_VERSION, @options[:verbose] ? 'p' + RUBY_PATCHLEVEL.to_s : nil )
|
53
53
|
printline( 'Rails', { color: :green, mode: :bold }, grep( FILES[:gemfile], PATTERNS[:rails] ) )
|
54
54
|
check_requirements
|
55
55
|
check_database
|