mir_extensions 0.2.0

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.
Files changed (70) hide show
  1. data/.bundle/config +2 -0
  2. data/.document +5 -0
  3. data/.gitignore +21 -0
  4. data/.rspec +1 -0
  5. data/Gemfile +41 -0
  6. data/Gemfile.lock +116 -0
  7. data/LICENSE +20 -0
  8. data/README +256 -0
  9. data/README.rdoc +17 -0
  10. data/Rakefile +50 -0
  11. data/VERSION +1 -0
  12. data/app/controllers/application_controller.rb +9 -0
  13. data/app/helpers/application_helper.rb +2 -0
  14. data/app/models/primary.rb +11 -0
  15. data/app/models/secondary.rb +7 -0
  16. data/app/views/layouts/application.html.erb +14 -0
  17. data/autotest/discover.rb +2 -0
  18. data/config.ru +4 -0
  19. data/config/application.rb +47 -0
  20. data/config/boot.rb +13 -0
  21. data/config/database.yml +17 -0
  22. data/config/environment.rb +5 -0
  23. data/config/environments/development.rb +22 -0
  24. data/config/environments/production.rb +49 -0
  25. data/config/environments/test.rb +35 -0
  26. data/config/initializers/backtrace_silencers.rb +7 -0
  27. data/config/initializers/inflections.rb +10 -0
  28. data/config/initializers/mime_types.rb +5 -0
  29. data/config/initializers/secret_token.rb +7 -0
  30. data/config/initializers/session_store.rb +8 -0
  31. data/config/locales/en.yml +5 -0
  32. data/config/routes.rb +58 -0
  33. data/db/development.sqlite3 +1 -0
  34. data/db/mir_ext_development.sqlite3 +0 -0
  35. data/db/mir_ext_test.sqlite3 +0 -0
  36. data/db/schema.rb +26 -0
  37. data/db/seeds.rb +7 -0
  38. data/db/test.sqlite3 +0 -0
  39. data/doc/README_FOR_APP +2 -0
  40. data/lib/core_ext/controller_extensions.rb +37 -0
  41. data/lib/core_ext/core_ext.rb +344 -0
  42. data/lib/core_ext/helper_extensions.rb +383 -0
  43. data/lib/mir_extensions.rb +37 -0
  44. data/lib/tasks/.gitkeep +0 -0
  45. data/log/development.log +151 -0
  46. data/log/production.log +0 -0
  47. data/log/server.log +0 -0
  48. data/log/test.log +27 -0
  49. data/mir_extensions.gemspec +119 -0
  50. data/public/404.html +26 -0
  51. data/public/422.html +26 -0
  52. data/public/500.html +26 -0
  53. data/public/favicon.ico +0 -0
  54. data/public/images/rails.png +0 -0
  55. data/public/index.html +262 -0
  56. data/public/javascripts/application.js +2 -0
  57. data/public/javascripts/controls.js +965 -0
  58. data/public/javascripts/dragdrop.js +974 -0
  59. data/public/javascripts/effects.js +1123 -0
  60. data/public/javascripts/prototype.js +6001 -0
  61. data/public/javascripts/rails.js +175 -0
  62. data/public/robots.txt +5 -0
  63. data/public/stylesheets/.gitkeep +0 -0
  64. data/script/rails +6 -0
  65. data/spec/controllers/application_controller_spec.rb +41 -0
  66. data/spec/helpers/application_helper_spec.rb +40 -0
  67. data/spec/mir_extensions_spec.rb +269 -0
  68. data/spec/spec_helper.rb +27 -0
  69. data/vendor/plugins/.gitkeep +0 -0
  70. metadata +170 -0
@@ -0,0 +1,27 @@
1
+ # This file is copied to ~/spec when you run 'ruby script/generate rspec'
2
+ # from the project root directory.
3
+ ENV["RAILS_ENV"] ||= 'test'
4
+ require File.expand_path("../../config/environment", __FILE__)
5
+ require 'rspec/rails'
6
+
7
+ # Requires supporting files with custom matchers and macros, etc,
8
+ # in ./support/ and its subdirectories.
9
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
10
+
11
+ RSpec.configure do |config|
12
+ # == Mock Framework
13
+ #
14
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
15
+ #
16
+ # config.mock_with :mocha
17
+ # config.mock_with :flexmock
18
+ # config.mock_with :rr
19
+ config.mock_with :rspec
20
+
21
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
+
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, comment the following line or assign false
25
+ # instead of true.
26
+ config.use_transactional_fixtures = true
27
+ end
File without changes
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mir_extensions
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
+ platform: ruby
12
+ authors:
13
+ - Corey Ehmke
14
+ - Rod Monje
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2010-08-01 00:00:00 -05:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ type: :development
24
+ prerelease: false
25
+ name: rspec
26
+ version_requirements: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 13
32
+ segments:
33
+ - 1
34
+ - 2
35
+ - 9
36
+ version: 1.2.9
37
+ requirement: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ type: :development
40
+ prerelease: false
41
+ name: friendly_id
42
+ version_requirements: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ hash: 3
48
+ segments:
49
+ - 0
50
+ version: "0"
51
+ requirement: *id002
52
+ description: Standard extensions and utility methods for SEO Logic's Rails 3 apps.
53
+ email: corey@seologic.com
54
+ executables: []
55
+
56
+ extensions: []
57
+
58
+ extra_rdoc_files:
59
+ - LICENSE
60
+ - README
61
+ - README.rdoc
62
+ files:
63
+ - .bundle/config
64
+ - .document
65
+ - .gitignore
66
+ - .rspec
67
+ - Gemfile
68
+ - Gemfile.lock
69
+ - LICENSE
70
+ - README
71
+ - README.rdoc
72
+ - Rakefile
73
+ - VERSION
74
+ - app/controllers/application_controller.rb
75
+ - app/helpers/application_helper.rb
76
+ - app/models/primary.rb
77
+ - app/models/secondary.rb
78
+ - app/views/layouts/application.html.erb
79
+ - autotest/discover.rb
80
+ - config.ru
81
+ - config/application.rb
82
+ - config/boot.rb
83
+ - config/database.yml
84
+ - config/environment.rb
85
+ - config/environments/development.rb
86
+ - config/environments/production.rb
87
+ - config/environments/test.rb
88
+ - config/initializers/backtrace_silencers.rb
89
+ - config/initializers/inflections.rb
90
+ - config/initializers/mime_types.rb
91
+ - config/initializers/secret_token.rb
92
+ - config/initializers/session_store.rb
93
+ - config/locales/en.yml
94
+ - config/routes.rb
95
+ - db/development.sqlite3
96
+ - db/mir_ext_development.sqlite3
97
+ - db/mir_ext_test.sqlite3
98
+ - db/schema.rb
99
+ - db/seeds.rb
100
+ - db/test.sqlite3
101
+ - doc/README_FOR_APP
102
+ - lib/core_ext/controller_extensions.rb
103
+ - lib/core_ext/core_ext.rb
104
+ - lib/core_ext/helper_extensions.rb
105
+ - lib/mir_extensions.rb
106
+ - lib/tasks/.gitkeep
107
+ - log/development.log
108
+ - log/production.log
109
+ - log/server.log
110
+ - log/test.log
111
+ - mir_extensions.gemspec
112
+ - public/404.html
113
+ - public/422.html
114
+ - public/500.html
115
+ - public/favicon.ico
116
+ - public/images/rails.png
117
+ - public/index.html
118
+ - public/javascripts/application.js
119
+ - public/javascripts/controls.js
120
+ - public/javascripts/dragdrop.js
121
+ - public/javascripts/effects.js
122
+ - public/javascripts/prototype.js
123
+ - public/javascripts/rails.js
124
+ - public/robots.txt
125
+ - public/stylesheets/.gitkeep
126
+ - script/rails
127
+ - spec/controllers/application_controller_spec.rb
128
+ - spec/helpers/application_helper_spec.rb
129
+ - spec/mir_extensions_spec.rb
130
+ - spec/spec_helper.rb
131
+ - vendor/plugins/.gitkeep
132
+ has_rdoc: true
133
+ homepage: http://github.com/Bantik/mir_extensions
134
+ licenses: []
135
+
136
+ post_install_message:
137
+ rdoc_options:
138
+ - --charset=UTF-8
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ hash: 3
147
+ segments:
148
+ - 0
149
+ version: "0"
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ hash: 3
156
+ segments:
157
+ - 0
158
+ version: "0"
159
+ requirements: []
160
+
161
+ rubyforge_project:
162
+ rubygems_version: 1.3.7
163
+ signing_key:
164
+ specification_version: 3
165
+ summary: Standard extensions and utility methods for SEO Logic's Rails 3 apps.
166
+ test_files:
167
+ - spec/controllers/application_controller_spec.rb
168
+ - spec/helpers/application_helper_spec.rb
169
+ - spec/mir_extensions_spec.rb
170
+ - spec/spec_helper.rb