dymos 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 408c57bc4b5bc1b6a83e14f53cb1e69071e885b0
4
+ data.tar.gz: eaf61ec14a52d888980e478d45aa91180bdd0536
5
+ SHA512:
6
+ metadata.gz: bd4d7dbab18afeba617102abe889732658458aac36b119b5c5f5d7c5b5a0288d44040f27ca437dbfdf079610e3e719280dcdee59f16c3a490cdc374c704382a9
7
+ data.tar.gz: b4f0eafab6f9c8346c2d986a189f7038b5cc8f67534289eebb1aa1a1ea45cef7d47b8178529ce8b54ae491195fdc794d17d62ecd3c81240547a4ae31fe883bf0
data/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ .idea/
16
+ /vendor/bundle
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --warnings
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ cache: bundler
3
+ before_script: 'bundle exec fake_dynamo -d .fake_dynamo.db -P .fake_dynamo.pid -D'
4
+ script: 'bundle exec rake'
5
+ after_script: 'kill `cat .fake_dynamo.pid`'
6
+ rvm:
7
+ - 2.1.0
8
+ - 2.1.1
9
+ - 2.1.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in dymos.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 hoshina85
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Dymos
2
+ [![Build Status](https://travis-ci.org/hoshina85/dymos.svg?branch=master)](https://travis-ci.org/hoshina85/dymos)
3
+ [![Coverage Status](https://coveralls.io/repos/hoshina85/dymos/badge.png?branch=master)](https://coveralls.io/r/hoshina85/dymos?branch=master)
4
+
5
+ dynamodb model
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'dymos'
13
+ ```
14
+
15
+ install it yourself as:
16
+
17
+ $ gem install dymos
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( https://github.com/[my-github-username]/dymos/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,13 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require "bundler/gem_tasks"
3
+ require 'rubygems'
4
+ require 'rake'
5
+ $:.unshift File.join(File.dirname(__FILE__), "lib")
6
+
7
+ require 'rspec/core'
8
+ require 'rspec/core/rake_task'
9
+
10
+ task :default => :spec
11
+
12
+ desc "Run all specs in spec directory"
13
+ RSpec::Core::RakeTask.new(:spec)
data/dymos.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'dymos/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "dymos"
8
+ spec.version = Dymos::VERSION
9
+ spec.authors = ["hoshina85"]
10
+ spec.email = ["hoshina85@gmail.com"]
11
+ spec.summary = %q{aws-sdk-core-ruby dynamodb client wrapper}
12
+ spec.description = %q{aws-sdk-core-ruby dynamodb client wrapper}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "fake_dynamo"
25
+ spec.add_development_dependency "coveralls"
26
+ spec.add_development_dependency "activemodel", '~> 4.1.5'
27
+
28
+ spec.add_dependency "aws-sdk-core", "2.0.0.rc15"
29
+ end
data/lib/dymos.rb ADDED
@@ -0,0 +1,8 @@
1
+ require "dymos/model"
2
+ require "dymos/version"
3
+
4
+ module Dymos
5
+ def self.model
6
+ Dymos::Model
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Dymos
2
+ module Attribute
3
+
4
+ end
5
+ end
@@ -0,0 +1,110 @@
1
+ require 'aws-sdk-core'
2
+ require 'active_model'
3
+
4
+ module Dymos
5
+ class Model
6
+ include ActiveModel::Model
7
+
8
+ def initialize(params={})
9
+ @attributes = {}
10
+ super
11
+ end
12
+
13
+ def self.field(attr, type = :string)
14
+ define_method(attr) { read_attribute(attr) }
15
+ define_method("#{attr}_type") { type }
16
+ define_method("#{attr}?") { !read_attribute(attr).nil? }
17
+ define_method("#{attr}=") { |value| write_attribute(attr, value) }
18
+ end
19
+
20
+ def self.table(name)
21
+ define_method('table_name') { name }
22
+ end
23
+
24
+ def attributes=(attributes = {})
25
+ if attributes
26
+ attributes.each do |attr, value|
27
+ write_attribute(attr, value)
28
+ end
29
+ end
30
+ end
31
+
32
+ def attributes
33
+ attrs = {}
34
+ @attributes.keys.each do |name|
35
+ attrs[name] = read_attribute(name)
36
+ end
37
+ attrs
38
+ end
39
+
40
+ def self.all
41
+ klass = new
42
+ result = klass.dynamo.scan({table_name: klass.table_name})
43
+ result.data[:items].map! { |data|
44
+ model = Object.const_get(klass.class_name).new
45
+ model.attributes=data
46
+ model
47
+ }
48
+ end
49
+
50
+ def self.find(key1, key2=nil, consistent_read: true)
51
+ klass = new
52
+ indexes = klass.global_indexes
53
+ keys={}
54
+ keys[indexes.first[:attribute_name]] = key1
55
+ keys[indexes.last[:attribute_name]] = key2 if indexes.size > 1
56
+
57
+ res = klass.dynamo.get_item(
58
+ table_name: klass.table_name,
59
+ key: keys,
60
+ # attributes_to_get: klass.attributes.keys,
61
+ consistent_read: consistent_read,
62
+ return_consumed_capacity: 'TOTAL'
63
+ )
64
+ klass.attributes = res.data.item
65
+ klass
66
+ end
67
+
68
+ def save
69
+ items = {}
70
+ attributes.each do |k, v|
71
+ if v != nil
72
+ items[k] =v
73
+ end
74
+ end
75
+ result = dynamo.put_item(
76
+ table_name: table_name,
77
+ item: items,
78
+ return_values: "ALL_OLD"
79
+ )
80
+ !result.error
81
+ end
82
+
83
+ def describe_table
84
+ @scheme ||= dynamo.describe_table(table_name: table_name)
85
+ end
86
+
87
+ def global_indexes
88
+ describe_table.data[:table][:key_schema]
89
+ end
90
+
91
+ def dynamo
92
+
93
+ @client ||= Aws::DynamoDB::Client.new
94
+ end
95
+
96
+ def class_name
97
+ self.class.name
98
+ end
99
+
100
+ private
101
+ def read_attribute(name)
102
+ @attributes[name.to_sym]
103
+ end
104
+
105
+ def write_attribute(name, value)
106
+ @attributes[name.to_sym] = value
107
+ end
108
+
109
+ end
110
+ end
@@ -0,0 +1,3 @@
1
+ module Dymos
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,195 @@
1
+ describe Dymos::Model do
2
+ class DummyUser < Dymos::Model
3
+ table :dummy
4
+ field :id, :string
5
+ field :name, :string
6
+ field :email, :string
7
+ field :list, :string_set
8
+
9
+ validates :id, :presence => true
10
+ validates :name, :presence => true, length: {maximum: 8}
11
+ validates :email, :presence => true, format: {with: /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i}
12
+ end
13
+
14
+ class DummyPost < Dymos::Model
15
+ table :post
16
+ field :id, :number
17
+ field :body, :string
18
+ validates :id, :presence => true
19
+ validates :body, :presence => true, length: {maximum: 256}
20
+ end
21
+
22
+ def sample_user_hash
23
+ {id: 'hoge', name: '太郎', email: 'hoge@example.net', list: Set['a', 'b', 'c']}
24
+ end
25
+
26
+ before :all do
27
+ Aws.config[:region] = 'us-west-1'
28
+ Aws.config[:endpoint] = 'http://localhost:4567'
29
+ Aws.config[:access_key_id] = 'XXX'
30
+ Aws.config[:secret_access_key] = 'XXX'
31
+ client = Aws::DynamoDB::Client.new
32
+
33
+ client.delete_table(table_name: 'dummy') if client.list_tables[:table_names].include?('dummy')
34
+ client.create_table(
35
+ table_name: 'dummy',
36
+ attribute_definitions: [
37
+ {attribute_name: 'id', attribute_type: 'S'}
38
+ ],
39
+ key_schema: [
40
+ {attribute_name: 'id', key_type: 'HASH'}
41
+ ],
42
+ provisioned_throughput: {
43
+ read_capacity_units: 1,
44
+ write_capacity_units: 1,
45
+ })
46
+ client.put_item(table_name: 'dummy', item: {id: 'hoge', name: '太郎', list: Set['a', 'b', 'c']})
47
+ client.put_item(table_name: 'dummy', item: {id: 'fuga', name: '次郎'})
48
+ client.put_item(table_name: 'dummy', item: {id: 'piyo', name: '三郎'})
49
+
50
+ client.delete_table(table_name: 'post') if client.list_tables[:table_names].include?('post')
51
+ client.create_table(
52
+ table_name: 'post',
53
+ attribute_definitions: [
54
+ {attribute_name: 'id', attribute_type: 'S'},
55
+ {attribute_name: 'timestamp', attribute_type: 'N'},
56
+ ],
57
+ key_schema: [
58
+ {attribute_name: 'id', key_type: 'HASH'},
59
+ {attribute_name: 'timestamp', key_type: 'RANGE'},
60
+ ],
61
+ provisioned_throughput: {
62
+ read_capacity_units: 1,
63
+ write_capacity_units: 1,
64
+ })
65
+ end
66
+
67
+ # let(:model) { Dummy.new }
68
+
69
+ describe Dymos do
70
+ it "dymos.model" do
71
+ expect(Dymos::model.name).to eq('Dymos::Model')
72
+ end
73
+ end
74
+
75
+ describe :new do
76
+
77
+ describe :field do
78
+ it 'fieldで名前と型を定義' do
79
+ model = DummyUser.new
80
+ expect(model.methods).to include(:id, :id=, :id?, :id_type, :name, :name=, :name?, :name_type)
81
+ model.id = 123
82
+ expect(model.id).to eq(123)
83
+ model.name = '太郎'
84
+ expect(model.name).to eq('太郎')
85
+ expect(model.name?).to eq(true)
86
+ expect(model.name_type).to eq(:string)
87
+
88
+
89
+ model = DummyPost.new
90
+ expect(model.id).to eq(nil)
91
+ expect(model.methods).to include(:id, :id=, :id?, :id_type, :body, :body, :body?, :body_type)
92
+ expect(model.methods).not_to include(:name)
93
+
94
+ end
95
+ end
96
+
97
+ it 'コンストラクタで定義' do
98
+ model = DummyUser.new(sample_user_hash)
99
+ expect(model.id).to eq('hoge')
100
+ expect(model.name).to eq('太郎')
101
+ expect(model.email).to eq('hoge@example.net')
102
+ expect(model.list).to eq(Set['a', 'b', 'c'])
103
+ end
104
+
105
+ end
106
+
107
+ describe :validate do
108
+ it 'バリデート' do
109
+ model = DummyUser.new(id: 'hoge', name: '', email: 'hoge')
110
+ expect(model.valid?).to eq(false)
111
+ model.name='太郎'
112
+ expect(model.valid?).to eq(false)
113
+ model.email='hoge@example.net'
114
+ expect(model.valid?).to eq(true)
115
+ end
116
+ end
117
+
118
+ describe :attributes= do
119
+ it 'まとめて代入' do
120
+ model = DummyUser.new
121
+ model.attributes = sample_user_hash
122
+ expect(model.id).to eq('hoge')
123
+ expect(model.name).to eq('太郎')
124
+ expect(model.email).to eq('hoge@example.net')
125
+ expect(model.list).to eq(Set['a', 'b', 'c'])
126
+ end
127
+ end
128
+
129
+ describe :attributes do
130
+ it 'まとめて取得' do
131
+ model = DummyUser.new(sample_user_hash)
132
+ expect(model.attributes).to eq(sample_user_hash)
133
+ end
134
+ end
135
+
136
+ describe :dynamo, :order => :defined do
137
+
138
+ describe :describe do
139
+ it "table情報を得る" do
140
+ model = DummyUser.new
141
+ expect(model.describe_table[:table][:table_name]).to eq('dummy')
142
+ expect(model.describe_table[:table][:key_schema].first[:attribute_name]).to eq('id')
143
+ expect(model.describe_table[:table][:key_schema].first[:key_type]).to eq('HASH')
144
+ end
145
+ end
146
+
147
+ describe :global_indexes do
148
+ it "キー情報" do
149
+ model = DummyUser.new
150
+ expect(model.global_indexes.first[:attribute_name]).to eq('id')
151
+ expect(model.global_indexes.first[:key_type]).to eq('HASH')
152
+
153
+ model = DummyPost.new
154
+ expect(model.global_indexes.first[:attribute_name]).to eq('id')
155
+ expect(model.global_indexes.first[:key_type]).to eq('HASH')
156
+ expect(model.global_indexes.last[:attribute_name]).to eq('timestamp')
157
+ expect(model.global_indexes.last[:key_type]).to eq('RANGE')
158
+ end
159
+ end
160
+
161
+ describe :find do
162
+ it "ユーザを抽出" do
163
+ user = DummyUser.find('hoge')
164
+ expect(user.id).to eq('hoge')
165
+ expect(user.name).to eq('太郎')
166
+ end
167
+ end
168
+
169
+ describe :save do
170
+ it '書き込み' do
171
+ user = DummyUser.new
172
+ user.id = 'aiueo'
173
+ user.name = '四郎'
174
+ result = user.save
175
+ expect(result).to eq(true)
176
+ end
177
+ end
178
+
179
+ describe :all do
180
+ it "すべてのユーザを抽出" do
181
+ users = DummyUser.all
182
+ expect(users.size).to eq(4)
183
+ end
184
+ end
185
+
186
+ describe :find do
187
+ it "ユーザを抽出" do
188
+ user = DummyUser.find('hoge')
189
+ expect(user.id).to eq('hoge')
190
+ expect(user.name).to eq('太郎')
191
+ end
192
+ end
193
+ end
194
+ end
195
+
@@ -0,0 +1,81 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+ # This file was generated by the `rspec --init` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
6
+ # file to always be loaded, without a need to explicitly require it in any files.
7
+ #
8
+ # Given that it is always loaded, you are encouraged to keep this file as
9
+ # light-weight as possible. Requiring heavyweight dependencies from this file
10
+ # will add to the boot time of your test suite on EVERY test run, even for an
11
+ # individual file that may not need all of that loaded. Instead, make a
12
+ # separate helper file that requires this one and then use it only in the specs
13
+ # that actually need it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ Dir[File.join(File.dirname(__FILE__), "..", "lib", "**/*.rb")].each{|f| require f }
20
+
21
+
22
+ RSpec.configure do |config|
23
+ # The settings below are suggested to provide a good initial experience
24
+ # with RSpec, but feel free to customize to your heart's content.
25
+ # These two settings work together to allow you to limit a spec run
26
+ # to individual examples or groups you care about by tagging them with
27
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
28
+ # get run.
29
+ config.filter_run :focus
30
+ config.run_all_when_everything_filtered = true
31
+
32
+ # Many RSpec users commonly either run the entire suite or an individual
33
+ # file, and it's useful to allow more verbose output when running an
34
+ # individual spec file.
35
+ if config.files_to_run.one?
36
+ # Use the documentation formatter for detailed output,
37
+ # unless a formatter has already been configured
38
+ # (e.g. via a command-line flag).
39
+ config.default_formatter = 'doc'
40
+ end
41
+
42
+ # Print the 10 slowest examples and example groups at the
43
+ # end of the spec run, to help surface which specs are running
44
+ # particularly slow.
45
+ config.profile_examples = 10
46
+
47
+ # Run specs in random order to surface order dependencies. If you find an
48
+ # order dependency and want to debug it, you can fix the order by providing
49
+ # the seed, which is printed after each run.
50
+ # --seed 1234
51
+ config.order = :random
52
+
53
+ # Seed global randomization in this process using the `--seed` CLI option.
54
+ # Setting this allows you to use `--seed` to deterministically reproduce
55
+ # test failures related to randomization by passing the same `--seed` value
56
+ # as the one that triggered the failure.
57
+ Kernel.srand config.seed
58
+
59
+ # rspec-expectations config goes here. You can use an alternate
60
+ # assertion/expectation library such as wrong or the stdlib/minitest
61
+ # assertions if you prefer.
62
+ config.expect_with :rspec do |expectations|
63
+ # Enable only the newer, non-monkey-patching expect syntax.
64
+ # For more details, see:
65
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
66
+ expectations.syntax = :expect
67
+ end
68
+
69
+ # rspec-mocks config goes here. You can use an alternate test double
70
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
71
+ config.mock_with :rspec do |mocks|
72
+ # Enable only the newer, non-monkey-patching expect syntax.
73
+ # For more details, see:
74
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
75
+ mocks.syntax = :expect
76
+
77
+ # Prevents you from mocking or stubbing a method that does not exist on
78
+ # a real object. This is generally recommended.
79
+ mocks.verify_partial_doubles = true
80
+ end
81
+ end
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dymos
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - hoshina85
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: fake_dynamo
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coveralls
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: activemodel
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 4.1.5
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 4.1.5
97
+ - !ruby/object:Gem::Dependency
98
+ name: aws-sdk-core
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.0.rc15
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 2.0.0.rc15
111
+ description: aws-sdk-core-ruby dynamodb client wrapper
112
+ email:
113
+ - hoshina85@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
121
+ - Gemfile
122
+ - LICENSE.txt
123
+ - README.md
124
+ - Rakefile
125
+ - dymos.gemspec
126
+ - lib/dymos.rb
127
+ - lib/dymos/attribute.rb
128
+ - lib/dymos/model.rb
129
+ - lib/dymos/version.rb
130
+ - spec/lib/dymos/model_spec.rb
131
+ - spec/spec_helper.rb
132
+ homepage: ''
133
+ licenses:
134
+ - MIT
135
+ metadata: {}
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 2.2.0
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: aws-sdk-core-ruby dynamodb client wrapper
156
+ test_files:
157
+ - spec/lib/dymos/model_spec.rb
158
+ - spec/spec_helper.rb