acts_as_crazy 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a7e3871605c396f8e7102d046b347eecebcfbea2cb9e74c9413edb72a5d870c
4
- data.tar.gz: 2261ac6cc49fd005a13b4f778c6c2ea4c3475b6adae04cb6893e2e4961a40baa
3
+ metadata.gz: 7126c1826cac3599ede99c491db02ac9376e232471582a3c30dde42705ba62b1
4
+ data.tar.gz: 3819b6edb765752e7e34821865d708f71eb45cea9663402363e6d557c6bde3d2
5
5
  SHA512:
6
- metadata.gz: d4a7b17aca6be2bed33c072faf02d0aa135ffc326e93e8fddcb4f821b3306017be0aaab6c026efae527f4d2134f892aedc2ddfa88ef890727f8db3856eff7dfd
7
- data.tar.gz: d7ac7e5d14a33f26c996f94864a2b861d27f6ca84a314056013b8152d36318640089f3a79b68802dcdfd241d24e2039f7f8b22670ad5cc85145081aff2af5cb5
6
+ metadata.gz: 795f41b06424fbb60b870c0fc8c39756fc40525aa93d019a3ed442d646da674e363f02e3cc9a849bbdd0a976ad87cbb769b69dc32966cb78a81993b3198ac20a
7
+ data.tar.gz: ec5e9f95488e290408ee090626c26a9d66fa078c4f56c230d54d3d968dcaf31f71cc7ab2c83a17dcc059b731d9d632251eb6177edcffdcb8958bb974e88b614f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- acts_as_crazy (0.4.1)
4
+ acts_as_crazy (0.4.2)
5
5
  faker (> 1.9)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -40,13 +40,13 @@ To enable `acts_as_crazy` simply call `acts_as_crazy` in the scope of a ruby cla
40
40
  end
41
41
  ```
42
42
 
43
- then whenever you call a method in an instance of that class you'll get random errors:
43
+ then whenever you call a method in an instance of that class you'll get random errors with facts about Chuck Norris:
44
44
 
45
45
  ```
46
- Foo.some_method
46
+ [10] pry(main)>Foo.some_method
47
+ ActsAsCrazy::CrazyError: Sorry, I'm crazy. Did you know that Chuck Norris doesn't delete files, he blows them away.
47
48
  ```
48
49
 
49
-
50
50
  ## Development
51
51
 
52
52
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -55,4 +55,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
55
55
 
56
56
  ## Contributing
57
57
 
58
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/acts_as_crazy.
58
+ Bug reports and pull requests are welcome on GitHub at https://github.com/idelahoz/acts_as_crazy.
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = "Just a crazy gem to do crazy stuff"
13
13
  spec.description = "acts_as_crazy makes your objects do crazy things at random moments"
14
- spec.homepage = "http://github.com/idelahoz"
14
+ spec.homepage = "http://github.com/idelahoz/acts_as_crazy"
15
15
 
16
16
  # Specify which files should be added to the gem when it is released.
17
17
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -12,12 +12,11 @@ module ActsAsCrazy
12
12
 
13
13
  method_names = e.methods - Object.new.methods
14
14
  method_names.each do |method_name|
15
- e.define_singleton_method :woof do |*args, &block|
15
+ e.define_singleton_method method_name do |*args, &block|
16
16
  do_something_crazy
17
17
  super(*args, &block)
18
18
  end
19
19
  end
20
-
21
20
  e
22
21
  end
23
22
  end
@@ -1,3 +1,3 @@
1
1
  module ActsAsCrazy
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_crazy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Israel De La Hoz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faker
@@ -87,7 +87,7 @@ files:
87
87
  - lib/acts_as_crazy/configuration.rb
88
88
  - lib/acts_as_crazy/crazy.rb
89
89
  - lib/acts_as_crazy/version.rb
90
- homepage: http://github.com/idelahoz
90
+ homepage: http://github.com/idelahoz/acts_as_crazy
91
91
  licenses: []
92
92
  metadata: {}
93
93
  post_install_message: