xdr 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d7c88a7dd30a60720917002c7a238a0d1781cc9
4
- data.tar.gz: 69c5a15f083799ec2fee989147db3850d9793d9f
3
+ metadata.gz: 96b9bbb13d9fa767c8f769b365c01e053e81e136
4
+ data.tar.gz: e9ec8112aa3942de27e64d7492b7e5b899ca831b
5
5
  SHA512:
6
- metadata.gz: c774093fd14082490eaba91816cc15be1f4682746af971a93ea2325e85190c4b016d6b54965daccc2952967d62801f777139e843f29ec468796e2ecb83370a64
7
- data.tar.gz: 6fa471950b0d18e20a7df376e8e0ff478d4000e3e0ff10db78c16c6c7a4ddd9f912ff0172d152d2af1f9beb9dac3f5b7b90fac31f8ad35697e42ae714268ea8b
6
+ metadata.gz: 923b026461a762e8820337eb785580e18619148a2fa33ff0768416e4ce26f18f671fe4d7edc6b2f10ccc6eceb1b54aaedee9ed605f253467f97b0a46f7547adb
7
+ data.tar.gz: 03d37401a170246dd8ad37ae4ff288191d040e2a01cbd86e0bce95bbefca662ddf9592f5a1ac9830c61c0cf673f2f3cfa5e14346c97dfa5432a47118e886aba6
data/.travis.yml CHANGED
@@ -8,4 +8,7 @@ rvm:
8
8
  - jruby-head
9
9
  notifications:
10
10
  slack:
11
- secure: yW9cyABKLeihw2KNiI7h0la2ghnj4aH06md8q1rqXuLZmOz2u2wiThF92vaWVA6xE3MBjEKWMS/qpQAvK7YJBQYZQxUVnLZWGzzt6k2VkMqqmy8gtZR5DhuThrvdVR8r4zOeoBe6NxhQP8lkC/efTip9eTMdquM7FIvRofQGdtI=
11
+ secure: fXYggrDRoLB/4yvyW0kWwyrV5yWa/GC0btPyGu7Hx6ZOaXDC+ejiXSfx7nRyY+uZBs5UF12O4gkUXwBbnWDT5JtQRxzZd5s0cyeGQfAakALexI+FuR2jDcV1prCCaYI4IYoUt61MlfDmuCYVm8hGZ3qsgk/GPHHPnZ8a1FBd2ls=
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: jruby-head
data/README.md CHANGED
@@ -98,7 +98,8 @@ See [ruby-stellar-base](http://github.com/stellar/ruby-stellar-base) for an exam
98
98
 
99
99
  ## Contributing
100
100
 
101
- 1. Fork it ( https://github.com/stellar/ruby-xdr/fork )
101
+ 1. Sign the [Contributor License Agreement](http://goo.gl/forms/6r7I4S0K4z)
102
+ 2. Fork it ( https://github.com/stellar/ruby-xdr/fork )
102
103
  2. Create your feature branch (`git checkout -b my-new-feature`)
103
104
  3. Commit your changes (`git commit -am 'Add some feature'`)
104
105
  4. Push to the branch (`git push origin my-new-feature`)
data/lib/xdr/dsl/enum.rb CHANGED
@@ -3,7 +3,6 @@ module XDR::DSL::Enum
3
3
  def member(name, value)
4
4
  raise ArgumentError, "#{self} is sealed" if self.sealed
5
5
  raise ArgumentError, "#{value} is not Fixnum" unless value.is_a?(Fixnum)
6
- raise ArgumentError, "#{value} is not >= 0" unless value >= 0
7
6
  raise ArgumentError, "#{value} is already used" unless
8
7
 
9
8
  name = name.to_s.underscore
data/lib/xdr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module XDR
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xdr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Fleckenstein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-07 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport