rom-couchdb 0.1.0 → 0.2.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: 8da918149d6b9e7f3fcaf2be59e248a85412c761
4
- data.tar.gz: c8bbf55bce104b0749e0b24233dcee7422099eb8
3
+ metadata.gz: 3c12169b87332b4ecf44de1ce766ff01d96b4593
4
+ data.tar.gz: f27a78af2e51a61f64690c258b48e797bc1c46cc
5
5
  SHA512:
6
- metadata.gz: c4fdad583c91fb7656a306366ed68775403fcc27cec198449041f086740900d9bb6d820d783dafa2510e5600cd52a121ec5d51a99bb7fd41d243b4bd36f047ba
7
- data.tar.gz: 7fd6573ecd427e38f0ae9cccfc8905ef77092183969615c2007e077199a8bf3fba759f12c5d4a84ca2aa5374674baaf469a1c56ab2e9ff8644d7874d4a10b164
6
+ metadata.gz: 7e9dae6d2785e68e43af1924c209e56640c3aff4b6934110e03592b9305bc254e976f2ddc5447a82b5cf44e4e1723934cecafffa96484f38cd7107f2b09a2266
7
+ data.tar.gz: 9af4f55b68b54cfec06db16afa53b59212c9aca4238d5ab4088061d8eb250861c8979346def7c10f9989ce431b5414a1fd5618fda37d50a05d2489a2dcf02025
data/.rubocop.yml CHANGED
@@ -1,6 +1,10 @@
1
1
  AllCops:
2
2
  Exclude:
3
3
  - 'rom-couchdb.gemspec'
4
+ - 'bin/*'
5
+
6
+ Style/Documentation:
7
+ Exclude:
4
8
  - 'test/cases/unit/*'
5
9
  - 'test/cases/integration/*'
6
10
  - 'test/support/*'
data/Gemfile CHANGED
@@ -7,4 +7,5 @@ group :test do
7
7
  gem 'rom', git: 'https://github.com/rom-rb/rom.git', branch: 'master'
8
8
  gem 'byebug'
9
9
  gem 'activesupport'
10
+ gem 'rubocop'
10
11
  end
data/README.md CHANGED
@@ -1,11 +1,16 @@
1
1
  # Rom::CouchDB
2
2
 
3
- [![Build Status](https://travis-ci.org/hmadison/rom-couchdb.svg)](https://travis-ci.org/hmadison/rom-couchdb)
3
+ [![Build Status](https://travis-ci.org/hmadison/rom-couchdb.svg)](https://travis-ci.org/hmadison/rom-couchdb) [![Gem Version](https://badge.fury.io/rb/rom-couchdb.svg)](http://badge.fury.io/rb/rom-couchdb)
4
4
 
5
- Work in progress for CouchDB support for ROM. Uses [couchrest](https://github.com/couchrest/couchrest) as the connection adapter.
5
+ Experimental CouchDB support for ROM. Uses [couchrest](https://github.com/couchrest/couchrest) as the connection adapter.
6
+
7
+ ## Installing
8
+
9
+ Add `gem 'rom-couchdb'` to your Gemfile.
6
10
 
7
11
  ## Example
8
12
 
13
+
9
14
  ```ruby
10
15
  class Color
11
16
  attr_reader :name, :code, :id, :rev
data/Rakefile CHANGED
@@ -1,7 +1,10 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rake/testtask'
3
+ require 'rubocop/rake_task'
3
4
 
4
- task default: [:test]
5
+ task default: [:test, :rubocop]
6
+
7
+ RuboCop::RakeTask.new
5
8
 
6
9
  Rake::TestTask.new do |t|
7
10
  t.libs << 'test'
@@ -1,6 +1,6 @@
1
1
  module ROM
2
2
  # CouchDB support for ROM
3
3
  module CouchDB
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.0'
5
5
  end
6
6
  end
data/rom-couchdb.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'rom', '~> 0.6.2'
21
+ spec.add_runtime_dependency 'rom', '~> 0.7.0'
22
22
  spec.add_runtime_dependency 'couchrest'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.9'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-couchdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunter Madison
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-04 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rom
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.2
19
+ version: 0.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.6.2
26
+ version: 0.7.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: couchrest
29
29
  requirement: !ruby/object:Gem::Requirement