defi 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/LICENSE.md +1 -1
- data/README.md +8 -13
- data/VERSION.semver +1 -1
- data/checksum/defi-1.1.4.gem.sha512 +1 -0
- data/defi.gemspec +2 -6
- data/lib/defi/challenge.rb +1 -1
- metadata +9 -11
- data/certs/gem-fixrb-public_cert.pem +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 238e14dcedd8405b6c07e38ac76221ee3312b473985c9ce4de3323542667e962
|
4
|
+
data.tar.gz: 839fdb886247d8f35af842a7b1b3e1854e5d52ddd4b5a050b466f41285dafe9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299bc2c941232744fc9e0e8648b4ac48f2505c0a98249d3e38184037f1e5b1bb03c1ed17324388a9e4f58c71f606a2ae7481b35d99b34be43a63b3241b83eaf5
|
7
|
+
data.tar.gz: 679c23e1b6d4411af7f63d6c04511d567a21c64c1dc628a25dd979d604b10b6ab2e731abeb3af18f6a87497d927d2027af5c947d409b7056d65938b5ff66c3b7
|
data/.travis.yml
CHANGED
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -21,16 +21,7 @@
|
|
21
21
|
|
22
22
|
## Installation
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
To be sure the gem you install hasn't been tampered with, add my public key (if you haven't already) as a trusted certificate:
|
27
|
-
|
28
|
-
$ gem cert --add <(curl -Ls https://raw.github.com/fixrb/defi/master/certs/gem-fixrb-public_cert.pem)
|
29
|
-
$ gem install defi -P HighSecurity
|
30
|
-
|
31
|
-
The `HighSecurity` trust profile will verify all gems. All of __Defi__'s dependencies are signed.
|
32
|
-
|
33
|
-
Or add this line to your application's Gemfile:
|
24
|
+
Add this line to your application's Gemfile:
|
34
25
|
|
35
26
|
```ruby
|
36
27
|
gem 'defi'
|
@@ -40,15 +31,19 @@ And then execute:
|
|
40
31
|
|
41
32
|
$ bundle
|
42
33
|
|
34
|
+
Or install it yourself as:
|
35
|
+
|
36
|
+
$ gem install defi
|
37
|
+
|
43
38
|
## Usage
|
44
39
|
|
45
|
-
Let's challenge `6` to be multiplied by seven
|
40
|
+
Let's challenge `6` to be multiplied by seven:
|
46
41
|
|
47
42
|
```ruby
|
48
43
|
Defi.send(:*, 7).to(6) # => 42
|
49
44
|
```
|
50
45
|
|
51
|
-
Now let's challenge `"foo"` to respond to a boom method
|
46
|
+
Now, let's challenge `"foo"` to respond to a `boom` method:
|
52
47
|
|
53
48
|
```ruby
|
54
49
|
Defi.send(:boom).to('foo') # NoMethodError: undefined method `boom' for "foo":String
|
@@ -94,4 +89,4 @@ See `LICENSE.md` file.
|
|
94
89
|
|
95
90
|
This project is sponsored by:
|
96
91
|
|
97
|
-
[![Sashite](
|
92
|
+
[![Sashite](https://sashite.com/img/sashite.png)](https://sashite.com/)
|
data/VERSION.semver
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
@@ -0,0 +1 @@
|
|
1
|
+
4d07dfc4a08dd053d718b3d092a1e368d396d4325a5b392927fe8d5c7feba2687b78001f42046b303c78bc5afc805f6bcc824807c38be329b0162f563b68cb7c
|
data/defi.gemspec
CHANGED
@@ -16,14 +16,10 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
17
17
|
spec.require_paths = ['lib']
|
18
18
|
|
19
|
-
spec.add_development_dependency 'bundler', '~>
|
19
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
20
20
|
spec.add_development_dependency 'rake', '~> 12.3'
|
21
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
21
|
+
spec.add_development_dependency 'rubocop', '~> 0.67'
|
22
22
|
spec.add_development_dependency 'simplecov', '~> 0.16'
|
23
23
|
spec.add_development_dependency 'spectus', '~> 3.0'
|
24
24
|
spec.add_development_dependency 'yard', '~> 0.9'
|
25
|
-
|
26
|
-
spec.cert_chain = ['certs/gem-fixrb-public_cert.pem']
|
27
|
-
private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem')
|
28
|
-
spec.signing_key = private_key if File.exist?(private_key)
|
29
25
|
end
|
data/lib/defi/challenge.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: defi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Kato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
12
|
-
date: 2018-08-26 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-04-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
@@ -17,14 +16,14 @@ dependencies:
|
|
17
16
|
requirements:
|
18
17
|
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
19
|
+
version: '2.0'
|
21
20
|
type: :development
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - "~>"
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
26
|
+
version: '2.0'
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
28
|
name: rake
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,14 +44,14 @@ dependencies:
|
|
45
44
|
requirements:
|
46
45
|
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0.
|
47
|
+
version: '0.67'
|
49
48
|
type: :development
|
50
49
|
prerelease: false
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
52
|
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0.
|
54
|
+
version: '0.67'
|
56
55
|
- !ruby/object:Gem::Dependency
|
57
56
|
name: simplecov
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,13 +113,13 @@ files:
|
|
114
113
|
- VERSION.semver
|
115
114
|
- bin/console
|
116
115
|
- bin/setup
|
117
|
-
- certs/gem-fixrb-public_cert.pem
|
118
116
|
- checksum/defi-0.1.0.gem.sha512
|
119
117
|
- checksum/defi-1.0.0.gem.sha512
|
120
118
|
- checksum/defi-1.1.0.gem.sha512
|
121
119
|
- checksum/defi-1.1.1.gem.sha512
|
122
120
|
- checksum/defi-1.1.2.gem.sha512
|
123
121
|
- checksum/defi-1.1.3.gem.sha512
|
122
|
+
- checksum/defi-1.1.4.gem.sha512
|
124
123
|
- defi.gemspec
|
125
124
|
- lib/defi.rb
|
126
125
|
- lib/defi/challenge.rb
|
@@ -144,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
143
|
- !ruby/object:Gem::Version
|
145
144
|
version: '0'
|
146
145
|
requirements: []
|
147
|
-
|
148
|
-
rubygems_version: 2.7.6
|
146
|
+
rubygems_version: 3.0.1
|
149
147
|
signing_key:
|
150
148
|
specification_version: 4
|
151
149
|
summary: Challenge library.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdjb250
|
3
|
-
YWN0MRUwEwYKCZImiZPyLGQBGRYFY3lyaWwxFTATBgoJkiaJk/IsZAEZFgVlbWFp
|
4
|
-
bDAeFw0xNTA3MzExMjExMDZaFw0xNjA3MzAxMjExMDZaMEAxEDAOBgNVBAMMB2Nv
|
5
|
-
bnRhY3QxFTATBgoJkiaJk/IsZAEZFg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