activerecord-nuodb-adapter 1.0.0.rc.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc
CHANGED
@@ -25,8 +25,8 @@ Create a user in the database:
|
|
25
25
|
Install our Gems; the following shows how to do this if you have copies
|
26
26
|
of the gems locally, but is easier if you install them from rubygems.org.
|
27
27
|
|
28
|
-
gem install nuodb-1.0.0.
|
29
|
-
gem install activerecord-nuodb-adapter-1.0.0.
|
28
|
+
gem install nuodb-1.0.0.gem
|
29
|
+
gem install activerecord-nuodb-adapter-1.0.0.gem
|
30
30
|
|
31
31
|
Prepare a sample application:
|
32
32
|
|
@@ -35,8 +35,8 @@ Prepare a sample application:
|
|
35
35
|
|
36
36
|
Add the following Gems to your Gemfile:
|
37
37
|
|
38
|
-
gem 'nuodb', '=1.0.0
|
39
|
-
gem 'activerecord-nuodb-adapter', '=1.0.0
|
38
|
+
gem 'nuodb', '=1.0.0'
|
39
|
+
gem 'activerecord-nuodb-adapter', '=1.0.0'
|
40
40
|
|
41
41
|
Update your config/database.yml file as follows:
|
42
42
|
|
@@ -83,11 +83,11 @@ To compile and test run this command:
|
|
83
83
|
|
84
84
|
== INSTALLING THE GEM
|
85
85
|
|
86
|
-
gem install activerecord-nuodb-adapter-1.0.0.
|
86
|
+
gem install activerecord-nuodb-adapter-1.0.0.gem
|
87
87
|
|
88
88
|
Or from the source tree:
|
89
89
|
|
90
|
-
gem install pkg/activerecord-nuodb-adapter-1.0.0.
|
90
|
+
gem install pkg/activerecord-nuodb-adapter-1.0.0.gem
|
91
91
|
|
92
92
|
Or you can do this using Rake:
|
93
93
|
|
@@ -116,26 +116,26 @@ Run the tests:
|
|
116
116
|
|
117
117
|
Tag the product using tags per the SemVer specification; our tags have a v-prefix:
|
118
118
|
|
119
|
-
git tag -a v1.0.0
|
119
|
+
git tag -a v1.0.0 -m "SemVer Version: v1.0.0"
|
120
120
|
git push --tags
|
121
121
|
|
122
122
|
If you make a mistake, take it back quickly:
|
123
123
|
|
124
|
-
git tag -d v1.0.0
|
125
|
-
git push origin :refs/tags/v1.0.0
|
124
|
+
git tag -d v1.0.0
|
125
|
+
git push origin :refs/tags/v1.0.0
|
126
126
|
|
127
127
|
===PUBLISHING
|
128
128
|
|
129
129
|
Here are the commands used to publish:
|
130
130
|
|
131
|
-
gem push pkg/nuodb-1.0.0.
|
131
|
+
gem push pkg/nuodb-1.0.0.gem
|
132
132
|
|
133
133
|
== INSPECTING THE GEM
|
134
134
|
|
135
135
|
It is often useful to inspect the contents of a Gem before distribution.
|
136
136
|
To do this you dump the contents of a gem thus:
|
137
137
|
|
138
|
-
gem unpack pkg/activerecord-nuodb-adapter-1.0.0.
|
138
|
+
gem unpack pkg/activerecord-nuodb-adapter-1.0.0.gem
|
139
139
|
|
140
140
|
== RUNNING ACTIVE RECORD COMPLIANCE TEST SUITES
|
141
141
|
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.add_dependency('activerecord', '~> 3.2.8')
|
18
18
|
gem.add_development_dependency('rake', '~> 0.9')
|
19
19
|
gem.add_development_dependency('rdoc', '~> 3.10')
|
20
|
-
gem.add_dependency('nuodb', '~> 1.0.0
|
20
|
+
gem.add_dependency('nuodb', '~> 1.0.0')
|
21
21
|
|
22
22
|
gem.files = `git ls-files`.split($\)
|
23
23
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-nuodb-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Robert Buck
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.0.0
|
69
|
+
version: 1.0.0
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.0.0
|
77
|
+
version: 1.0.0
|
78
78
|
description: An adapter for ActiveRecord and AREL to support the NuoDB distributed
|
79
79
|
database backend.
|
80
80
|
email:
|
@@ -117,9 +117,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
119
119
|
requirements:
|
120
|
-
- - ! '
|
120
|
+
- - ! '>='
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
122
|
+
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
125
|
rubygems_version: 1.8.23
|