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 +4 -4
- data/.travis.yml +4 -1
- data/README.md +2 -1
- data/lib/xdr/dsl/enum.rb +0 -1
- data/lib/xdr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96b9bbb13d9fa767c8f769b365c01e053e81e136
|
|
4
|
+
data.tar.gz: e9ec8112aa3942de27e64d7492b7e5b899ca831b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|
|
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
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.
|
|
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-
|
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|