openstax_connect 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +70 -0
  3. data/Rakefile +49 -0
  4. data/app/algorithms/openstax/connect/search_users.rb +47 -0
  5. data/app/assets/javascripts/openstax/connect/application.js +15 -0
  6. data/app/assets/javascripts/openstax/connect/sessions.js +2 -0
  7. data/app/assets/stylesheets/openstax/connect/application.css +13 -0
  8. data/app/assets/stylesheets/openstax/connect/dev.css.scss +31 -0
  9. data/app/assets/stylesheets/openstax/connect/sessions.css +4 -0
  10. data/app/controllers/openstax/connect/application_controller.rb +9 -0
  11. data/app/controllers/openstax/connect/dev/dev_controller.rb +16 -0
  12. data/app/controllers/openstax/connect/dev/sessions_controller.rb +21 -0
  13. data/app/controllers/openstax/connect/dev/users_controller.rb +28 -0
  14. data/app/controllers/openstax/connect/sessions_controller.rb +44 -0
  15. data/app/handlers/openstax/connect/dev/users_create.rb +31 -0
  16. data/app/handlers/openstax/connect/dev/users_generate.rb +36 -0
  17. data/app/handlers/openstax/connect/dev/users_search.rb +64 -0
  18. data/app/handlers/openstax/connect/sessions_omniauth_authenticated.rb +35 -0
  19. data/app/helpers/openstax/connect/application_helper.rb +20 -0
  20. data/app/helpers/openstax/connect/sessions_helper.rb +4 -0
  21. data/app/models/anonymous_user.rb +40 -0
  22. data/app/models/user.rb +21 -0
  23. data/app/views/layouts/openstax/connect/application.html.erb +14 -0
  24. data/app/views/openstax/connect/dev/users/index.html.erb +31 -0
  25. data/app/views/openstax/connect/dev/users/search.js.erb +21 -0
  26. data/app/views/openstax/connect/sessions/create.html.erb +10 -0
  27. data/app/views/openstax/connect/shared/_attention.html.erb +3 -0
  28. data/app/views/openstax/connect/users/_action_create_form.html.erb +9 -0
  29. data/app/views/openstax/connect/users/_action_dialog.html.erb +10 -0
  30. data/app/views/openstax/connect/users/_action_list.html.erb +33 -0
  31. data/app/views/openstax/connect/users/_action_search.html.erb +25 -0
  32. data/app/views/openstax/connect/users/action_search.js.erb +8 -0
  33. data/config/initializers/02_extend_builtins.rb +48 -0
  34. data/config/routes.rb +32 -0
  35. data/db/migrate/20130729213800_create_users.rb +9 -0
  36. data/db/migrate/20130909215452_add_fields_to_user.rb +11 -0
  37. data/lib/omniauth/strategies/openstax.rb +28 -0
  38. data/lib/openstax/connect/action_list.rb +40 -0
  39. data/lib/openstax/connect/engine.rb +34 -0
  40. data/lib/openstax/connect/route_helper.rb +34 -0
  41. data/lib/openstax/connect/utilities.rb +12 -0
  42. data/lib/openstax/connect/version.rb +5 -0
  43. data/lib/openstax_connect.rb +72 -0
  44. data/lib/tasks/connect-rails_tasks.rake +4 -0
  45. metadata +191 -0
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: openstax_connect
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - JP Slavinsky
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.13
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.13
30
+ - !ruby/object:Gem::Dependency
31
+ name: omniauth
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '1.1'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1.1'
46
+ - !ruby/object:Gem::Dependency
47
+ name: omniauth-oauth2
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.1.1
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: squeel
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: sqlite3
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rspec-rails
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ description: Rails common code and bindings and for 'services' API
111
+ email:
112
+ - jps@kindlinglabs.com
113
+ executables: []
114
+ extensions: []
115
+ extra_rdoc_files: []
116
+ files:
117
+ - app/algorithms/openstax/connect/search_users.rb
118
+ - app/assets/javascripts/openstax/connect/application.js
119
+ - app/assets/javascripts/openstax/connect/sessions.js
120
+ - app/assets/stylesheets/openstax/connect/application.css
121
+ - app/assets/stylesheets/openstax/connect/dev.css.scss
122
+ - app/assets/stylesheets/openstax/connect/sessions.css
123
+ - app/controllers/openstax/connect/application_controller.rb
124
+ - app/controllers/openstax/connect/dev/dev_controller.rb
125
+ - app/controllers/openstax/connect/dev/sessions_controller.rb
126
+ - app/controllers/openstax/connect/dev/users_controller.rb
127
+ - app/controllers/openstax/connect/sessions_controller.rb
128
+ - app/handlers/openstax/connect/dev/users_create.rb
129
+ - app/handlers/openstax/connect/dev/users_generate.rb
130
+ - app/handlers/openstax/connect/dev/users_search.rb
131
+ - app/handlers/openstax/connect/sessions_omniauth_authenticated.rb
132
+ - app/helpers/openstax/connect/application_helper.rb
133
+ - app/helpers/openstax/connect/sessions_helper.rb
134
+ - app/models/anonymous_user.rb
135
+ - app/models/user.rb
136
+ - app/views/layouts/openstax/connect/application.html.erb
137
+ - app/views/openstax/connect/dev/users/index.html.erb
138
+ - app/views/openstax/connect/dev/users/search.js.erb
139
+ - app/views/openstax/connect/sessions/create.html.erb
140
+ - app/views/openstax/connect/shared/_attention.html.erb
141
+ - app/views/openstax/connect/users/_action_create_form.html.erb
142
+ - app/views/openstax/connect/users/_action_dialog.html.erb
143
+ - app/views/openstax/connect/users/_action_list.html.erb
144
+ - app/views/openstax/connect/users/_action_search.html.erb
145
+ - app/views/openstax/connect/users/action_search.js.erb
146
+ - config/initializers/02_extend_builtins.rb
147
+ - config/routes.rb
148
+ - db/migrate/20130729213800_create_users.rb
149
+ - db/migrate/20130909215452_add_fields_to_user.rb
150
+ - lib/omniauth/strategies/openstax.rb
151
+ - lib/openstax/connect/action_list.rb
152
+ - lib/openstax/connect/engine.rb
153
+ - lib/openstax/connect/route_helper.rb
154
+ - lib/openstax/connect/utilities.rb
155
+ - lib/openstax/connect/version.rb
156
+ - lib/openstax_connect.rb
157
+ - lib/tasks/connect-rails_tasks.rake
158
+ - MIT-LICENSE
159
+ - Rakefile
160
+ - README.md
161
+ homepage: http://github.com/openstax/connect-rails
162
+ licenses: []
163
+ post_install_message:
164
+ rdoc_options: []
165
+ require_paths:
166
+ - lib
167
+ required_ruby_version: !ruby/object:Gem::Requirement
168
+ none: false
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ segments:
174
+ - 0
175
+ hash: 3299630262268843915
176
+ required_rubygems_version: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ segments:
183
+ - 0
184
+ hash: 3299630262268843915
185
+ requirements: []
186
+ rubyforge_project:
187
+ rubygems_version: 1.8.25
188
+ signing_key:
189
+ specification_version: 3
190
+ summary: Rails common code and bindings and for 'services' API
191
+ test_files: []