ruby_breaker 0.0.1 → 0.0.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
  !binary "U0hBMQ==":
3
- metadata.gz: 93a2686630a536c03f0029eaa435bbba58df2fe1
4
- data.tar.gz: f5519d1d5fadc136b9ee0d3c26b28b272b5e3e61
3
+ metadata.gz: b5985f6c12e7abc1a07185efc0c841237669fa02
4
+ data.tar.gz: 08f88e386adf323d1de461ea6af2a92fcf130f2f
5
5
  !binary "U0hBNTEy":
6
- metadata.gz: fbe6bf622df4771b9854d4a8ae4a823b328b54ef89066c6ce0a6303243cc4b56ef6c01ee4c831133f5c41e55dfe88a5bb46d0fb298b039f65bd82ae6a5df530e
7
- data.tar.gz: a9c2bfb6c9f4640f70b064aee51f8b36e77d45ae770112b4307da7c92bb03164f3d53953a88ded57fef0a8374dca7ed4e46034b47ac473959babcb95c0d0043e
6
+ metadata.gz: 06e70bbd0c6ed4675a7dcd448e944545a8b7d3b96b397ac2d56c7038578abc39527e3e9b1ba4383eba8879195cd9cae67c0fc04c8b666fc84afd9424768df1e1
7
+ data.tar.gz: 85be1e518cc68919e5d0e1f4fe240b458af22413f27ed38f91bf958f130a42bb50d72314d970a5f9b4af091d82b932e81f1b9da00f499e573758ec39cb29c294
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # RubyBreaker
2
2
 
3
- TODO: Write a gem description
3
+ It breaks Ruby. Not productive gem.
4
+
5
+ A process should not be exited.
6
+
4
7
 
5
8
  ## Installation
6
9
 
@@ -18,11 +21,11 @@ Or install it yourself as:
18
21
 
19
22
  ## Usage
20
23
 
21
- TODO: Write usage instructions here
24
+ $ RubyBreaker::Math.chaoticate!
22
25
 
23
26
  ## Contributing
24
27
 
25
- 1. Fork it ( http://github.com/<my-github-username>/ruby_breaker/fork )
28
+ 1. Fork it ( http://github.com/bekkou68/ruby_breaker/fork )
26
29
  2. Create your feature branch (`git checkout -b my-new-feature`)
27
30
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
31
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,3 +1,3 @@
1
1
  module RubyBreaker
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/ruby_breaker.rb CHANGED
@@ -3,7 +3,16 @@ require "ruby_breaker/version"
3
3
  module RubyBreaker
4
4
  class Math
5
5
  def self.chaoticate!
6
- eval 'module ::Math; PI = 100; end'
6
+ break_constants
7
+ end
8
+
9
+ def self.break_constants
10
+ eval <<-CODE
11
+ module ::Math
12
+ PI = 1.41421356
13
+ E = 1.7320508
14
+ end
15
+ CODE
7
16
  end
8
17
  end
9
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_breaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takumi Tsunokake