nrser 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nrser/version.rb +1 -1
- data/lib/nrser.rb +2 -2
- data/spec/nrser/indent_spec.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0613f5168e67281b8c906735f9866e32d8fd4a99
|
4
|
+
data.tar.gz: dfca12ed21073bd7477b80eca9dccde08b6459a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fc0b83a8f905dabd559fad5f403f95585f1c46186e522c1557fbc509d3bdc5c0333dcbe1e977b3bd8edb216387a5233e68ab86347e4993e1e1f7923b39b17f5
|
7
|
+
data.tar.gz: 0db67a3bdf45e0e891748cf1ad1701c210f21187f9a0a16ef2ab480d9fe8edd0c96e243616bd5b708741ca0c01137459ce5401380e26fc5ee9b4934c3f05cc1f
|
data/lib/nrser/version.rb
CHANGED
data/lib/nrser.rb
CHANGED
data/spec/nrser/indent_spec.rb
CHANGED
@@ -32,6 +32,20 @@ end
|
|
32
32
|
def f x
|
33
33
|
x * x
|
34
34
|
end
|
35
|
+
BLOCK
|
36
|
+
end
|
37
|
+
|
38
|
+
it "accepts arguments to the refinement of String" do
|
39
|
+
expect(
|
40
|
+
<<-BLOCK.indent(4)
|
41
|
+
def f x
|
42
|
+
x * x
|
43
|
+
end
|
44
|
+
BLOCK
|
45
|
+
).to eq <<-BLOCK
|
46
|
+
def f x
|
47
|
+
x * x
|
48
|
+
end
|
35
49
|
BLOCK
|
36
50
|
end
|
37
51
|
end # indent
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nrser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nrser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|