fast_attributes 0.5.0.rc2 → 0.5.0

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: a28b7232008137b1c12eff7d9f3428abc3f19787
4
- data.tar.gz: 12599ab645b73a082b47560be594a9be1cd78694
3
+ metadata.gz: df43794163ccd923b67e1f17a133965d0939b244
4
+ data.tar.gz: 76aee962119c46c15b1cc85ab3685cc772fd56be
5
5
  SHA512:
6
- metadata.gz: 0dea100aca631e2d8befc607fe4618c4ffa3794037ceb1078745eddc099a7882aa19ffdbdd4ad422d1fffc145f9f850c72ce8f83dfd6c262dfa268ef99d46e1a
7
- data.tar.gz: 5cec57af50df5ac04f65d12f5d90f89c108672c1a66d4c1f743a37a011cd11e28328693616c45c93d264b054042b9df8c33db66d9de3631f02c1e4cc1b7a0b7b
6
+ metadata.gz: 363c14fc2f8a0a645ea63780f1a272cffc26ed702f66a1f51fa2b4d7d345a59f95bfbddc552a53d1b3309ba1feaaea35646c862e73356350ebc4ed18b618c1c8
7
+ data.tar.gz: 2fcc1830c83bd3721e57da383ca767da1c87292225c5db4406d940dee361d112fa205721d1251b0c069fe7ced1b848f8bc87cb6594c234e2aabd4d4c8d1bd901
data/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
- **0.5.0 (...)***
2
- * Allow to control any switch statements during typecasting usign new DSL.
1
+ **0.5.0 (July 16, 201)**
2
+ * Allow to control any switch statements during typecasting using new DSL.
3
3
 
4
4
  The default typecasting rule which `fast_attributes` generates for `String` is:
5
5
  ```ruby
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Kostyantyn
1
+ Copyright (c) 2014 AppLift GmbH
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -125,12 +125,11 @@ book.author
125
125
 
126
126
  Notice, that second parameter is a string. It's necessary because this code is compiled into a ruby method in runtime. The placeholder `%s` represents a value which this method accepts.
127
127
 
128
- If you need to refer to a placeholder twice, use a temporary variable.
128
+ It's possible to refer to a placeholder several times.
129
129
  ```ruby
130
130
  Size = Class.new(Array)
131
131
  FastAttributes.set_type_casting Size, <<-EOS
132
- _value = %s
133
- Size[_value, _value]
132
+ Size[%s, %s]
134
133
  EOS
135
134
 
136
135
  class Square
@@ -1,3 +1,3 @@
1
1
  module FastAttributes
2
- VERSION = '0.5.0.rc2'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.rc2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kostiantyn Stepaniuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,9 +122,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  version: 1.9.2
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - ">"
125
+ - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: 1.3.1
127
+ version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
130
  rubygems_version: 2.2.2