sofa_blog 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '>=3.1.0.rc8'
3
+ gem 'rails', '>=3.1.0'
4
4
  gem 'rinku', '>=1.2.2'
5
5
  gem 'jquery-rails'
6
6
 
data/Gemfile.lock CHANGED
@@ -1,37 +1,35 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- actionmailer (3.1.0.rc8)
5
- actionpack (= 3.1.0.rc8)
4
+ actionmailer (3.1.1)
5
+ actionpack (= 3.1.1)
6
6
  mail (~> 2.3.0)
7
- actionpack (3.1.0.rc8)
8
- activemodel (= 3.1.0.rc8)
9
- activesupport (= 3.1.0.rc8)
7
+ actionpack (3.1.1)
8
+ activemodel (= 3.1.1)
9
+ activesupport (= 3.1.1)
10
10
  builder (~> 3.0.0)
11
11
  erubis (~> 2.7.0)
12
12
  i18n (~> 0.6)
13
13
  rack (~> 1.3.2)
14
- rack-cache (~> 1.0.3)
14
+ rack-cache (~> 1.1)
15
15
  rack-mount (~> 0.8.2)
16
16
  rack-test (~> 0.6.1)
17
- sprockets (~> 2.0.0.beta.15)
18
- activemodel (3.1.0.rc8)
19
- activesupport (= 3.1.0.rc8)
20
- bcrypt-ruby (~> 3.0.0)
17
+ sprockets (~> 2.0.2)
18
+ activemodel (3.1.1)
19
+ activesupport (= 3.1.1)
21
20
  builder (~> 3.0.0)
22
21
  i18n (~> 0.6)
23
- activerecord (3.1.0.rc8)
24
- activemodel (= 3.1.0.rc8)
25
- activesupport (= 3.1.0.rc8)
22
+ activerecord (3.1.1)
23
+ activemodel (= 3.1.1)
24
+ activesupport (= 3.1.1)
26
25
  arel (~> 2.2.1)
27
26
  tzinfo (~> 0.3.29)
28
- activeresource (3.1.0.rc8)
29
- activemodel (= 3.1.0.rc8)
30
- activesupport (= 3.1.0.rc8)
31
- activesupport (3.1.0.rc8)
27
+ activeresource (3.1.1)
28
+ activemodel (= 3.1.1)
29
+ activesupport (= 3.1.1)
30
+ activesupport (3.1.1)
32
31
  multi_json (~> 1.0)
33
32
  arel (2.2.1)
34
- bcrypt-ruby (3.0.0)
35
33
  builder (3.0.0)
36
34
  erubis (2.7.0)
37
35
  git (1.2.5)
@@ -41,9 +39,10 @@ GEM
41
39
  bundler (~> 1.0)
42
40
  git (>= 1.2.5)
43
41
  rake
44
- jquery-rails (1.0.14)
42
+ jquery-rails (1.0.16)
45
43
  railties (~> 3.0)
46
44
  thor (~> 0.14)
45
+ json (1.6.1)
47
46
  mail (2.3.0)
48
47
  i18n (>= 0.4.0)
49
48
  mime-types (~> 1.16)
@@ -51,34 +50,35 @@ GEM
51
50
  mime-types (1.16)
52
51
  multi_json (1.0.3)
53
52
  polyglot (0.3.2)
54
- rack (1.3.2)
55
- rack-cache (1.0.3)
53
+ rack (1.3.4)
54
+ rack-cache (1.1)
56
55
  rack (>= 0.4)
57
- rack-mount (0.8.2)
56
+ rack-mount (0.8.3)
58
57
  rack (>= 1.0.0)
59
58
  rack-ssl (1.3.2)
60
59
  rack
61
60
  rack-test (0.6.1)
62
61
  rack (>= 1.0)
63
- rails (3.1.0.rc8)
64
- actionmailer (= 3.1.0.rc8)
65
- actionpack (= 3.1.0.rc8)
66
- activerecord (= 3.1.0.rc8)
67
- activeresource (= 3.1.0.rc8)
68
- activesupport (= 3.1.0.rc8)
62
+ rails (3.1.1)
63
+ actionmailer (= 3.1.1)
64
+ actionpack (= 3.1.1)
65
+ activerecord (= 3.1.1)
66
+ activeresource (= 3.1.1)
67
+ activesupport (= 3.1.1)
69
68
  bundler (~> 1.0)
70
- railties (= 3.1.0.rc8)
71
- railties (3.1.0.rc8)
72
- actionpack (= 3.1.0.rc8)
73
- activesupport (= 3.1.0.rc8)
69
+ railties (= 3.1.1)
70
+ railties (3.1.1)
71
+ actionpack (= 3.1.1)
72
+ activesupport (= 3.1.1)
74
73
  rack-ssl (~> 1.3.2)
75
74
  rake (>= 0.8.7)
76
75
  rdoc (~> 3.4)
77
76
  thor (~> 0.14.6)
78
77
  rake (0.9.2)
79
- rdoc (3.9.4)
78
+ rdoc (3.10)
79
+ json (~> 1.4)
80
80
  rinku (1.2.2)
81
- sprockets (2.0.0)
81
+ sprockets (2.0.3)
82
82
  hike (~> 1.2)
83
83
  rack (~> 1.0)
84
84
  tilt (!= 1.3.0, ~> 1.1)
@@ -88,7 +88,7 @@ GEM
88
88
  treetop (1.4.10)
89
89
  polyglot
90
90
  polyglot (>= 0.3.1)
91
- tzinfo (0.3.29)
91
+ tzinfo (0.3.30)
92
92
 
93
93
  PLATFORMS
94
94
  ruby
@@ -96,6 +96,6 @@ PLATFORMS
96
96
  DEPENDENCIES
97
97
  jeweler
98
98
  jquery-rails
99
- rails (>= 3.1.0.rc8)
99
+ rails (>= 3.1.0)
100
100
  rinku (>= 1.2.2)
101
101
  sqlite3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -0,0 +1,10 @@
1
+ ____ __ ____ _
2
+ / ___| ___ / _| __ _ | __ )| | ___ __ _
3
+ \___ \ / _ \| |_ / _` | | _ \| |/ _ \ / _` |
4
+ ___) | (_) | _| (_| | | |_) | | (_) | (_| |
5
+ |____/ \___/|_| \__,_| |____/|_|\___/ \__, |
6
+ |___/
7
+
8
+ Hey! Everything is almost done. Please don't forget to
9
+
10
+ * run migrations -> `rake db:migrate`
@@ -0,0 +1,27 @@
1
+ class BlogGenerator < Rails::Generators::Base
2
+ require 'rails/generators/active_record'
3
+ include Rails::Generators::Migration
4
+ include Thor::Actions
5
+
6
+ source_root File.expand_path('../../..', __FILE__)
7
+
8
+ def generate_migration
9
+ destination = File.expand_path('db/migrate/01_create_sofa_blog.rb', self.destination_root)
10
+ migration_dir = File.dirname(destination)
11
+ destination = self.class.migration_exists?(migration_dir, 'create_sofa_blog')
12
+
13
+ if destination
14
+ puts "\e[0m\e[31mFound existing create_sofa_blog.rb migration. Remove it if you want to regenerate.\e[0m"
15
+ else
16
+ migration_template 'db/migrate/01_create_sofa_blog.rb', 'db/migrate/create_sofa_blog.rb'
17
+ end
18
+ end
19
+
20
+ def show_readme
21
+ readme 'lib/generators/README'
22
+ end
23
+
24
+ def self.next_migration_number(dirname)
25
+ ActiveRecord::Generators::Base.next_migration_number(dirname)
26
+ end
27
+ end
data/sofa_blog.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sofa_blog}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jack Neto", "The Working Group Inc."]
12
- s.date = %q{2011-10-07}
12
+ s.date = %q{2011-10-17}
13
13
  s.description = %q{}
14
14
  s.email = %q{jack@theworkinggroup.ca}
15
15
  s.extra_rdoc_files = [
@@ -76,6 +76,8 @@ Gem::Specification.new do |s|
76
76
  "db/migrate/01_create_sofa_blog.rb",
77
77
  "db/schema.rb",
78
78
  "db/seeds.rb",
79
+ "lib/generators/README",
80
+ "lib/generators/blog_generator.rb",
79
81
  "lib/sofa_blog.rb",
80
82
  "lib/sofa_blog/configuration.rb",
81
83
  "lib/sofa_blog/engine.rb",
@@ -107,20 +109,20 @@ Gem::Specification.new do |s|
107
109
  s.specification_version = 3
108
110
 
109
111
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
110
- s.add_runtime_dependency(%q<rails>, [">= 3.1.0.rc8"])
112
+ s.add_runtime_dependency(%q<rails>, [">= 3.1.0"])
111
113
  s.add_runtime_dependency(%q<rinku>, [">= 1.2.2"])
112
114
  s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
113
115
  s.add_development_dependency(%q<sqlite3>, [">= 0"])
114
116
  s.add_development_dependency(%q<jeweler>, [">= 0"])
115
117
  else
116
- s.add_dependency(%q<rails>, [">= 3.1.0.rc8"])
118
+ s.add_dependency(%q<rails>, [">= 3.1.0"])
117
119
  s.add_dependency(%q<rinku>, [">= 1.2.2"])
118
120
  s.add_dependency(%q<jquery-rails>, [">= 0"])
119
121
  s.add_dependency(%q<sqlite3>, [">= 0"])
120
122
  s.add_dependency(%q<jeweler>, [">= 0"])
121
123
  end
122
124
  else
123
- s.add_dependency(%q<rails>, [">= 3.1.0.rc8"])
125
+ s.add_dependency(%q<rails>, [">= 3.1.0"])
124
126
  s.add_dependency(%q<rinku>, [">= 1.2.2"])
125
127
  s.add_dependency(%q<jquery-rails>, [">= 0"])
126
128
  s.add_dependency(%q<sqlite3>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sofa_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,23 +10,23 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-07 00:00:00.000000000 -04:00
13
+ date: 2011-10-17 00:00:00.000000000 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
18
- requirement: &2169331400 !ruby/object:Gem::Requirement
18
+ requirement: &2156582400 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
22
22
  - !ruby/object:Gem::Version
23
- version: 3.1.0.rc8
23
+ version: 3.1.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2169331400
26
+ version_requirements: *2156582400
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rinku
29
- requirement: &2169330920 !ruby/object:Gem::Requirement
29
+ requirement: &2156574860 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.2.2
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2169330920
37
+ version_requirements: *2156574860
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: jquery-rails
40
- requirement: &2169330440 !ruby/object:Gem::Requirement
40
+ requirement: &2156573100 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *2169330440
48
+ version_requirements: *2156573100
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: sqlite3
51
- requirement: &2169329960 !ruby/object:Gem::Requirement
51
+ requirement: &2156571520 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2169329960
59
+ version_requirements: *2156571520
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: jeweler
62
- requirement: &2169329480 !ruby/object:Gem::Requirement
62
+ requirement: &2156569160 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2169329480
70
+ version_requirements: *2156569160
71
71
  description: ''
72
72
  email: jack@theworkinggroup.ca
73
73
  executables: []
@@ -135,6 +135,8 @@ files:
135
135
  - db/migrate/01_create_sofa_blog.rb
136
136
  - db/schema.rb
137
137
  - db/seeds.rb
138
+ - lib/generators/README
139
+ - lib/generators/blog_generator.rb
138
140
  - lib/sofa_blog.rb
139
141
  - lib/sofa_blog/configuration.rb
140
142
  - lib/sofa_blog/engine.rb
@@ -171,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
173
  version: '0'
172
174
  segments:
173
175
  - 0
174
- hash: -361180915995832361
176
+ hash: 3490741406499776684
175
177
  required_rubygems_version: !ruby/object:Gem::Requirement
176
178
  none: false
177
179
  requirements: