ambry 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Ambry Changelog
2
2
 
3
+ ## [0.2.0](https://github.com/norman/ambry/tree/0.2.0) - 2001-09-05 ([diff](https://github.com/norman/ambry/compare/0.1.2...0.2.0))
4
+
5
+ ### [Norman Clarke](https://github.com/norman)
6
+
7
+ * Always create a default in-memory adapter
8
+
3
9
  ## [0.1.2](https://github.com/norman/ambry/tree/0.1.1) - 2001-08-29 ([diff](https://github.com/norman/ambry/compare/0.1.1...0.1.2))
4
10
 
5
11
  ### [Norman Clarke](https://github.com/norman)
data/README.md CHANGED
@@ -15,9 +15,6 @@ quick samples.
15
15
 
16
16
  ## A quick tour
17
17
 
18
- # Initialize a default adapter.
19
- Ambry::Adapter.new
20
-
21
18
  # Create a model.
22
19
  class Country
23
20
  # Turn any Ruby object into a Ambry model by extending this module.
@@ -70,7 +67,7 @@ quick samples.
70
67
  ## Compatibility
71
68
 
72
69
  Ambry has been tested against these current Rubies, and is likely compatible
73
- with others. Note that 1.8.6 is not supported.
70
+ with others.
74
71
 
75
72
  * Ruby 1.8.7 - 1.9.3
76
73
  * Rubinius 1.2.x+
@@ -78,11 +75,9 @@ with others. Note that 1.8.6 is not supported.
78
75
 
79
76
  ## Author
80
77
 
81
- [Norman Clarke](mailto:norman@njclarke.com)
82
-
83
- ## Contributors
78
+ [Norman Clarke](mailto:norman@njclarke.com)
84
79
 
85
- Many thanks to Adrián Mugnolo for code review and feedback.
80
+ Many thanks to Adrián Mugnolo for initial code review and feedback.
86
81
 
87
82
  ## License
88
83
 
data/lib/ambry/version.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module Ambry
2
2
  module Version
3
3
  MAJOR = 0
4
- MINOR = 1
5
- TINY = 2
4
+ MINOR = 2
5
+ TINY = 0
6
6
  BUILD = nil
7
7
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
8
8
  end
data/lib/ambry.rb CHANGED
@@ -52,3 +52,5 @@ module Ambry
52
52
  end
53
53
  end
54
54
  end
55
+
56
+ Ambry::Adapter.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ambry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-29 00:00:00.000000000 -03:00
13
- default_executable:
12
+ date: 2011-09-05 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: ffaker
17
- requirement: &70300868631420 !ruby/object:Gem::Requirement
16
+ requirement: &70333211234400 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: '0'
23
22
  type: :development
24
23
  prerelease: false
25
- version_requirements: *70300868631420
24
+ version_requirements: *70333211234400
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: minitest
28
- requirement: &70300868630540 !ruby/object:Gem::Requirement
27
+ requirement: &70333211233680 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ~>
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: 2.2.2
34
33
  type: :development
35
34
  prerelease: false
36
- version_requirements: *70300868630540
35
+ version_requirements: *70333211233680
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: mocha
39
- requirement: &70300868629560 !ruby/object:Gem::Requirement
38
+ requirement: &70333211232940 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ! '>='
@@ -44,10 +43,10 @@ dependencies:
44
43
  version: '0'
45
44
  type: :development
46
45
  prerelease: false
47
- version_requirements: *70300868629560
46
+ version_requirements: *70333211232940
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: activesupport
50
- requirement: &70300868625940 !ruby/object:Gem::Requirement
49
+ requirement: &70333211232060 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ~>
@@ -55,10 +54,10 @@ dependencies:
55
54
  version: '3.0'
56
55
  type: :development
57
56
  prerelease: false
58
- version_requirements: *70300868625940
57
+ version_requirements: *70333211232060
59
58
  - !ruby/object:Gem::Dependency
60
59
  name: activemodel
61
- requirement: &70300868625020 !ruby/object:Gem::Requirement
60
+ requirement: &70333211231280 !ruby/object:Gem::Requirement
62
61
  none: false
63
62
  requirements:
64
63
  - - ~>
@@ -66,10 +65,10 @@ dependencies:
66
65
  version: '3.0'
67
66
  type: :development
68
67
  prerelease: false
69
- version_requirements: *70300868625020
68
+ version_requirements: *70333211231280
70
69
  - !ruby/object:Gem::Dependency
71
70
  name: rake
72
- requirement: &70300868621760 !ruby/object:Gem::Requirement
71
+ requirement: &70333211230900 !ruby/object:Gem::Requirement
73
72
  none: false
74
73
  requirements:
75
74
  - - ! '>='
@@ -77,7 +76,7 @@ dependencies:
77
76
  version: '0'
78
77
  type: :development
79
78
  prerelease: false
80
- version_requirements: *70300868621760
79
+ version_requirements: *70333211230900
81
80
  description: ! " Ambry is not an ORM, man! It's a database and ORM replacement
82
81
  for (mostly)\n static models and small datasets. It provides ActiveModel compatibility,
83
82
  and\n flexible searching and storage.\n"
@@ -118,7 +117,6 @@ files:
118
117
  - spec/mapper_spec.rb
119
118
  - spec/model_spec.rb
120
119
  - spec/spec_helper.rb
121
- has_rdoc: true
122
120
  homepage: http://github.com/norman/ambry
123
121
  licenses: []
124
122
  post_install_message:
@@ -139,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
137
  version: '0'
140
138
  requirements: []
141
139
  rubyforge_project: ! '[none]'
142
- rubygems_version: 1.6.2
140
+ rubygems_version: 1.8.6
143
141
  signing_key:
144
142
  specification_version: 3
145
143
  summary: An ActiveModel-compatible ORM-like library for storing model instances in