kwattr 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/README.md +1 -1
  4. data/lib/kwattr.rb +1 -1
  5. data/test.rb +6 -0
  6. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef3443445900c18ce80cf33cd00e1b96f9d5dc22
4
- data.tar.gz: b3296c9d24f5f0b3660cbd98881d4a06bb2db240
3
+ metadata.gz: 61721e21a4931b993ff18921d3b9394e0fbcd4bb
4
+ data.tar.gz: acb2bf765ffafe8a6a6f4e6a46ede82d506f1dff
5
5
  SHA512:
6
- metadata.gz: 44bdf502e0a2036bc34563f5ea8d8cd97dbc4843ed563140551002bfa2c8261b3142d9ec16cb289c29334c7eccf9897e0e7ebf24e5ba4e59f42e12c2f019f1df
7
- data.tar.gz: 088ef1c83c21c54d021b5caa98a234745677600bf6a2d46d7f454f38d329f301359db2cc8cdb6a80c7414b944b9343f0defcc88297d2b6303b7b04cfd75f02ae
6
+ metadata.gz: 025b7eb42a06621e0999d1840ccb4b9455ec83989388986a09079b0437a580b36f3aed0b6d2aa511af7766d98f06afdd297fbbfa7ed334fa0508dc290ab9517e
7
+ data.tar.gz: 8c76eb114593e993dd020657a55b8e6f1d64d7fa0b10534f797c8529d9837e74b7188e9d9604295423e4f944ae3bc8cd676de109871b0bb3b42ff88c40ebf656
@@ -2,7 +2,11 @@ language: ruby
2
2
  before_install:
3
3
  - gem install bundler
4
4
  rvm:
5
- - 2.1.7
6
- - 2.2.3
7
- - rbx-2
8
- - jruby-9.0.1.0
5
+ - 2.1.10
6
+ - 2.2.5
7
+ - 2.3.1
8
+ - rbx-3
9
+ - jruby-9.1.5.0
10
+ matrix:
11
+ allow_failures:
12
+ - rvm: rbx-3
data/README.md CHANGED
@@ -73,7 +73,7 @@ FooBar2.new
73
73
 
74
74
  ## compatibility
75
75
 
76
- * **Ruby 2.2** and **JRuby 9000** are fully supported.
76
+ * **Ruby 2.3**, **Ruby 2.2** and **JRuby 9000** are fully supported.
77
77
 
78
78
  * **Ruby 2.1** is supported, but exceptions don't include keywords from `super`.
79
79
 
@@ -1,5 +1,5 @@
1
1
  class KWAttr < Module
2
- VERSION = "0.5.0"
2
+ VERSION = "1.0.0"
3
3
 
4
4
  def initialize
5
5
  @required = []
data/test.rb CHANGED
@@ -1,4 +1,10 @@
1
1
  require 'kwattr'
2
+ puts "kwattr v#{KWAttr::VERSION}"
3
+
4
+ def p(value)
5
+ super if $DEBUG
6
+ value
7
+ end
2
8
 
3
9
  class Test
4
10
  kwattr :foo, :bar
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kwattr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - "Étienne Barrié"
7
+ - Étienne Barrié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-08 00:00:00.000000000 Z
11
+ date: 2016-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.4.5.1
110
+ rubygems_version: 2.5.1
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: attr_reader + initialize with keyword arguments