RubyGems
npm
Organizations
Log in
Sign up
RubyGems
tida_sina_weibo
Versions diffs
0.0.3 → 0.0.4
tida_sina_weibo 0.0.3 → 0.0.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
data/lib/generators/active_record/tida_sina_weibo_generator.rb
+3
-0
data/lib/tida_sina_weibo/version.rb
+1
-1
metadata
+1
-1
data/lib/generators/active_record/tida_sina_weibo_generator.rb
CHANGED
Viewed
@@ -17,6 +17,9 @@ module ActiveRecord
17
17
end
18
18
end
19
19
20
+
def generate_model
21
+
invoke "active_record:model", [name], :migration => false unless model_exists? && behavior == :invoke
22
+
end
20
23
21
24
end
22
25
end
data/lib/tida_sina_weibo/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module TidaSinaWeibo
2
-
VERSION = "0.0.
3
"
2
+
VERSION = "0.0.
4
"
3
3
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: tida_sina_weibo
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
3
4
+
version: 0.0.
4
5
5
prerelease:
6
6
platform: ruby
7
7
authors: