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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e771c5df9cf2bfe2be0bae51ca86318a24ac20104164d87a4df7bcb7848884c3
4
- data.tar.gz: 1772a71701e9ce492f871a92aa9fcb1c595819e0df802b215071f74f4c87325e
3
+ metadata.gz: 238e14dcedd8405b6c07e38ac76221ee3312b473985c9ce4de3323542667e962
4
+ data.tar.gz: 839fdb886247d8f35af842a7b1b3e1854e5d52ddd4b5a050b466f41285dafe9c
5
5
  SHA512:
6
- metadata.gz: 1736e377cb6fcf121cb7b76b514c51df2f42b7095a40d6af5c855aa5774c9c06099bab7cc02747ba8c78ba14b1dfa64f51080f23f9df6a0080062108f2b3b360
7
- data.tar.gz: de1a410db0893d8811cdbfd15a92615857fda13e284bc2d4e6350e39b7492d89b05541cc1645dc527c85bbd017ffdd0d37a478f4285dd7641d8fee08e70a9a67
6
+ metadata.gz: 299bc2c941232744fc9e0e8648b4ac48f2505c0a98249d3e38184037f1e5b1bb03c1ed17324388a9e4f58c71f606a2ae7481b35d99b34be43a63b3241b83eaf5
7
+ data.tar.gz: 679c23e1b6d4411af7f63d6c04511d567a21c64c1dc628a25dd979d604b10b6ab2e731abeb3af18f6a87497d927d2027af5c947d409b7056d65938b5ff66c3b7
@@ -7,10 +7,10 @@ script:
7
7
  - bundle exec rubocop
8
8
  - bundle exec rake test
9
9
  rvm:
10
- - 2.2
11
10
  - 2.3.3
12
11
  - 2.4.0
13
12
  - 2.5.0
13
+ - 2.6.1
14
14
  - ruby-head
15
15
  - jruby-head
16
16
  - rbx-3
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2016 Cyril Kato
3
+ Copyright (c) 2015-2019 Cyril Kato
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -21,16 +21,7 @@
21
21
 
22
22
  ## Installation
23
23
 
24
- __Defi__ is cryptographically signed.
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](http://sashite.com/img/sashite.png)](http://sashite.com/)
92
+ [![Sashite](https://sashite.com/img/sashite.png)](https://sashite.com/)
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
@@ -0,0 +1 @@
1
+ 4d07dfc4a08dd053d718b3d092a1e368d396d4325a5b392927fe8d5c7feba2687b78001f42046b303c78bc5afc805f6bcc824807c38be329b0162f563b68cb7c
@@ -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', '~> 1.16'
19
+ spec.add_development_dependency 'bundler', '~> 2.0'
20
20
  spec.add_development_dependency 'rake', '~> 12.3'
21
- spec.add_development_dependency 'rubocop', '~> 0.58'
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
@@ -34,7 +34,7 @@ module Defi
34
34
  def to_h
35
35
  {
36
36
  method: @method,
37
- args: @args
37
+ args: @args
38
38
  }
39
39
  end
40
40
  end
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
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
- - certs/gem-fixrb-public_cert.pem
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: '1.16'
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: '1.16'
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.58'
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.58'
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
- rubyforge_project:
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/IsZAEZFgVjeXJpbDEVMBMGCgmSJomT8ixkARkWBWVt
6
- YWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6hUE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