instedd-rails 0.0.18 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.rvmrc +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +68 -65
- data/README.markdown +12 -1
- data/Rakefile +0 -0
- data/app/assets/javascripts/jquery-bootstrapper.js +2 -0
- data/app/controllers/errors_controller.rb +0 -0
- data/app/controllers/instedd_rails/tour_controller.rb +0 -0
- data/app/helpers/devise_helper.rb +0 -0
- data/app/helpers/instedd_rails/application_helper.rb +0 -0
- data/app/helpers/instedd_rails/instedd_app_helper.rb +0 -0
- data/app/helpers/instedd_rails/mailer_helper.rb +0 -0
- data/app/views/devise/confirmations/new.html.erb +0 -0
- data/app/views/devise/passwords/edit.html.erb +0 -0
- data/app/views/devise/passwords/new.html.erb +0 -0
- data/app/views/devise/sessions/new.html.erb +0 -0
- data/app/views/devise/shared/_links.erb +0 -0
- data/app/views/devise/unlocks/new.html.erb +0 -0
- data/app/views/errors/internal_server_error.html.erb +0 -0
- data/app/views/errors/not_found.html.erb +0 -0
- data/app/views/errors/unprocessable_entity.html.erb +0 -0
- data/app/views/kaminari/_first_page.html.erb +0 -0
- data/app/views/kaminari/_gap.html.erb +0 -0
- data/app/views/kaminari/_last_page.html.erb +0 -0
- data/app/views/kaminari/_next_page.html.erb +0 -0
- data/app/views/kaminari/_page.html.erb +0 -0
- data/app/views/kaminari/_paginator.html.erb +0 -0
- data/app/views/kaminari/_prev_page.html.erb +0 -0
- data/app/views/layouts/_navigation.html.erb +0 -0
- data/app/views/layouts/instedd_application.html.erb +18 -3
- data/app/views/layouts/mail.text.erb +0 -0
- data/app/views/layouts/tour.html.erb +0 -0
- data/app/views/shared/_analytics.html.erb +0 -0
- data/app/views/tour/_tour_navigation.html.erb +0 -0
- data/app/views/user_mailer/confirmation_instructions.html.erb +0 -0
- data/app/views/user_mailer/confirmation_instructions.text.erb +0 -0
- data/app/views/user_mailer/reset_password_instructions.html.erb +0 -0
- data/app/views/user_mailer/reset_password_instructions.text.erb +0 -0
- data/config/routes.rb +0 -0
- data/lib/generators/instedd_rails/config_generator.rb +0 -0
- data/lib/generators/instedd_rails/layout_generator.rb +0 -0
- data/lib/generators/instedd_rails/templates/application.html.erb +0 -0
- data/lib/generators/instedd_rails/templates/instedd_rails_config.rb +0 -0
- data/lib/instedd_rails/config.rb +2 -2
- data/lib/instedd_rails/engine.rb +0 -0
- data/lib/instedd_rails/routes.rb +0 -0
- data/lib/instedd_rails/show_exceptions.rb +0 -0
- data/lib/instedd_rails/version.rb +1 -1
- metadata +6 -13
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OWRlYzg5OTUzNmQyZDhiNjA4OWY4MzhhODdlMWYyMzQxMjI2NzVmNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NjM0MTc5Y2Q0ODUxNzYwNDZjYjQwYmNkNDM4NGZlMmRmNjQyNjNmNA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NDcwMWJjZWQ1MGRhZDU0NDE1OTVhMTY3ZDM4NmM0MjBiMmZkMGRmYmVhYzk4
|
10
|
+
NTk0NmQ4ZDcxYjI2M2FjNjZlZTA5NmQ2NGU1OTQ1ZmMyM2QwYTU0ZTVlMjUw
|
11
|
+
YmRhMGRkYjZiYzBiODA4MWQyNzg1ZGU2YmY1MGI4YzRiODkxNTg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzVhOTA0MzA3ZTljMmU0ZjZjMmQ3NjMxOTM2Y2NiNjdlMThiNGEzMDYwYTgx
|
14
|
+
ZGMzZWFmMmJmNTgwNWQ1MmNmMDU1YTRhODg2MDkwMDliY2Y0NTBkODU0NjEz
|
15
|
+
ZTk4ZmZiNjQzMzA0NjBiNWZhYzVkNDEyMTRlMTRhM2NiNWFjMWI=
|
data/.rvmrc
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
@@ -1,90 +1,93 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
instedd-rails (0.0.
|
4
|
+
instedd-rails (0.0.21)
|
5
5
|
breadcrumbs_on_rails (>= 2.2.0)
|
6
|
+
haml-rails
|
6
7
|
rails (>= 3.0)
|
7
8
|
|
8
9
|
GEM
|
9
10
|
remote: http://rubygems.org/
|
10
11
|
specs:
|
11
|
-
actionmailer (
|
12
|
-
actionpack (=
|
13
|
-
mail (~> 2.
|
14
|
-
actionpack (
|
15
|
-
|
16
|
-
|
17
|
-
builder (~> 3.0.0)
|
12
|
+
actionmailer (4.0.0)
|
13
|
+
actionpack (= 4.0.0)
|
14
|
+
mail (~> 2.5.3)
|
15
|
+
actionpack (4.0.0)
|
16
|
+
activesupport (= 4.0.0)
|
17
|
+
builder (~> 3.1.0)
|
18
18
|
erubis (~> 2.7.0)
|
19
|
-
|
20
|
-
rack (~>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
arel (3.0.2)
|
19
|
+
rack (~> 1.5.2)
|
20
|
+
rack-test (~> 0.6.2)
|
21
|
+
activemodel (4.0.0)
|
22
|
+
activesupport (= 4.0.0)
|
23
|
+
builder (~> 3.1.0)
|
24
|
+
activerecord (4.0.0)
|
25
|
+
activemodel (= 4.0.0)
|
26
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
27
|
+
activesupport (= 4.0.0)
|
28
|
+
arel (~> 4.0.0)
|
29
|
+
activerecord-deprecated_finders (1.0.3)
|
30
|
+
activesupport (4.0.0)
|
31
|
+
i18n (~> 0.6, >= 0.6.4)
|
32
|
+
minitest (~> 4.2)
|
33
|
+
multi_json (~> 1.3)
|
34
|
+
thread_safe (~> 0.1)
|
35
|
+
tzinfo (~> 0.3.37)
|
36
|
+
arel (4.0.1)
|
37
|
+
atomic (1.1.14)
|
39
38
|
breadcrumbs_on_rails (2.2.0)
|
40
|
-
builder (3.
|
39
|
+
builder (3.1.4)
|
41
40
|
erubis (2.7.0)
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
41
|
+
haml (4.0.3)
|
42
|
+
tilt
|
43
|
+
haml-rails (0.4)
|
44
|
+
actionpack (>= 3.1, < 4.1)
|
45
|
+
activesupport (>= 3.1, < 4.1)
|
46
|
+
haml (>= 3.1, < 4.1)
|
47
|
+
railties (>= 3.1, < 4.1)
|
48
|
+
hike (1.2.3)
|
49
|
+
i18n (0.6.5)
|
50
|
+
mail (2.5.4)
|
48
51
|
mime-types (~> 1.16)
|
49
52
|
treetop (~> 1.4.8)
|
50
|
-
mime-types (1.
|
51
|
-
|
53
|
+
mime-types (1.25)
|
54
|
+
minitest (4.7.5)
|
55
|
+
multi_json (1.8.2)
|
52
56
|
polyglot (0.3.3)
|
53
|
-
rack (1.
|
54
|
-
rack-
|
55
|
-
rack (>= 0.4)
|
56
|
-
rack-ssl (1.3.2)
|
57
|
-
rack
|
58
|
-
rack-test (0.6.1)
|
57
|
+
rack (1.5.2)
|
58
|
+
rack-test (0.6.2)
|
59
59
|
rack (>= 1.0)
|
60
|
-
rails (
|
61
|
-
actionmailer (=
|
62
|
-
actionpack (=
|
63
|
-
activerecord (=
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
railties (
|
69
|
-
actionpack (=
|
70
|
-
activesupport (=
|
71
|
-
rack-ssl (~> 1.3.2)
|
60
|
+
rails (4.0.0)
|
61
|
+
actionmailer (= 4.0.0)
|
62
|
+
actionpack (= 4.0.0)
|
63
|
+
activerecord (= 4.0.0)
|
64
|
+
activesupport (= 4.0.0)
|
65
|
+
bundler (>= 1.3.0, < 2.0)
|
66
|
+
railties (= 4.0.0)
|
67
|
+
sprockets-rails (~> 2.0.0)
|
68
|
+
railties (4.0.0)
|
69
|
+
actionpack (= 4.0.0)
|
70
|
+
activesupport (= 4.0.0)
|
72
71
|
rake (>= 0.8.7)
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
rdoc (3.12)
|
77
|
-
json (~> 1.4)
|
78
|
-
sprockets (2.1.3)
|
72
|
+
thor (>= 0.18.1, < 2.0)
|
73
|
+
rake (10.1.0)
|
74
|
+
sprockets (2.10.0)
|
79
75
|
hike (~> 1.2)
|
76
|
+
multi_json (~> 1.0)
|
80
77
|
rack (~> 1.0)
|
81
78
|
tilt (~> 1.1, != 1.3.0)
|
82
|
-
|
83
|
-
|
84
|
-
|
79
|
+
sprockets-rails (2.0.1)
|
80
|
+
actionpack (>= 3.0)
|
81
|
+
activesupport (>= 3.0)
|
82
|
+
sprockets (~> 2.8)
|
83
|
+
thor (0.18.1)
|
84
|
+
thread_safe (0.1.3)
|
85
|
+
atomic
|
86
|
+
tilt (1.4.1)
|
87
|
+
treetop (1.4.15)
|
85
88
|
polyglot
|
86
89
|
polyglot (>= 0.3.1)
|
87
|
-
tzinfo (0.3.
|
90
|
+
tzinfo (0.3.38)
|
88
91
|
|
89
92
|
PLATFORMS
|
90
93
|
ruby
|
data/README.markdown
CHANGED
@@ -98,4 +98,15 @@ can serve it with this command line:
|
|
98
98
|
|
99
99
|
sudo python -m SimpleHTTPServer 80
|
100
100
|
|
101
|
-
(be sure to run
|
101
|
+
(be sure to run `rake` in that project before serving it)
|
102
|
+
|
103
|
+
How to develop
|
104
|
+
--------------
|
105
|
+
|
106
|
+
To make a change to the project without having to commit to check the results,
|
107
|
+
you must tell your application to get the gem from your local hard drive.
|
108
|
+
This can be done modifying your app's `Gemfile` to point to where you have this gem:
|
109
|
+
|
110
|
+
gem 'instedd-rails', :path => /path/to/this/gem
|
111
|
+
|
112
|
+
and then running `bundle install`.
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,16 +1,19 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html>
|
2
|
+
<html lang = "<%= I18n.locale %>" >
|
3
3
|
<head>
|
4
4
|
<title><%= application_name.titleize %></title>
|
5
5
|
<% if Rails::version < '3.1' %>
|
6
6
|
<%= javascript_include_tag :defaults, "rails.validations" %>
|
7
7
|
<%= csrf_meta_tag %>
|
8
|
+
<%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %>
|
9
|
+
<%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %>
|
8
10
|
<% else %>
|
11
|
+
<%= javascript_include_tag "jquery-bootstrapper" %>
|
12
|
+
<%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %>
|
13
|
+
<%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %>
|
9
14
|
<%= javascript_include_tag "application" %>
|
10
15
|
<%= csrf_meta_tags %>
|
11
16
|
<% end %>
|
12
|
-
<%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %>
|
13
|
-
<%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %>
|
14
17
|
<% if Rails::version < '3.1' %>
|
15
18
|
<%= stylesheet_link_tag "/stylesheets/#{application_name.underscore}.css" %>
|
16
19
|
<% else %>
|
@@ -37,11 +40,23 @@
|
|
37
40
|
<div class="left">
|
38
41
|
<a href="/"><%= image_tag "#{application_name.underscore}.png" %></a>
|
39
42
|
</div>
|
43
|
+
|
44
|
+
<% if @show_language_selector && defined? Locales %>
|
45
|
+
<ul class="right locale-selector">
|
46
|
+
<% Locales.available.each do |key,name|%>
|
47
|
+
<li class=<%= (I18n.locale == key) ? "selected" : "" %> >
|
48
|
+
<a href= <%='/locale/update?requested_locale='+key.to_s %>> <%= name %> </a>
|
49
|
+
</li>
|
50
|
+
<% end %>
|
51
|
+
</ul>
|
52
|
+
<% end %>
|
53
|
+
|
40
54
|
<% if @show_breadcrumb %>
|
41
55
|
<div class="BreadCrumb">
|
42
56
|
<%= breadcrumb %>
|
43
57
|
</div>
|
44
58
|
<% end %>
|
59
|
+
|
45
60
|
<div class="clear"></div>
|
46
61
|
</div>
|
47
62
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/config/routes.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/instedd_rails/config.rb
CHANGED
@@ -18,10 +18,10 @@ module InsteddRails
|
|
18
18
|
config_accessor :version_name
|
19
19
|
|
20
20
|
def initialize
|
21
|
-
self.application_name = ::Rails.application.class.parent_name
|
21
|
+
self.application_name = ::Rails.application.class.config.application_name rescue ::Rails.application.class.parent_name
|
22
22
|
self.google_analytics = ::Rails.application.class.config.google_analytics
|
23
23
|
self.version_name = ::Rails.application.class.config.version_name
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
end
|
27
|
+
end
|
data/lib/instedd_rails/engine.rb
CHANGED
File without changes
|
data/lib/instedd_rails/routes.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instedd-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.21
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Instedd
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-05-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: breadcrumbs_on_rails
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: haml-rails
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -73,6 +66,7 @@ files:
|
|
73
66
|
- Gemfile.lock
|
74
67
|
- README.markdown
|
75
68
|
- Rakefile
|
69
|
+
- app/assets/javascripts/jquery-bootstrapper.js
|
76
70
|
- app/controllers/errors_controller.rb
|
77
71
|
- app/controllers/instedd_rails/tour_controller.rb
|
78
72
|
- app/helpers/devise_helper.rb
|
@@ -121,26 +115,25 @@ files:
|
|
121
115
|
- lib/instedd_rails/version.rb
|
122
116
|
homepage: http://bitbucket.org/instedd/platform-common-rails
|
123
117
|
licenses: []
|
118
|
+
metadata: {}
|
124
119
|
post_install_message:
|
125
120
|
rdoc_options: []
|
126
121
|
require_paths:
|
127
122
|
- lib
|
128
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
124
|
requirements:
|
131
125
|
- - ! '>='
|
132
126
|
- !ruby/object:Gem::Version
|
133
127
|
version: '0'
|
134
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
-
none: false
|
136
129
|
requirements:
|
137
130
|
- - ! '>='
|
138
131
|
- !ruby/object:Gem::Version
|
139
132
|
version: '0'
|
140
133
|
requirements: []
|
141
134
|
rubyforge_project: instedd-rails
|
142
|
-
rubygems_version:
|
135
|
+
rubygems_version: 2.2.2
|
143
136
|
signing_key:
|
144
|
-
specification_version:
|
137
|
+
specification_version: 4
|
145
138
|
summary: Instedd Platform Common helpers for Rails
|
146
139
|
test_files: []
|