typus 0.9.37 → 0.9.38

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -5,4 +5,6 @@ _dashboard*
5
5
  rdoc/*
6
6
  *~
7
7
  *.gem
8
+ typus.gemspec
9
+ VERSION
8
10
  SPECDOC
data/AUTHORS ADDED
@@ -0,0 +1,34 @@
1
+ Typus was designed & developed by Francesc Esplugas (fesplugas).
2
+
3
+ Special thanks to the following individuals:
4
+
5
+ * Laia Gargallo (Lover & tea provider) http://azotacalles.net
6
+ * Isaac Feliu (Codereview on first public release) http://www.vesne.com
7
+ * Lluis Folch (Icons, feedback & crazy ideas) http://wet*floor.com
8
+ * Sergio Espeja (Code) http://github.com/spejman
9
+ * Eadz (Code) http://github.com/eadz
10
+ * Anthony Underwood (Code) http://github.com/aunderwo
11
+ * Felipe Talavera (Code) http://github.com/flype
12
+ * Erik Tigerholm (Code) http://github.com/eriktigerholm
13
+ * George Guimarães (Portuguese translation & code) http://github.com/georgeguimaraes
14
+ * José Valim (Code) http://github.com/josevalim
15
+ * Luqman Amjad (Code) http://github.com/luqman
16
+ * Alexey Noskov (Russian translation & code) http://github.com/alno
17
+ * Andres Gutierres (Bugfixes & feedback) http://github.com/andresgutgon
18
+ * Komzák Nándor (Code, bugfixes & feedback) http://github.com/rubymood
19
+ * Michael Grunewalder (German translation) http://michael.grunewalder.com
20
+ * Tim Harvey (Code) http://www.timharvey.net/
21
+ * Ned Baldessin (French translation & code) http://github.com/nedbaldessin
22
+ * Robert Rouse (Code) * Ruby 1.9 compatibility fixes.
23
+
24
+ Somehow involved in the project
25
+
26
+ * Yukihiro "matz" Matsumoto (http://www.rubyist.net/~matz/) creator of Ruby
27
+ (http://ruby-lang.org/) the most beautiful programming language I've ever seen.
28
+ * David Heinemeier Hansson (http://loudthinking.com/) for creating
29
+ Ruby on Rails (http://rubyonrails.org/).
30
+ * Django Admin (http://www.djangoproject.com) who inspired part of the
31
+ development, in special the templates rendering & UI.
32
+ * Paginator (http://github.com/bruce/paginator/tree/master) by
33
+ Bruce Williams (http://codefluency.com) which is used by **Typus** to
34
+ paginate records.
data/CHANGES ADDED
@@ -0,0 +1,3 @@
1
+ = 0.9.37 / 2009-??-??
2
+
3
+ * Added contributors file.
data/Rakefile CHANGED
@@ -1,6 +1,10 @@
1
+ require 'rubygems'
1
2
  require 'rake/testtask'
2
3
  require 'rake/rdoctask'
3
4
 
5
+ $LOAD_PATH.unshift 'lib'
6
+ require 'typus/version'
7
+
4
8
  desc 'Default: run unit tests.'
5
9
  task :default => :test
6
10
 
@@ -36,8 +40,6 @@ end
36
40
 
37
41
  begin
38
42
  require 'jeweler'
39
- $LOAD_PATH.unshift 'lib'
40
- require 'typus/version'
41
43
  Jeweler::Tasks.new do |gemspec|
42
44
  gemspec.name = "typus"
43
45
  gemspec.summary = "Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)"
@@ -52,30 +54,17 @@ rescue LoadError
52
54
  puts "Install it with: gem install jeweler -s http://gemcutter.org"
53
55
  end
54
56
 
55
- begin
56
- require 'sdoc_helpers'
57
- rescue LoadError
58
- puts "sdoc support not enabled. Please gem install sdoc-helpers."
59
- end
57
+ desc "Generate package."
58
+ task :package => [ :write_version, :gemspec, :build ]
60
59
 
61
60
  desc "Push a new version to Gemcutter"
62
- task :publish => [ :gemspec, :build ] do
61
+ task :publish => [ :package ] do
63
62
  system "git tag v#{Typus::Version}"
64
63
  system "git push origin v#{Typus::Version}"
65
64
  system "gem push pkg/typus-#{Typus::Version}.gem"
66
65
  system "git clean -fd"
67
- exec "rake pages"
68
- end
69
-
70
- desc "Install the edge gem"
71
- task :install_edge => [ :dev_version, :gemspec, :build ] do
72
- exec "gem install pkg/typus-#{Typus::Version}.gem"
73
66
  end
74
67
 
75
- # Sets the current Typus version to the current dev version
76
- task :dev_version do
77
- $LOAD_PATH.unshift 'lib'
78
- require 'typus/version'
79
- version = Typus::Version + '.' + Time.now.to_i.to_s
80
- Typus.const_set(:Version, version)
68
+ task :write_version do
69
+ File.open('VERSION', 'w') {|f| f.write(Typus::Version) }
81
70
  end
data/lib/typus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Typus
2
- Version = '0.9.37'
2
+ Version = '0.9.38'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.37
4
+ version: 0.9.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesc Esplugas
@@ -23,12 +23,11 @@ extra_rdoc_files:
23
23
  - README.rdoc
24
24
  files:
25
25
  - .gitignore
26
- - CONTRIBUTORS
27
- - HISTORY.md
26
+ - AUTHORS
27
+ - CHANGES
28
28
  - MIT-LICENSE
29
29
  - README.rdoc
30
30
  - Rakefile
31
- - VERSION
32
31
  - app/controllers/admin/master_controller.rb
33
32
  - app/controllers/typus_controller.rb
34
33
  - app/helpers/admin/form_helper.rb
@@ -213,7 +212,6 @@ files:
213
212
  - test/unit/typus_user_test.rb
214
213
  - test/vendor/active_record_test.rb
215
214
  - test/vendor/paginator_test.rb
216
- - typus.gemspec
217
215
  has_rdoc: true
218
216
  homepage: http://intraducibles.com/projects/typus
219
217
  licenses: []
data/CONTRIBUTORS DELETED
@@ -1,18 +0,0 @@
1
- - Laia Gargallo (Lover and tea provider) http://azotacalles.net
2
- - Isaac Feliu (Codereview on first public release) http://www.vesne.com
3
- - Lluis Folch (Icons, feedback & crazy ideas) http://wet-floor.com
4
- - Sergio Espeja (Code) http://github.com/spejman
5
- - Eadz (Code) http://github.com/eadz
6
- - Anthony Underwood (Code) http://github.com/aunderwo
7
- - Felipe Talavera (Code) http://github.com/flype
8
- - Erik Tigerholm (Code) http://github.com/eriktigerholm
9
- - George Guimarães (Portuguese translation and code) http://github.com/georgeguimaraes
10
- - José Valim (Code) http://github.com/josevalim
11
- - Luqman Amjad (Code) http://github.com/luqman
12
- - Alexey Noskov (Russian translation and code) http://github.com/alno
13
- - Andres Gutierres (Bugfixes & feedback) http://github.com/andresgutgon
14
- - Komzák Nándor (Code, bugfixes & feedback) http://github.com/rubymood
15
- - Michael Grunewalder (German translation) http://michael.grunewalder.com
16
- - Tim Harvey (Code) http://www.timharvey.net/
17
- - Ned Baldessin (French translation and code) http://github.com/nedbaldessin
18
- - Robert Rouse (Code) - Ruby 1.9 compatibility fixes.
data/HISTORY.md DELETED
@@ -1,3 +0,0 @@
1
- ## 0.9.37 (2009-??-??)
2
-
3
- * Added contributors file.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.9.37
data/typus.gemspec DELETED
@@ -1,271 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{typus}
8
- s.version = "0.9.37"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Francesc Esplugas"]
12
- s.date = %q{2009-10-13}
13
- s.description = %q{Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)}
14
- s.email = %q{francesc@intraducibles.com}
15
- s.extra_rdoc_files = [
16
- "README.rdoc"
17
- ]
18
- s.files = [
19
- ".gitignore",
20
- "CONTRIBUTORS",
21
- "HISTORY.md",
22
- "MIT-LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "app/controllers/admin/master_controller.rb",
27
- "app/controllers/typus_controller.rb",
28
- "app/helpers/admin/form_helper.rb",
29
- "app/helpers/admin/master_helper.rb",
30
- "app/helpers/admin/public_helper.rb",
31
- "app/helpers/admin/sidebar_helper.rb",
32
- "app/helpers/admin/table_helper.rb",
33
- "app/helpers/typus_helper.rb",
34
- "app/models/typus_mailer.rb",
35
- "app/models/typus_user.rb",
36
- "app/views/admin/dashboard/_sidebar.html.erb",
37
- "app/views/admin/resources/edit.html.erb",
38
- "app/views/admin/resources/index.html.erb",
39
- "app/views/admin/resources/new.html.erb",
40
- "app/views/admin/resources/show.html.erb",
41
- "app/views/admin/shared/_feedback.html.erb",
42
- "app/views/admin/shared/_footer.html.erb",
43
- "app/views/admin/shared/_pagination.html.erb",
44
- "app/views/admin/templates/_boolean.html.erb",
45
- "app/views/admin/templates/_date.html.erb",
46
- "app/views/admin/templates/_datetime.html.erb",
47
- "app/views/admin/templates/_file.html.erb",
48
- "app/views/admin/templates/_password.html.erb",
49
- "app/views/admin/templates/_selector.html.erb",
50
- "app/views/admin/templates/_string.html.erb",
51
- "app/views/admin/templates/_text.html.erb",
52
- "app/views/admin/templates/_time.html.erb",
53
- "app/views/admin/templates/_tiny_mce.html.erb",
54
- "app/views/layouts/admin.html.erb",
55
- "app/views/layouts/typus.html.erb",
56
- "app/views/typus/dashboard.html.erb",
57
- "app/views/typus/recover_password.html.erb",
58
- "app/views/typus/reset_password.html.erb",
59
- "app/views/typus/sign_in.html.erb",
60
- "app/views/typus/sign_up.html.erb",
61
- "app/views/typus_mailer/reset_password_link.erb",
62
- "config/locales/de.yml",
63
- "config/locales/es.yml",
64
- "config/locales/fr.yml",
65
- "config/locales/language.yml.template",
66
- "config/locales/pt-BR.yml",
67
- "config/locales/ru.yml",
68
- "config/routes.rb",
69
- "generators/typus/templates/auto/index.html.erb",
70
- "generators/typus/templates/auto/resource_controller.rb.erb",
71
- "generators/typus/templates/auto/resource_controller_test.rb.erb",
72
- "generators/typus/templates/auto/resources_controller.rb.erb",
73
- "generators/typus/templates/config/initializers/typus.rb",
74
- "generators/typus/templates/config/typus/README",
75
- "generators/typus/templates/config/typus/application.yml",
76
- "generators/typus/templates/config/typus/application_roles.yml",
77
- "generators/typus/templates/config/typus/typus.yml",
78
- "generators/typus/templates/config/typus/typus_roles.yml",
79
- "generators/typus/templates/db/create_typus_users.rb",
80
- "generators/typus/templates/lib/tasks/typus_tasks.rake",
81
- "generators/typus/templates/public/images/admin/fancybox/fancy_closebox.png",
82
- "generators/typus/templates/public/images/admin/fancybox/fancy_left.png",
83
- "generators/typus/templates/public/images/admin/fancybox/fancy_progress.png",
84
- "generators/typus/templates/public/images/admin/fancybox/fancy_right.png",
85
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_e.png",
86
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_n.png",
87
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_ne.png",
88
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_nw.png",
89
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_s.png",
90
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_se.png",
91
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_sw.png",
92
- "generators/typus/templates/public/images/admin/fancybox/fancy_shadow_w.png",
93
- "generators/typus/templates/public/images/admin/fancybox/fancy_title_left.png",
94
- "generators/typus/templates/public/images/admin/fancybox/fancy_title_main.png",
95
- "generators/typus/templates/public/images/admin/fancybox/fancy_title_right.png",
96
- "generators/typus/templates/public/images/admin/ui-icons.png",
97
- "generators/typus/templates/public/javascripts/admin/application.js",
98
- "generators/typus/templates/public/javascripts/admin/jquery-1.3.2.min.js",
99
- "generators/typus/templates/public/javascripts/admin/jquery.fancybox-1.2.1.min.js",
100
- "generators/typus/templates/public/stylesheets/admin/jquery.fancybox.css",
101
- "generators/typus/templates/public/stylesheets/admin/reset.css",
102
- "generators/typus/templates/public/stylesheets/admin/screen.css",
103
- "generators/typus/typus_generator.rb",
104
- "generators/typus_update_schema_to_01/templates/config/typus.yml",
105
- "generators/typus_update_schema_to_01/templates/migration.rb",
106
- "generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb",
107
- "generators/typus_update_schema_to_02/templates/migration.rb",
108
- "generators/typus_update_schema_to_02/typus_update_schema_to_02_generator.rb",
109
- "lib/typus.rb",
110
- "lib/typus/active_record.rb",
111
- "lib/typus/authentication.rb",
112
- "lib/typus/configuration.rb",
113
- "lib/typus/extensions/routes.rb",
114
- "lib/typus/extensions/routes_hack.rb",
115
- "lib/typus/format.rb",
116
- "lib/typus/hash.rb",
117
- "lib/typus/object.rb",
118
- "lib/typus/preferences.rb",
119
- "lib/typus/preview.rb",
120
- "lib/typus/quick_edit.rb",
121
- "lib/typus/reloader.rb",
122
- "lib/typus/string.rb",
123
- "lib/typus/user.rb",
124
- "lib/typus/version.rb",
125
- "lib/vendor/active_record.rb",
126
- "lib/vendor/paginator.rb",
127
- "lib/vendor/rss_parser.rb",
128
- "rails/init.rb",
129
- "tasks/typus_tasks.rake",
130
- "test/config/broken/application.yml",
131
- "test/config/broken/application_roles.yml",
132
- "test/config/broken/empty.yml",
133
- "test/config/broken/empty_roles.yml",
134
- "test/config/broken/undefined.yml",
135
- "test/config/broken/undefined_roles.yml",
136
- "test/config/default/typus.yml",
137
- "test/config/default/typus_roles.yml",
138
- "test/config/empty/empty_01.yml",
139
- "test/config/empty/empty_01_roles.yml",
140
- "test/config/empty/empty_02.yml",
141
- "test/config/empty/empty_02_roles.yml",
142
- "test/config/locales/es.yml",
143
- "test/config/ordered/001_roles.yml",
144
- "test/config/ordered/002_roles.yml",
145
- "test/config/unordered/app_one_roles.yml",
146
- "test/config/unordered/app_two_roles.yml",
147
- "test/config/working/application.yml",
148
- "test/config/working/application_roles.yml",
149
- "test/config/working/typus.yml",
150
- "test/config/working/typus_roles.yml",
151
- "test/fixtures/app/controllers/admin/assets_controller.rb",
152
- "test/fixtures/app/controllers/admin/categories_controller.rb",
153
- "test/fixtures/app/controllers/admin/comments_controller.rb",
154
- "test/fixtures/app/controllers/admin/pages_controller.rb",
155
- "test/fixtures/app/controllers/admin/posts_controller.rb",
156
- "test/fixtures/app/controllers/admin/status_controller.rb",
157
- "test/fixtures/app/controllers/admin/typus_users_controller.rb",
158
- "test/fixtures/app/controllers/admin/watch_dog_controller.rb",
159
- "test/fixtures/app/views/admin/dashboard/_content.html.erb",
160
- "test/fixtures/app/views/admin/dashboard/_sidebar.html.erb",
161
- "test/fixtures/app/views/admin/posts/_edit.html.erb",
162
- "test/fixtures/app/views/admin/posts/_index.html.erb",
163
- "test/fixtures/app/views/admin/posts/_new.html.erb",
164
- "test/fixtures/app/views/admin/posts/_show.html.erb",
165
- "test/fixtures/app/views/admin/posts/_sidebar.html.erb",
166
- "test/fixtures/app/views/admin/resources/_sidebar.html.erb",
167
- "test/fixtures/app/views/admin/shared/_footer.html.erb",
168
- "test/fixtures/app/views/admin/status/index.html.erb",
169
- "test/fixtures/app/views/admin/templates/_datepicker.html.erb",
170
- "test/fixtures/assets.yml",
171
- "test/fixtures/categories.yml",
172
- "test/fixtures/comments.yml",
173
- "test/fixtures/pages.yml",
174
- "test/fixtures/posts.yml",
175
- "test/fixtures/typus_users.yml",
176
- "test/functional/admin/master_controller_assets_relationships.rb",
177
- "test/functional/admin/master_controller_categories_lists_test.rb",
178
- "test/functional/admin/master_controller_posts_before_test.rb",
179
- "test/functional/admin/master_controller_posts_crud_test.rb",
180
- "test/functional/admin/master_controller_posts_formats_test.rb",
181
- "test/functional/admin/master_controller_posts_permissions_test.rb",
182
- "test/functional/admin/master_controller_posts_relationships_test.rb",
183
- "test/functional/admin/master_controller_posts_roles.rb",
184
- "test/functional/admin/master_controller_posts_toggle_test.rb",
185
- "test/functional/admin/master_controller_posts_views_test.rb",
186
- "test/functional/admin/master_controller_tableless_resource_test.rb",
187
- "test/functional/admin/master_controller_typus_users_test.rb",
188
- "test/functional/typus_controller_test.rb",
189
- "test/helper.rb",
190
- "test/helpers/admin/form_helper_test.rb",
191
- "test/helpers/admin/master_helper_test.rb",
192
- "test/helpers/admin/public_helper_test.rb",
193
- "test/helpers/admin/sidebar_helper_test.rb",
194
- "test/helpers/admin/table_helper_test.rb",
195
- "test/helpers/typus_helper_test.rb",
196
- "test/lib/active_record_test.rb",
197
- "test/lib/configuration_test.rb",
198
- "test/lib/hash_test.rb",
199
- "test/lib/routes_test.rb",
200
- "test/lib/string_test.rb",
201
- "test/lib/typus_test.rb",
202
- "test/models.rb",
203
- "test/schema.rb",
204
- "test/unit/typus_mailer_test.rb",
205
- "test/unit/typus_test.rb",
206
- "test/unit/typus_user_roles_test.rb",
207
- "test/unit/typus_user_test.rb",
208
- "test/vendor/active_record_test.rb",
209
- "test/vendor/paginator_test.rb",
210
- "typus.gemspec"
211
- ]
212
- s.homepage = %q{http://intraducibles.com/projects/typus}
213
- s.rdoc_options = ["--charset=UTF-8"]
214
- s.require_paths = ["lib"]
215
- s.rubygems_version = %q{1.3.5}
216
- s.summary = %q{Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)}
217
- s.test_files = [
218
- "test/fixtures/app/controllers/admin/assets_controller.rb",
219
- "test/fixtures/app/controllers/admin/categories_controller.rb",
220
- "test/fixtures/app/controllers/admin/comments_controller.rb",
221
- "test/fixtures/app/controllers/admin/pages_controller.rb",
222
- "test/fixtures/app/controllers/admin/posts_controller.rb",
223
- "test/fixtures/app/controllers/admin/status_controller.rb",
224
- "test/fixtures/app/controllers/admin/typus_users_controller.rb",
225
- "test/fixtures/app/controllers/admin/watch_dog_controller.rb",
226
- "test/functional/admin/master_controller_assets_relationships.rb",
227
- "test/functional/admin/master_controller_categories_lists_test.rb",
228
- "test/functional/admin/master_controller_posts_before_test.rb",
229
- "test/functional/admin/master_controller_posts_crud_test.rb",
230
- "test/functional/admin/master_controller_posts_formats_test.rb",
231
- "test/functional/admin/master_controller_posts_permissions_test.rb",
232
- "test/functional/admin/master_controller_posts_relationships_test.rb",
233
- "test/functional/admin/master_controller_posts_roles.rb",
234
- "test/functional/admin/master_controller_posts_toggle_test.rb",
235
- "test/functional/admin/master_controller_posts_views_test.rb",
236
- "test/functional/admin/master_controller_tableless_resource_test.rb",
237
- "test/functional/admin/master_controller_typus_users_test.rb",
238
- "test/functional/typus_controller_test.rb",
239
- "test/helper.rb",
240
- "test/helpers/admin/form_helper_test.rb",
241
- "test/helpers/admin/master_helper_test.rb",
242
- "test/helpers/admin/public_helper_test.rb",
243
- "test/helpers/admin/sidebar_helper_test.rb",
244
- "test/helpers/admin/table_helper_test.rb",
245
- "test/helpers/typus_helper_test.rb",
246
- "test/lib/active_record_test.rb",
247
- "test/lib/configuration_test.rb",
248
- "test/lib/hash_test.rb",
249
- "test/lib/routes_test.rb",
250
- "test/lib/string_test.rb",
251
- "test/lib/typus_test.rb",
252
- "test/models.rb",
253
- "test/schema.rb",
254
- "test/unit/typus_mailer_test.rb",
255
- "test/unit/typus_test.rb",
256
- "test/unit/typus_user_roles_test.rb",
257
- "test/unit/typus_user_test.rb",
258
- "test/vendor/active_record_test.rb",
259
- "test/vendor/paginator_test.rb"
260
- ]
261
-
262
- if s.respond_to? :specification_version then
263
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
264
- s.specification_version = 3
265
-
266
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
267
- else
268
- end
269
- else
270
- end
271
- end