borda 0.0.6 → 0.0.7

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/.borda.gemspec.swp CHANGED
Binary file
data/borda.gemspec CHANGED
@@ -4,7 +4,7 @@ $:.push File.expand_path("../lib", __FILE__)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "borda"
7
- s.version = "0.0.6"
7
+ s.version = "0.0.7"
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["koleso"]
10
10
  s.email = ["koleso@bk.ru"]
data/lib/tasks/my.rake CHANGED
@@ -4,4 +4,13 @@ namespace :pizda do
4
4
  puts 'hello from pizda ivanovna'
5
5
  end
6
6
 
7
+ task :oyaeby do
8
+ ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
9
+ migrate_path = 'db/migrate'
10
+ if Rails::configuration.gems.map(&:name).include? :borda
11
+ migrate_path = Gem.searcher.find('borda').full_gem_path + '/db/migrate'
12
+ end
13
+ ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
14
+ end
15
+
7
16
  end
@@ -0,0 +1,16 @@
1
+ namespace :pizda do
2
+ desc 'my first task'
3
+ task :ivanovna do
4
+ puts 'hello from pizda ivanovna'
5
+ end
6
+
7
+ task :oyaeby do
8
+ ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
9
+ migrate_path = 'db/migrate'
10
+ if Rails::configuration.gems.map(&:name).include? :borda
11
+ migrate_path = Gem.searcher.find('borda').full_gem_path + '/db/migrate'
12
+ end
13
+ ActiveRecord::Migrator.migrate("db/migrate/", ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
14
+ end
15
+
16
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: borda
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - koleso
@@ -66,6 +66,7 @@ files:
66
66
  - lib/borda.rb
67
67
  - lib/tasks/.my.rake.swp
68
68
  - lib/tasks/my.rake
69
+ - lib/tasks/my.rake~
69
70
  - log/development.log
70
71
  - log/production.log
71
72
  - log/server.log