gem_fresh 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 563e8d2d986b8d974e4fcbfb1fb3c09e9a0cc125
4
- data.tar.gz: 310303c1f1d099669050b7d619c43681577e2da8
3
+ metadata.gz: 2deeca659d41796ea26f4b6bed0ef6e115c732c9
4
+ data.tar.gz: 775e5b4e6be6f1c53739a622f6808a759f5d49a7
5
5
  SHA512:
6
- metadata.gz: ef9184f6a7ef14df71c550eb9f9a738f33a64074f4b2c655dbb054d32e5a02fdf1a2c3fcfd62b10167a55862384491a42d40a80802cf88e768037005202c8d39
7
- data.tar.gz: 3aee268d62e854ac6ec8db896933894ee0c2c8efbcbb5150801da95a56dafb2eab8597ff3cb0a66366e8d1ea3de12e23e67a6ee8cae97cba21e8c9a3658af784
6
+ metadata.gz: 65094f85476f668380dc7b10ed6433036dbefc83e7f0bc909615d56f7ea6bae9fe70e18064a1b00f323520365a0a980c19e48bd337b02199ca2406e071756881
7
+ data.tar.gz: ded1915dd8ad5096672cbaeb54e7dd04f39e85dc33f996c036df8a1385f2123a2ff7877e9b9a5f115ef7b563ea3cc4bfa3468bf9d15d8609de7179f0bf4855cf
data/README.md CHANGED
@@ -4,7 +4,7 @@ The purpose of GemFresh is to expose useful information about how outdated your
4
4
 
5
5
  ## Setup
6
6
 
7
- Create a file called GemFresh.rb in the root directory of your application. Fill it out like this:
7
+ Create `config/initializers/gem_fresh.rb` for your Rails application. Fill it out like this:
8
8
 
9
9
  # Any gems that you put in the Gemfile should also be listed here.
10
10
  # The rake metrics:outdated_gems task calculates which gems are
@@ -38,30 +38,19 @@ Create a file called GemFresh.rb in the root directory of your application. Fil
38
38
 
39
39
  # We ignore these since we are in complete control of their update cycles.
40
40
  gems.that_are_private %w(
41
- dmc_server_admin
42
41
  job_state
43
42
  ...
44
43
  )
45
44
 
46
45
  end
47
46
 
48
- Then create a rake task like this:
49
-
50
- namespace :metrics do
51
- desc "display outdated gem version metrics"
52
- task :outdated_gems do
53
- GemFresh::Reporter.new.report
54
- end
55
- end
56
-
57
-
58
47
  ## Usage
59
48
 
60
49
  See information on your outdated gems by running the rake task:
61
50
 
62
- rake metrics:outdated_gems
51
+ rake gem_fresh:outdated
63
52
 
64
- This combines information from `bundle outdated` with the information in GemFresh.rb to give a weighted view as to how outdated your third-party Ruby code is and how much it matters.
53
+ This combines information from `bundle outdated` with the information in the GemFresh config to give a weighted view as to how outdated your third-party Ruby code is and how much it matters.
65
54
 
66
55
  Whenever you add a gem to your Gemfile, add it to GemFresh.rb so that the rake task knows how important the gem is.
67
56
 
@@ -5,10 +5,6 @@ module GemFresh
5
5
  class Railtie < Rails::Railtie
6
6
  railtie_name :gem_fresh
7
7
 
8
- puts "Woohoo, a GemFresh Railtie"
9
- puts "env? #{Rails.env}"
10
- puts GemFresh::Config.config
11
-
12
8
  rake_tasks do
13
9
  namespace :gem_fresh do
14
10
  desc "outdated"
@@ -1,3 +1,3 @@
1
1
  module GemFresh
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_fresh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anne Geiersbach