fast_attributes 0.2.0 → 0.2.1

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: c733dbbfc7afd222369f25c9db5870a364549e8d
4
- data.tar.gz: 22bd1f76a4b062a408d7d2c9ebf307e393f64c2b
3
+ metadata.gz: 3741f7522d58f064ba1baa5ed8ab951d79937c34
4
+ data.tar.gz: edccd37426c16b16e5b72e2edfbd4530f7fbc9dc
5
5
  SHA512:
6
- metadata.gz: ebfd89f2154c563f8bb5ab26c7b6ffcf62668b174f76717edd190660b6ff8af46e48d026e7ae08a61477c5df26c15bd7f8962d8f44bc9947f46fd0f1c2b96fa6
7
- data.tar.gz: 9992ea942ef045861f5920fa8ff4b23fa6f9f0e2bac5ea8ad95dc521a03fd8a9dd769fd7cd6c0b4a1c63d81c81d051d64e8266afb3f51fd58b28dab648cf8382
6
+ metadata.gz: 78890db35dab5b46ffb2285235ee35bcb34c90795131dcaeca93a2b76d8a411c098aaa5ea3538574529e14a310b76b983dbee76a7e175a89afa1fb91e735856e
7
+ data.tar.gz: f68831966a1291293bf34bfa506aaf38667b58084d8400dc65949876319381932db56cd0ca9fae89f7ee4734c69cb5412048cf60835455728080f8ec2d07a0e7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ **0.2.1 (June 27, 2014)**
2
+ * Set minimum ruby version to `1.9.2`
3
+
1
4
  **0.2.0 (June 27, 2014)**
2
5
  * Add `define_attributes` method which allows to generate `initialize` and `attributes`
3
6
  * Raise `FastAttributes::UnsupportedTypeError` error when unknown attribute type is specified
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
+ spec.required_ruby_version = '>= 1.9.2'
22
+
21
23
  spec.add_development_dependency 'bundler', '~> 1.5'
22
24
  spec.add_development_dependency 'rake'
23
25
  spec.add_development_dependency 'rspec', '~> 3.0.0'
@@ -36,7 +36,7 @@ module FastAttributes
36
36
  each_attribute do |attribute, _|
37
37
  @klass.class_eval <<-EOS, __FILE__, __LINE__ + 1
38
38
  def #{attribute} # def name
39
- @#{attribute} # @name
39
+ @#{attribute} # @name
40
40
  end # end
41
41
  EOS
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module FastAttributes
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kostiantyn Stepaniuk
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
- version: '0'
120
+ version: 1.9.2
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="