flex_array 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: cb0e2598e518e574d21b0a5e5de9dea1189f735b
4
- data.tar.gz: e606ee6ff4d0534806f2e3cc7fe2c856165ced56
3
+ metadata.gz: 057e0c5de2e5c5b8aa9e5f843fb8c23b59fc738f
4
+ data.tar.gz: 18fa12c8236e09de40c5926e1461a66bf1408ada
5
5
  SHA512:
6
- metadata.gz: 1681e59f906deebb217eadd4e71b3c1c5f07654e60a3a015a5a15e294b4e048b1e54df2ab2d3c9206604151c2d01991499e8837ed38b3b7db82ffbea37754129
7
- data.tar.gz: dc833e48d0c0695d3c94135491bc99f0fbe7d5ce9c35767472b2249262f52b993e25cfcd35ea3b64a2cdd7aa0ae427a0f75d45752b732e708a33b87bda17893d
6
+ metadata.gz: 9af8a977c9def6b0c070c23a3246f2ed076398ee326b36634dfe8cb8516f3e4c014c16fa6c8a86c7306cbc1ae799b66d6c12774f68914e7a518619d9ddcedcb9
7
+ data.tar.gz: e087ab7528a539e6970565dd0ecdaa2403e7fe971ebeaa5b6663e145463f137a1de040155f7aeb3a345368a22f9dcf884e1985aa2935a5c370cd8093c2da96b4
data/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # The flex array gem.
2
+
3
+ This project contains the Ruby FlexArray gem. A gem used to facilitate the
4
+ creation and processing of multi-dimensional arrays in a flexible manner.
5
+
6
+ A lot more information on the operation of this gem may be found in the docs
7
+ folder in the Flex_Array_UG, available in both open office (.odt) and portable
8
+ document (.pdf) formats.
Binary file
Binary file
@@ -7,7 +7,7 @@ class FlexArray
7
7
  #* true if the arrays are compatible.
8
8
  def compatible?(other)
9
9
  @array_specs == other.array_specs
10
- rescue Exception
10
+ rescue
11
11
  false
12
12
  end
13
13
 
@@ -3,5 +3,5 @@
3
3
  #* version.rb - The version string for flex array.
4
4
  class FlexArray
5
5
  #The version string for flex array.
6
- VERSION = "0.3.2"
6
+ VERSION = "0.3.3"
7
7
  end
@@ -19,5 +19,10 @@ class FlexArrayValidateTester < Minitest::Test
19
19
  refute(f.compatible?(h))
20
20
  refute(f.compatible?(i))
21
21
  refute(f.compatible?(j))
22
+
23
+ assert(j.compatible?([1,2,3]))
24
+ refute(j.compatible?([1,2,3,4]))
25
+
26
+ refute(f.compatible?(42))
22
27
  end
23
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flex_array
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Camilleri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-20 00:00:00.000000000 Z
11
+ date: 2016-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -117,6 +117,7 @@ extra_rdoc_files:
117
117
  files:
118
118
  - ".gitignore"
119
119
  - Gemfile
120
+ - README.md
120
121
  - docs/Flex_Array_UG.odt
121
122
  - docs/Flex_Array_UG_Version_0_3_0.pdf
122
123
  - flex_array
@@ -141,7 +142,6 @@ files:
141
142
  - lib/flex_array/version.rb
142
143
  - license.txt
143
144
  - rakefile.rb
144
- - readme.txt
145
145
  - reek.txt
146
146
  - sire.rb
147
147
  - tests/array_test.rb
data/readme.txt DELETED
@@ -1,2 +0,0 @@
1
- This project contains the Ruby FlexArray gem. A gem used to facilitate the
2
- creation and processing of multi-dimensional arrays in a flexible manner.