Skip to content
This repository
Browse code

updates to CHANGELOG, README, and Gemfile

  • Loading branch information...
commit 46ea3a630709397ed7eb01b5d52600a12a9c5a9e 1 parent a13549c
Justin Smestad jsmestad authored

Showing 5 changed files with 60 additions and 54 deletions. Show diff stats Hide diff stats

  1. +5 0 CHANGELOG
  2. +8 7 Gemfile
  3. +30 15 Gemfile.lock
  4. +12 22 README.rdoc
  5. +5 10 Rakefile
5 CHANGELOG
... ... @@ -1,3 +1,8 @@
  1 += 0.9.pre
  2 +
  3 + Internal:
  4 + * Updated development dependencies and Jeweler definitions (jsmestad)
  5 +
1 6 = 0.8.1
2 7 * Add Mongomatic::Base#insert and Mongomatic::Base#insert! (jsmestad)
3 8
15 Gemfile
... ... @@ -1,17 +1,18 @@
1 1 source "http://rubygems.org"
2 2 # Add dependencies required to use your gem here.
3 3 # Example:
4   -gem "activesupport", ">= 2.3.5"
5   -gem "mongo", "~> 1.1"
6   -gem "bson", "~> 1.1"
7   -gem "i18n", ">= 0.4.1"
  4 +gem "activesupport", ">= 3.0.0"
  5 +gem "mongo", ">= 1.2.4"
  6 +gem "bson", ">= 1.2.4"
  7 +gem "i18n", ">= 0.5.0"
8 8
9 9 # Add dependencies to develop your gem here.
10 10 # Include everything needed to run rake, tests, features, etc.
11 11 group :development do
12 12 gem "minitest", ">= 0"
13   - gem "autotest", ">=0"
14   - gem "bundler", "~> 1.0.0"
15   - gem "jeweler", "~> 1.5.1"
  13 + gem "bundler", "~> 1.0.11"
  14 + gem "jeweler", "~> 1.5.2"
16 15 gem "rcov", ">= 0"
  16 + gem (RUBY_VERSION =~ /^1\.9/ ? "ruby-debug19" : "ruby-debug")
  17 + gem "yard", "~> 0.6.5"
17 18 end
45 Gemfile.lock
... ... @@ -1,31 +1,46 @@
1 1 GEM
2 2 remote: http://rubygems.org/
3 3 specs:
4   - activesupport (3.0.3)
5   - autotest (4.4.5)
6   - bson (1.1.2)
  4 + activesupport (3.0.6)
  5 + archive-tar-minitar (0.5.2)
  6 + bson (1.3.0)
  7 + columnize (0.3.2)
7 8 git (1.2.5)
8   - i18n (0.4.2)
9   - jeweler (1.5.1)
  9 + i18n (0.5.0)
  10 + jeweler (1.5.2)
10 11 bundler (~> 1.0.0)
11 12 git (>= 1.2.5)
12 13 rake
13   - minitest (2.0.0)
14   - mongo (1.1.2)
15   - bson (>= 1.1.1)
  14 + linecache19 (0.5.12)
  15 + ruby_core_source (>= 0.1.4)
  16 + minitest (2.0.2)
  17 + mongo (1.3.0)
  18 + bson (>= 1.3.0)
16 19 rake (0.8.7)
17 20 rcov (0.9.9)
  21 + ruby-debug-base19 (0.11.25)
  22 + columnize (>= 0.3.1)
  23 + linecache19 (>= 0.5.11)
  24 + ruby_core_source (>= 0.1.4)
  25 + ruby-debug19 (0.11.6)
  26 + columnize (>= 0.3.1)
  27 + linecache19 (>= 0.5.11)
  28 + ruby-debug-base19 (>= 0.11.19)
  29 + ruby_core_source (0.1.5)
  30 + archive-tar-minitar (>= 0.5.2)
  31 + yard (0.6.6)
18 32
19 33 PLATFORMS
20 34 ruby
21 35
22 36 DEPENDENCIES
23   - activesupport (>= 2.3.5)
24   - autotest
25   - bson (~> 1.1)
26   - bundler (~> 1.0.0)
27   - i18n (>= 0.4.1)
28   - jeweler (~> 1.5.1)
  37 + activesupport (>= 3.0.0)
  38 + bson (>= 1.2.4)
  39 + bundler (~> 1.0.11)
  40 + i18n (>= 0.5.0)
  41 + jeweler (~> 1.5.2)
29 42 minitest
30   - mongo (~> 1.1)
  43 + mongo (>= 1.2.4)
31 44 rcov
  45 + ruby-debug19
  46 + yard (~> 0.6.5)
34 README.rdoc
Source Rendered
@@ -2,25 +2,25 @@
2 2
3 3 Mongomatic allows you to map your Ruby objects to Mongo documents. It is designed to be fast and simple.
4 4
5   -== 0.6.0 CHANGELOG NOTES
  5 +=== Release Notes
6 6
7   - !! THE ERROR CLASS HAS BEEN REWORKED IN THIS VERSION.
8   - !! DO NOT EXPECT YOUR UPGRADE TO BE SEAMLESS. NOTHING /SHOULD/
9   - !! BREAK BUT YOU SHOULD TEST THOROUGHLY.
  7 +This project follows semantic versioning as detailed here (http://semver.org/). This means that minor version bumps (0.x => 0.y) can break compatibility. Please see the CHANGELOG for upgrade notes.
10 8
11   - * Added methods to bring ActiveModel compliancy
  9 +=== Note on Patches/Pull Requests
12 10
13   - * Pulled in do_callback fix (no more NoMethodError catching)
14   -
15   - * Relaxed restrictions on dependencies
16   -
17   - * Reworked the Error class to mimic the ActiveModel style errors.
  11 +* Fork the project.
  12 +* Make your feature addition or bug fix.
  13 +* Add tests for it. This is important so I don't break it in a
  14 + future version unintentionally.
  15 +* Commit just the modifications, do not mess with Rakefile, VERSION, or CHANGELOG.
  16 +* Add a separate commit with modifications to the CHANGELOG file
  17 +* Send me a pull request. Bonus points for branches.
18 18
19 19 == What's different about Mongomatic?
20 20
21   -* Follows Mongo idioms wherever possible.
  21 +* Follows MongoDB idioms wherever possible.
22 22 * Only strives to do "just enough" and never too much.
23   -* When possible, we defer to Mongo. For example, there's no Mongomatic query API, instead you use the same query hash syntax you would with the Ruby Mongo driver.
  23 +* When possible, we defer to MongoDB. For example, there's no Mongomatic query API, instead you use the same query hash syntax you would with the Ruby MongoDB driver.
24 24 * No complex relationship management: if you want to model relationships then add your own finder methods.
25 25 * Minimal dependencies.
26 26
@@ -230,16 +230,6 @@ You can add your own observers to CollectionName using CollectionName.add_observ
230 230
231 231 It is worth noting that you should be careful the operations you perform on the instance of your class passed to the observer callbacks. Calling operations that invoke callbacks can result in an infinite loop if improperly structured.
232 232
233   -== Note on Patches/Pull Requests
234   -
235   -* Fork the project.
236   -* Make your feature addition or bug fix.
237   -* Add tests for it. This is important so I don't break it in a
238   - future version unintentionally.
239   -* Commit, do not mess with rakefile, version, or history.
240   - (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
241   -* Send me a pull request. Bonus points for topic branches.
242   -
243 233 == Copyright
244 234
245 235 Copyright (c) 2010 Ben Myles. See LICENSE for details.
15 Rakefile
@@ -5,19 +5,14 @@ begin
5 5 require 'jeweler'
6 6 Jeweler::Tasks.new do |gem|
7 7 gem.name = "mongomatic"
8   - gem.summary = %Q{Mongomatic is a simple Ruby object mapper for Mongo}
9   - gem.description = %Q{Mongomatic is a simple Ruby object mapper for Mongo}
  8 + gem.summary = %Q{Mongomatic is a modular Ruby object mapper for Mongo}
  9 + gem.description = %Q{Mongomatic is a modular Ruby object mapper for Mongo}
10 10 gem.email = "ben.myles@gmail.com"
11 11 gem.homepage = "http://mongomatic.com/"
12   - gem.authors = ["Ben Myles"]
13   - gem.files = ["lib/**/*.rb"]
14   - gem.add_development_dependency "minitest", "~> 2.0"
15   - gem.add_dependency "bson", "~> 1.1"
16   - gem.add_dependency "mongo", "~> 1.1"
17   - gem.add_dependency "activesupport", ">= 2.3.5"
18   - # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  12 + gem.authors = ["Ben Myles", "Justin Smestad"]
  13 + gem.license = "MIT"
19 14 end
20   - Jeweler::GemcutterTasks.new
  15 + Jeweler::RubygemsDotOrgTasks.new
21 16 rescue LoadError
22 17 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
23 18 end

0 comments on commit 46ea3a6

Please sign in to comment.
Something went wrong with that request. Please try again.