marco-polo 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OThiOWQyNzU3ODBkOTYwZTYyY2JlOTQ2ODU4NzZiZTUxYmM5ODcxYw==
5
- data.tar.gz: !binary |-
6
- OGY1NjgyNjA4ZjRkNzZmMWEyNGI1ZWY1NmUzN2NmMjgzMmY1ODczZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- YmYzYTE5Nzk3ZjQ0YTJkMmVjNDZmOTJjNzNhYzdjOTQyMzVjY2MzN2ZkMDJl
10
- NjNiMmZiM2U4MzVjMWU5OGE5MDU1MWVhYWFlN2ViMGFjNThhMjkxNGUyNTky
11
- NjBmYzM5Njk2YmJlMTY4NWEzN2YzMzg3MzM4Y2ZhNmQzMDRiNjM=
12
- data.tar.gz: !binary |-
13
- OGM5ZTFmMzlhNzU4NTZiNDJjZTI5NjYyZTA4MjZmMDU3OWQ4ZDZhM2I4NDMx
14
- NGIwNTZmYThhMTRjMDg5N2EwZTY5OTRkMmRjZTI4MjJiMDZlY2ZmODBlY2Ew
15
- OTIwNzVkZDc2ZmI2MmM2Y2ZiM2JiMGIyZGE2NGU5Y2IwMDJhYzQ=
2
+ SHA256:
3
+ metadata.gz: 50dd1df0a275f83ae348e7e5c9a0faa7760092cc4fbdc106954eaadda2af95b7
4
+ data.tar.gz: d9421c652013115b2cc4bcbd58a139b311fb32e98f4c853e13fd4c7b04463d49
5
+ SHA512:
6
+ metadata.gz: 9e447e8b10840838f245d4474a382be29fd5fd9d75249e5e2f8a48bfbb4842d7f8397d9fb02ae22d7c655acf34881b23079baaed41576326a872c028cfda0ecc
7
+ data.tar.gz: 44afe66bfda50c0c1226b55fe53a455c2c1d89908d8d8502053aec2a1c8c4648dc5c5496574191693ae805cb54c55a3bc636b6d21802877f7e0072e823e4c1fc
data/CHANGELOG CHANGED
@@ -1,2 +1,3 @@
1
+ 2.0.0 Rails 6 support
1
2
  1.2.1 Less hacky railtie
2
3
  1.2.0 Add ability to customize app name in prompt via ENV
@@ -5,7 +5,7 @@ elsif Rails and Rails.env
5
5
  end
6
6
 
7
7
  if rails_env
8
- current_app = ENV["MARCO_POLO_APP_NAME"] || Rails.application.class.parent_name.underscore.gsub("_", "-")
8
+ current_app = ENV["MARCO_POLO_APP_NAME"] || Rails.application.class.module_parent_name.underscore.gsub("_", "-")
9
9
 
10
10
  # shorten some common long environment names
11
11
  rails_env = "dev" if rails_env == "development"
@@ -1,3 +1,3 @@
1
1
  module MarcoPolo
2
- VERSION = "1.2.1"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require File.expand_path('../lib/marco-polo/version', __FILE__)
3
2
 
4
3
  Gem::Specification.new do |gem|
@@ -6,7 +5,6 @@ Gem::Specification.new do |gem|
6
5
 
7
6
  gem.authors = ["Chris Doyle"]
8
7
  gem.email = ["archslide@gmail.com"]
9
- gem.email = "archslide@gmail.com"
10
8
 
11
9
  gem.description = "MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production"
12
10
  gem.summary = "MarcoPolo shows your app name and environment in your console prompt"
@@ -15,5 +13,5 @@ Gem::Specification.new do |gem|
15
13
  gem.license = 'MIT'
16
14
 
17
15
  gem.files = `git ls-files`.split($\)
18
- gem.require_paths = ["lib"]
16
+ gem.add_runtime_dependency "railties", ">= 6"
19
17
  end
metadata CHANGED
@@ -1,18 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marco-polo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Doyle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-02 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2019-12-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '6'
13
27
  description: MarcoPolo shows your app name and environment in your console prompt
14
28
  so you don't accidentally break production
15
- email: archslide@gmail.com
29
+ email:
30
+ - archslide@gmail.com
16
31
  executables: []
17
32
  extensions: []
18
33
  extra_rdoc_files: []
@@ -33,17 +48,16 @@ require_paths:
33
48
  - lib
34
49
  required_ruby_version: !ruby/object:Gem::Requirement
35
50
  requirements:
36
- - - ! '>='
51
+ - - ">="
37
52
  - !ruby/object:Gem::Version
38
53
  version: '0'
39
54
  required_rubygems_version: !ruby/object:Gem::Requirement
40
55
  requirements:
41
- - - ! '>='
56
+ - - ">="
42
57
  - !ruby/object:Gem::Version
43
58
  version: '0'
44
59
  requirements: []
45
- rubyforge_project:
46
- rubygems_version: 2.0.7
60
+ rubygems_version: 3.0.3
47
61
  signing_key:
48
62
  specification_version: 4
49
63
  summary: MarcoPolo shows your app name and environment in your console prompt