pkgwat 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -11,7 +11,7 @@ Installing pkgwat
11
11
  -----------------
12
12
 
13
13
  ```bash
14
- gem isntall pkgwat
14
+ gem install pkgwat
15
15
  ```
16
16
 
17
17
  Alternatively, if you're using a Gemfile, just add this:
@@ -23,6 +23,8 @@ gem 'pkgwat'
23
23
  Using pkgwat
24
24
  ------------
25
25
 
26
+ Inside your code, simply require rubygems and pkgwat. Then you use it like so:
27
+
26
28
  ```ruby
27
29
  Pkgwat.get_versions("rails")
28
30
 
@@ -30,5 +32,10 @@ Pkgwat.get_versions("rails")
30
32
  Pkgwat.check_gem("pry", "0.9.10", [Pkgwat::F16])
31
33
  ```
32
34
 
33
- We also plan to add some rake tasks so you can check that your bundler gems are
34
- available in Fedora/EPEL repos either locally or as part of a test suite.
35
+ ### Rake Tasks
36
+
37
+ To check your gems in bundler against Fedora repos, run:
38
+
39
+ ```bash
40
+ rake pkgwat:check
41
+ ```
@@ -3,9 +3,5 @@ require 'rails'
3
3
  module MyPlugin
4
4
  class Railtie < Rails::Railtie
5
5
  railtie_name :pkgwat
6
-
7
- rake_tasks do
8
- load "tasks/pkgwat.rake"
9
- end
10
6
  end
11
7
  end
@@ -1,3 +1,3 @@
1
1
  module Pkgwat
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: pkgwat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  segments:
141
141
  - 0
142
- hash: -806542677671798657
142
+ hash: 3460093334398033452
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  none: false
145
145
  requirements:
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: -806542677671798657
151
+ hash: 3460093334398033452
152
152
  requirements: []
153
153
  rubyforge_project: pkgwat
154
154
  rubygems_version: 1.8.24