errbit_cloudfuji 0.2.1 → 0.2.2
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.
@@ -1,6 +1,8 @@
|
|
1
1
|
class AddIdoIdToExistingErrs < Mongoid::Migration
|
2
2
|
def self.up
|
3
|
-
Err.where(:ido_id => nil).all
|
3
|
+
errs = Err.where(:ido_id => nil).all
|
4
|
+
puts "Generating 'ido_id's for #{errs.size} Errs..."
|
5
|
+
errs.each do |err|
|
4
6
|
err.update_attribute :ido_id, UUID.new.generate
|
5
7
|
end
|
6
8
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: errbit_cloudfuji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -86,7 +86,7 @@ files:
|
|
86
86
|
- config/initializers/cloudfuji_config.rb
|
87
87
|
- config/mongoid.cloudfuji.yml
|
88
88
|
- config/routes.rb
|
89
|
-
- db/migrate/
|
89
|
+
- db/migrate/2012053021240_add_ido_id_to_existing_errs.rb
|
90
90
|
- errbit_cloudfuji.gemspec
|
91
91
|
- lib/errbit/cloudfuji.rb
|
92
92
|
- lib/errbit/cloudfuji/event_observers/app_observer.rb
|
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash:
|
113
|
+
hash: 3906247358631800772
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
116
116
|
requirements:
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
segments:
|
121
121
|
- 0
|
122
|
-
hash:
|
122
|
+
hash: 3906247358631800772
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
125
|
rubygems_version: 1.8.24
|