literate-programming 1.1.0 → 1.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: 0e9b0f7406805966440cc4ae3043db64a8d08add
4
- data.tar.gz: 67c2cc7eee3a515cb6d75a371c5e3dc79a17f4e1
3
+ metadata.gz: d716e3eee85691414104767329c0f58c53d328b3
4
+ data.tar.gz: acb7fcb7599934fe3ab6ac1a3ad09fa2edafbe76
5
5
  SHA512:
6
- metadata.gz: 9742cc495c710c0737f81104f6c0c299b17670f1a7f4529d0ad2e390afc119237248f5cf719cfd6f60c6ad65ab42701902f5a80ce669b22d72e358f5899b263a
7
- data.tar.gz: 976a254e9595a2ad8e89a463cd7a2efbf9a7aa4cf8d795fee37bab841588e6b37c49b7da9056b78fdbb1ee77f427409a9be30c3618816fef790c9e86627ca35d
6
+ metadata.gz: 26abd3ded88bc2b2d6a735d8680be854b2966844695e8b106287901e49d880b201cdfa94493bbbef16a6960b6339668fd014727b28916ce162bfe3832cdf44ab
7
+ data.tar.gz: 0a987e8c2d0a4baab61d5c4b787bc42837bb53f02dfb3a52fafdaf3fc003b72530c0d21e91a11df5a5704a0a3cd5a16d48373d5ffe43c1ec0f7a72aa2d850e37
data/README.md CHANGED
@@ -116,7 +116,7 @@ Finally, call the main function.
116
116
  ```
117
117
 
118
118
  ### More Meta Method
119
- This gem also provides lisp-like macro. Use *before* label to define functions
119
+ This gem also provides lisp-like macro. Use `*before*` label to define functions
120
120
  that returns eval-able string.
121
121
 
122
122
  ```
@@ -1,5 +1,5 @@
1
1
  module Literate
2
2
  class Programming
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ module Literate
8
8
  @eval_context = BasicObject.new
9
9
  @eval_context.instance_eval <<-EOC
10
10
  def gensym
11
- return (0 .. 20).collect { ('a' .. 'z')[rand(26)] }.join
11
+ return (0 .. 20).collect { ('a' .. 'z').to_a[::Random.rand(26)] }.join
12
12
  end
13
13
  EOC
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: literate-programming
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pixie-grasper