discombobulator 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.
Files changed (3) hide show
  1. data/README.md +21 -1
  2. data/discombobulator.gemspec +2 -2
  3. metadata +2 -2
data/README.md CHANGED
@@ -8,8 +8,28 @@ Don't you hate seeing this in your face when working on your next $1,000,000,000
8
8
  NoMethodError: undefined method `+' for nil:NilClass
9
9
  ```
10
10
 
11
- Well fear no more, discombobulator is here to save the day!
11
+ Don't you hate when people keep calling methods you clearly marked as [DEPRECATED] in the source code?
12
12
 
13
13
  ```
14
+ NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
15
+ ```
16
+
17
+ Well fear no more, discombobulator is here to save the day!
18
+
19
+ ```ruby
14
20
  gem 'discombobulator'
21
+
22
+ class NilClass
23
+ def method_missing(meth, *args, &block)
24
+ Discombobulator.new.call(meth, *args, &block)
25
+ end
26
+ end
27
+
28
+ class Gem
29
+
30
+ # READ TEH SOURCE CODEZ AND LOGZ. THIS IS [DEPRECATED].
31
+ def source_index
32
+ return Discombobulator.new if Time.now > Time.new(2011, 11, 01)
33
+ end
34
+ end
15
35
  ```
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "discombobulator"
7
- spec.version = "0.1.0"
7
+ spec.version = "0.1.1"
8
8
  spec.authors = ["Paweł Obrok", "Norbert Wojtowicz"]
9
9
  spec.email = ["pawel.obrok@gmail.com", "wojtowicz.norbert@gmail.com"]
10
10
  spec.summary = "Discombobulate for the greater good!"
11
11
  spec.description = spec.summary
12
- spec.homepage = ""
12
+ spec.homepage = "https://github.com/obrok/discombobulator"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discombobulator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -64,7 +64,7 @@ files:
64
64
  - lib/discombobulator/super_call.rb
65
65
  - lib/discombobulator/super_polymorphic.rb
66
66
  - lib/discombobulator/swap_globals.rb
67
- homepage: ''
67
+ homepage: https://github.com/obrok/discombobulator
68
68
  licenses:
69
69
  - MIT
70
70
  post_install_message: