with_refinements 0.2.0 → 0.3.0

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: f18d8995a03d3979fc50076101c166bf181866148f3fe3a1b9dd0e32f7fed994
4
- data.tar.gz: b93e256827989dc0e67a08fba85f12a6da6bc7a16aa1c27709f66eea0b9eec66
3
+ metadata.gz: 611867f69c2201285532f3d052d239bc821f303d604e21a109c0256ce3fb0c47
4
+ data.tar.gz: 8ca90d2184a63a227e320f17f3b6b811ecac01b7828311d3cb337ac7401dd7dc
5
5
  SHA512:
6
- metadata.gz: 7fef70554e305fa8e3d18a2931b91b88b4952c011c97e8cd28674295e9205ef4929bf22c9a77cba7c0d42d4eace8a02767d0568726f14d4a6ce0cd6f5df154e5
7
- data.tar.gz: f8e736658cde638e74292de53274b23372422f16f9122becf410239f474fcabdb51261b6bccf6eae1adc6f5d9ee55edf2bb342baee65c3cc4769cd575a083508
6
+ metadata.gz: 0bfdf2f3a6e0b9c7a538e62f468ac9b614c64e8394d021c1f7f41ffe8499f6ef6888c60a73bddee9a8331edd0436bdfc4f59c4866b1696469d2e9081baa44bf1
7
+ data.tar.gz: c54ccecf2587ae16d6c15ea0d8ddb5e839e5e4eb1bee97ca087f01c7b16f5c903bdfb4fad84294fcd55b8682b6bcca1bfe07e27ab6832f3afd52d1c6b70a9c83
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,12 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- with_refinements (0.2.0)
4
+ with_refinements (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ power_assert (1.1.3)
9
10
  rake (10.5.0)
11
+ test-unit (3.2.8)
12
+ power_assert
10
13
 
11
14
  PLATFORMS
12
15
  ruby
@@ -14,6 +17,7 @@ PLATFORMS
14
17
  DEPENDENCIES
15
18
  bundler (~> 1.16)
16
19
  rake (~> 10.0)
20
+ test-unit
17
21
  with_refinements!
18
22
 
19
23
  BUNDLED WITH
data/Rakefile CHANGED
@@ -1,2 +1,10 @@
1
+ require "rake/testtask"
1
2
  require "bundler/gem_tasks"
2
- task :default => :spec
3
+
4
+ Rake::TestTask.new do |t|
5
+ t.libs << "test"
6
+ t.test_files = FileList['test/**/*_test.rb']
7
+ t.verbose = true
8
+ end
9
+
10
+ task default: :test
@@ -1,3 +1,3 @@
1
1
  module WithRefinements
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -16,6 +16,11 @@ module WithRefinements
16
16
  else
17
17
  ls[0], ls[-1] = ls[0][loc[1]..-1], ls[-1][0..loc[3]]
18
18
  end
19
+
20
+ # remove -> from -> {}
21
+ if ls[0].start_with?('->')
22
+ ls[0] = ls[0][2..-1]
23
+ end
19
24
  }.join
20
25
  end
21
26
  end
@@ -24,4 +24,5 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.16"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "test-unit"
27
28
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_refinements
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi
@@ -34,7 +34,7 @@ cert_chain:
34
34
  OKwDKKYe2ogJ/XrOjTltlugSNvq/NgD53wc4TA0F5KofdIZSJELTCUyyZMPztwI4
35
35
  OawPtyIyOegL6pM8fc7IfzLzjkdO3Bis1qFZcg==
36
36
  -----END CERTIFICATE-----
37
- date: 2018-07-31 00:00:00.000000000 Z
37
+ date: 2018-08-01 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: bundler
@@ -64,6 +64,20 @@ dependencies:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '10.0'
67
+ - !ruby/object:Gem::Dependency
68
+ name: test-unit
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
67
81
  description:
68
82
  email:
69
83
  - hanachin@gmail.com
metadata.gz.sig CHANGED
Binary file