entasis 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +2 -2
- data/entasis.gemspec +0 -1
- data/lib/entasis/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NzE1YWI5ZDQ1NTdkNjA3MzZjODkwYjNkYWU1YWM3NWZlMzdiNDk4Y2RhMGUw
|
10
|
-
Y2Q5YjEzMjJmZTQzNjc1ZTJmNGRjMTFhNWQ4NDlmMDJkNjZiNjc3YmY5MGY4
|
11
|
-
MTk1ZTE0MWEyMWE2ZTg0NDU5ZTVjYWMxNjVjMTBmNmIwNWU5NTg=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZjYwMjdlOTBhNTMxMDJjNGU4NTE4ZDYwZDU1MjRlZGQ4NDE4NDBlZmMxZTRm
|
14
|
-
NzY1MWQ5YjdiNjA3ZGJjNGRhMDVhYWUwNzU1MTgxMTQ2MGEyNjQzOTljOTZk
|
15
|
-
MWFmZDVkNmI1NWYyYzljZTljM2ZkMDI2YjY0MmY0MGM3YWZiOTU=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b2d024019bec7d60bcc64433f1cc68fc508982c8
|
4
|
+
data.tar.gz: bda48fefa8c5e0e41bf04e37f984440e80ef23d2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cf3e4f9399f15b527720f388462e7d43dbb85bff3db2e570efe9ec48ad8a795809a3cf9a8812722f1a99c5f7abe0976c6fae3d1052836418cd18f59babc82d52
|
7
|
+
data.tar.gz: 31088b1f6d47a7c11e8f904e7233f9fb0f3c24aa7cf26d014c82d465f8ce560d595d40c4e9e20a5b1a79f44a783329b0687b66aded1aa1fd3c2ee8d2c2edac41
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ class Person
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
person = Person.new name: 'Hilda', age: '23', city: 'Stockholm'
|
24
|
+
person = Person.new name: 'Hilda', age: '23', city: 'Stockholm'
|
25
25
|
|
26
26
|
person.attribute_names # => ["name", "age", "city"]
|
27
27
|
person.attributes # => {"name"=>"Hilda", "age"=>23, "city"=>"Stockholm"}
|
@@ -67,7 +67,7 @@ Strict checking of attributes
|
|
67
67
|
-----------------------------
|
68
68
|
|
69
69
|
Default behavior is to ignore any key in the hash given to `.new` or `#attributes=` that's not in the list of attribute names.
|
70
|
-
By setting passing the option `strict: true` to the attribute definition it will raise an UnknownAttributeError for that class
|
70
|
+
By setting passing the option `strict: true` to the attribute definition it will raise an UnknownAttributeError for that class every time an unknown key is in the given hash.
|
71
71
|
|
72
72
|
|
73
73
|
Transposing keys
|
data/entasis.gemspec
CHANGED
@@ -12,7 +12,6 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.email = 'ingemar@xox.se'
|
13
13
|
s.homepage = "http://github.com/ingemar/entasis"
|
14
14
|
s.license = 'MIT'
|
15
|
-
s.required_ruby_version = '>= 1.9.3'
|
16
15
|
s.has_rdoc = true
|
17
16
|
s.files = Dir.glob("lib/**/*") + %w(Gemfile entasis.gemspec README.md HISTORY LICENSE)
|
18
17
|
s.test_files = Dir.glob('spec/*')
|
data/lib/entasis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entasis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ingemar Edsborn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -70,12 +70,12 @@ require_paths:
|
|
70
70
|
- lib
|
71
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '0'
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|