mongify 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.1.4 / 04 Mar 2011
2
+ * Changed gemspec to point to new homepage at 'http://mongify.com'
3
+ * Small change to attempt to fix issue in Ruby 1.9 (Mongify still doesn't work in 1.9, but making a step towards it)
1
4
  == 0.1.3 / 21 Feb 2011
2
5
  * Made all exception stem from MongifyError and system always raises a child of MongifyError.
3
6
  * Brought in the progress bar into source
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongify (0.1.3)
4
+ mongify (0.1.4)
5
5
  activerecord (>= 3.0.3)
6
6
  activesupport (>= 3.0.3)
7
7
  bson_ext (>= 1.1.5)
@@ -24,7 +24,7 @@ module Mongify
24
24
  hash = {}
25
25
  instance_variables.each do |variable|
26
26
  value = self.instance_variable_get variable
27
- hash[variable.gsub('@','').to_sym] = value unless value.nil?
27
+ hash[variable.to_s.gsub('@','').to_sym] = value unless value.nil?
28
28
  end
29
29
  hash
30
30
  end
@@ -1,4 +1,4 @@
1
1
  module Mongify
2
2
  # Mongify's Current Version Number
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
data/mongify.gemspec CHANGED
@@ -7,9 +7,9 @@ Gem::Specification.new do |s|
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Andrew Kalek"]
9
9
  s.email = ["andrew.kalek@anlek.com"]
10
- s.homepage = "http://github.com/anlek/mongify"
11
- s.summary = %q{Translate your SQL data to MongoDB}
12
- s.description = %q{Mongify allows you to map your sql data into a mongodb document database.}
10
+ s.homepage = "http://mongify.com"
11
+ s.summary = %q{Translate your SQL data to MongoDB with ease}
12
+ s.description = %q{Mongify allows you to map your sql data into a mongodb document database with a simple DSL.}
13
13
 
14
14
  s.default_executable = "mongify"
15
15
 
@@ -6,11 +6,13 @@ describe Mongify::Database::BaseConnection do
6
6
  end
7
7
  it "should set any allowed variable name that's passed" do
8
8
  @base_connection = Mongify::Database::BaseConnection.new(:host => 'blue', :adapter => 'good')
9
- @base_connection.instance_variables.should =~ ['@host', '@adapter']
9
+ @base_connection.host.should == 'blue'
10
+ @base_connection.adapter.should == 'good'
11
+ # @base_connection.instance_variables.should =~ ['@host', '@adapter']
10
12
  end
11
13
  it "should not set unknown variables on init" do
12
14
  @base_connection = Mongify::Database::BaseConnection.new(:apple => 'blue')
13
- @base_connection.instance_variables.should == []
15
+ @base_connection.host.should be_nil
14
16
  end
15
17
 
16
18
  context "validation" do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Kalek
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-21 00:00:00 -05:00
18
+ date: 2011-03-04 00:00:00 -05:00
19
19
  default_executable: mongify
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -251,7 +251,7 @@ dependencies:
251
251
  version: 2.8.1
252
252
  type: :development
253
253
  version_requirements: *id015
254
- description: Mongify allows you to map your sql data into a mongodb document database.
254
+ description: Mongify allows you to map your sql data into a mongodb document database with a simple DSL.
255
255
  email:
256
256
  - andrew.kalek@anlek.com
257
257
  executables:
@@ -329,7 +329,7 @@ files:
329
329
  - spec/support/database_output.txt
330
330
  - spec/tmp/.gitignore
331
331
  has_rdoc: true
332
- homepage: http://github.com/anlek/mongify
332
+ homepage: http://mongify.com
333
333
  licenses: []
334
334
 
335
335
  post_install_message:
@@ -366,7 +366,7 @@ rubyforge_project:
366
366
  rubygems_version: 1.4.2
367
367
  signing_key:
368
368
  specification_version: 3
369
- summary: Translate your SQL data to MongoDB
369
+ summary: Translate your SQL data to MongoDB with ease
370
370
  test_files:
371
371
  - features/options.feature
372
372
  - features/print.feature