hstorable 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/hstorable.gemspec +1 -1
- data/lib/hstorable/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: c874553273b1cbf393614239b89e00236e2c1c3a
|
4
|
+
data.tar.gz: a6fb909ca346822b2eb300b76bafefe4e6207c21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c860f75ec74fd58debae880de15bc75cd09bf1bf05e16fabfb21c3d86f37eaf333c3d14b1a366e894257021fd9e7a73bf919a9411997fa479a035dc90c00375b
|
7
|
+
data.tar.gz: 92f2d6fcfa6dff005bae22c07833e316971ebef4b2acb9a7b19e68a18832614ab13faa2a5ca1442f355493c2ab7b828f19968e971b9fafa7ec71e9e7ff7dbeac
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ This gem simplifies working wih fields stored using Hstore
|
|
7
7
|
To use hstorable you should add this line to your Gemfile:
|
8
8
|
|
9
9
|
```
|
10
|
-
gem 'hstorable', '~> 0.0.
|
10
|
+
gem 'hstorable', '~> 0.0.5'
|
11
11
|
```
|
12
12
|
|
13
13
|
Note, this gem depends on hsore extension of PostgreSQL. So, you should create this extension in your db:
|
@@ -55,10 +55,10 @@ Different types of models with different set of fields will be stored in one tab
|
|
55
55
|
|
56
56
|
```ruby
|
57
57
|
api = Api::OneApiWrapper.new(consumer_key: '743b57c3120b49b42588011066411d98', cosumer_secret: '743b57c3120b49b42588011066411d98')
|
58
|
-
api.cosumer_key # => 743b57c3120b49b42588011066411d98
|
59
|
-
api.cosumer_secret # => 743b57c3120b49b42588011066411d98
|
58
|
+
api.cosumer_key # => '743b57c3120b49b42588011066411d98'
|
59
|
+
api.cosumer_secret # => '743b57c3120b49b42588011066411d98'
|
60
60
|
api.save
|
61
|
-
api.update cosumer_key: 2afc9269f7ceb78533d6a2e2d72a14f9
|
61
|
+
api.update cosumer_key: '2afc9269f7ceb78533d6a2e2d72a14f9'
|
62
62
|
```
|
63
63
|
|
64
64
|
Cool, isn't?
|
data/hstorable.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["sergey.a.tsvetkov@gmail.com"]
|
11
11
|
spec.summary = %q{This gem simplifies working wih fields stored using Hstore}
|
12
12
|
spec.description = %q{This gem simplifies working wih fields stored using Hstore}
|
13
|
-
spec.homepage = "
|
13
|
+
spec.homepage = "https://github.com/kimrgrey/hstorable"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split("\n")
|
data/lib/hstorable/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hstorable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Tsvetkov
|
@@ -70,7 +70,7 @@ files:
|
|
70
70
|
- lib/hstorable/model_fields.rb
|
71
71
|
- lib/hstorable/simple_fields.rb
|
72
72
|
- lib/hstorable/version.rb
|
73
|
-
homepage:
|
73
|
+
homepage: https://github.com/kimrgrey/hstorable
|
74
74
|
licenses:
|
75
75
|
- MIT
|
76
76
|
metadata: {}
|