we_bridge_rails_engine_nations 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +4 -0
  5. data/CODE_OF_CONDUCT.md +13 -0
  6. data/Gemfile +34 -0
  7. data/Gemfile.lock +254 -0
  8. data/LICENSE.txt +21 -0
  9. data/MIT-LICENSE +20 -0
  10. data/README.md +41 -0
  11. data/Rakefile +37 -0
  12. data/app/assets/javascripts/areas.js +2 -0
  13. data/app/assets/javascripts/currencies.js +2 -0
  14. data/app/assets/javascripts/nations.js +2 -0
  15. data/app/assets/javascripts/regions.js +2 -0
  16. data/app/assets/stylesheets/areas.css +4 -0
  17. data/app/assets/stylesheets/currencies.css +4 -0
  18. data/app/assets/stylesheets/nations.css +4 -0
  19. data/app/assets/stylesheets/regions.css +4 -0
  20. data/app/assets/stylesheets/scaffold.css +56 -0
  21. data/app/controllers/areas_controller.rb +7 -0
  22. data/app/controllers/currencies_controller.rb +58 -0
  23. data/app/controllers/nations_controller.rb +7 -0
  24. data/app/controllers/regions_controller.rb +7 -0
  25. data/app/helpers/areas_helper.rb +2 -0
  26. data/app/helpers/currencies_helper.rb +2 -0
  27. data/app/helpers/nations_helper.rb +2 -0
  28. data/app/helpers/regions_helper.rb +2 -0
  29. data/app/mailers/.keep +0 -0
  30. data/app/models/.keep +0 -0
  31. data/app/models/area.rb +14 -0
  32. data/app/models/area_text.rb +7 -0
  33. data/app/models/currency.rb +26 -0
  34. data/app/models/currency_nation_map.rb +4 -0
  35. data/app/models/currency_text.rb +7 -0
  36. data/app/models/nation.rb +45 -0
  37. data/app/models/nation_text.rb +7 -0
  38. data/app/models/region.rb +15 -0
  39. data/app/models/region_text.rb +7 -0
  40. data/app/views/.keep +0 -0
  41. data/app/views/areas/edit.html.builder +1 -0
  42. data/app/views/areas/index.html.builder +1 -0
  43. data/app/views/areas/new.html.builder +1 -0
  44. data/app/views/areas/show.html.builder +1 -0
  45. data/app/views/currencies/_form.html.builder +14 -0
  46. data/app/views/currencies/edit.html.builder +7 -0
  47. data/app/views/currencies/index.html.builder +25 -0
  48. data/app/views/currencies/new.html.builder +5 -0
  49. data/app/views/currencies/show.html.builder +8 -0
  50. data/app/views/nations/edit.html.builder +1 -0
  51. data/app/views/nations/index.html.builder +1 -0
  52. data/app/views/nations/new.html.builder +1 -0
  53. data/app/views/nations/show.html.builder +1 -0
  54. data/app/views/regions/edit.html.builder +1 -0
  55. data/app/views/regions/index.html.builder +1 -0
  56. data/app/views/regions/new.html.builder +1 -0
  57. data/app/views/regions/show.html.builder +1 -0
  58. data/bin/console +14 -0
  59. data/bin/rails +12 -0
  60. data/bin/setup +7 -0
  61. data/config/routes.rb +6 -0
  62. data/db/migrate/20151127040229_create_nations.rb +27 -0
  63. data/db/migrate/20151127040410_create_regions.rb +19 -0
  64. data/db/migrate/20151127040435_create_areas.rb +19 -0
  65. data/db/migrate/20151202041711_create_currencies.rb +28 -0
  66. data/db/seeds.rb +439 -0
  67. data/lib/tasks/we_bridge_rails_engine_nations_tasks.rake +4 -0
  68. data/lib/we_bridge_rails_engine_nations.rb +7 -0
  69. data/lib/we_bridge_rails_engine_nations/engine.rb +24 -0
  70. data/lib/we_bridge_rails_engine_nations/version.rb +3 -0
  71. data/spec/controllers/areas_controller_spec.rb +169 -0
  72. data/spec/controllers/currencies_controller_spec.rb +159 -0
  73. data/spec/controllers/nations_controller_spec.rb +169 -0
  74. data/spec/controllers/regions_controller_spec.rb +169 -0
  75. data/spec/dummy/README.rdoc +28 -0
  76. data/spec/dummy/Rakefile +6 -0
  77. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  78. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  79. data/spec/dummy/app/controllers/application_controller.rb +8 -0
  80. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  81. data/spec/dummy/app/views/layouts/application.html.builder +14 -0
  82. data/spec/dummy/bin/bundle +3 -0
  83. data/spec/dummy/bin/rails +4 -0
  84. data/spec/dummy/bin/rake +4 -0
  85. data/spec/dummy/bin/setup +29 -0
  86. data/spec/dummy/config.ru +4 -0
  87. data/spec/dummy/config/application.rb +28 -0
  88. data/spec/dummy/config/boot.rb +5 -0
  89. data/spec/dummy/config/database.yml +25 -0
  90. data/spec/dummy/config/environment.rb +5 -0
  91. data/spec/dummy/config/environments/development.rb +41 -0
  92. data/spec/dummy/config/environments/production.rb +79 -0
  93. data/spec/dummy/config/environments/test.rb +42 -0
  94. data/spec/dummy/config/initializers/assets.rb +11 -0
  95. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  96. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  97. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  98. data/spec/dummy/config/initializers/inflections.rb +16 -0
  99. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  100. data/spec/dummy/config/initializers/provider_settings.rb +2 -0
  101. data/spec/dummy/config/initializers/session_store.rb +3 -0
  102. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  103. data/spec/dummy/config/locales/en.yml +23 -0
  104. data/spec/dummy/config/omniauth.yml +63 -0
  105. data/spec/dummy/config/omniauth.yml.org +63 -0
  106. data/spec/dummy/config/routes.rb +56 -0
  107. data/spec/dummy/config/secrets.yml +22 -0
  108. data/spec/dummy/db/development.sqlite3 +0 -0
  109. data/spec/dummy/db/schema.rb +221 -0
  110. data/spec/dummy/db/test.sqlite3 +0 -0
  111. data/spec/dummy/log/development.log +46295 -0
  112. data/spec/dummy/log/test.log +678 -0
  113. data/spec/dummy/public/404.html +67 -0
  114. data/spec/dummy/public/422.html +67 -0
  115. data/spec/dummy/public/500.html +66 -0
  116. data/spec/dummy/public/favicon.ico +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3qWp1cfMUMB1L1B8w4KCdPJNoktDLzCgZhyGa-eLd0g.cache +1 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6VfBYgqqzYcjALfLCOpHzv3E06n_zzoM0lDBI4rnsx0.cache +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6vg_COhVhYBSY6arqzRJFOy9-rF95BfYQsFuol_UGuQ.cache +1 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Azqp0lWcLN5Iz5BDrWrNLqHomPvFzn6pENzB3pm95wo.cache +2 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GYvDs3EBryNSEN-M5uVb3LOFo1oBWq0iDPijDjBVvUs.cache +1 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/H0uxW1DRyYygsm_fv_sMfVycqsGCazsfNJhSZU81CFY.cache +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HcVN18DR0_BmshzEZLPjkeVDruXBZ9iXjboBWmO6Ozw.cache +1 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JigkThideDLksj6ZrufTx6bLVyJBmNDbaouRbMbZdIA.cache +2 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N2BTDMKiaaZ5__Eeqks0aWBzX-5T9Hg0d0015KmSRQo.cache +1 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/NrdOdaS5o4trMDBP6UBqLzFsRrmSPy7XJBBtdwktXqk.cache +1 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +3 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bUQg5IzV2hJHu0Ua4jOdDcbaLqfzpRqx6-qq9C23sts.cache +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/boUHvgQlz503FXEZntk5rEF6Z0dNUvT4VOQquML62dQ.cache +1 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/g5LtU2jYJLiGyWluzwkSuH9dRStTuMGHLO-ivn8wCYE.cache +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gOWNSsYT5GN_cqGVL1MK1faY9XglwixonQVkDk9Pkvk.cache +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/h-W0KoQGAiH7Sn5Y6HjTaVkoEceKV_LeymnmENnyLYQ.cache +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/n5wUjw8Ag9zP7pgTsene8E7Lj3RyWbqUaf2apVdzwc0.cache +2 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nYdpABG_YyXwDqCH1vBNjh0m2AlewuKD9vT92xFu9Qs.cache +1 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nrXgDez-J-7C7rQSEpAiK0Xj5rK37sysOLNYmJIsb_Q.cache +1 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/r_WSE-C4C32WlhZaTBsdC4x3Mf7EQQ93zBA3xOKSw94.cache +1 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/s7AiRxV9LdOVAylAE38RiKCstOIGXxlkhZ15nV8_GfY.cache +2 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tXQLPTRHFdkPsB5bF6KRKGiUir3uMwdTnxE0na0vmes.cache +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vTbuVbqVUHIvOo23rSZvO1yTT8C-98lLVXe_JG_6Pr8.cache +1 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/x22RvUd8k76gbEMX05JmfJaBplbMc2omvEoreS8eAqg.cache +1 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xQIYU3iVajL0UcrfbxTB8PIxGMuRDRvRjmq0ve9-s9U.cache +2 -0
  143. data/spec/factories/areas.rb +6 -0
  144. data/spec/factories/currencies.rb +6 -0
  145. data/spec/factories/nations.rb +6 -0
  146. data/spec/factories/regions.rb +6 -0
  147. data/spec/helpers/areas_helper_spec.rb +15 -0
  148. data/spec/helpers/currencies_helper_spec.rb +15 -0
  149. data/spec/helpers/nations_helper_spec.rb +15 -0
  150. data/spec/helpers/regions_helper_spec.rb +15 -0
  151. data/spec/models/area_spec.rb +5 -0
  152. data/spec/models/currency_spec.rb +24 -0
  153. data/spec/models/nation_spec.rb +24 -0
  154. data/spec/models/region_spec.rb +5 -0
  155. data/spec/rails_helper.rb +54 -0
  156. data/spec/routing/areas_routing_spec.rb +39 -0
  157. data/spec/routing/currencies_routing_spec.rb +39 -0
  158. data/spec/routing/nations_routing_spec.rb +39 -0
  159. data/spec/routing/regions_routing_spec.rb +39 -0
  160. data/spec/spec_helper.rb +2 -0
  161. data/spec/views/areas/edit.html.builder_spec.rb +14 -0
  162. data/spec/views/areas/index.html.builder_spec.rb +14 -0
  163. data/spec/views/areas/new.html.builder_spec.rb +14 -0
  164. data/spec/views/areas/show.html.builder_spec.rb +11 -0
  165. data/spec/views/currencies/edit.html.builder_spec.rb +14 -0
  166. data/spec/views/currencies/index.html.builder_spec.rb +14 -0
  167. data/spec/views/currencies/new.html.builder_spec.rb +14 -0
  168. data/spec/views/currencies/show.html.builder_spec.rb +11 -0
  169. data/spec/views/nations/edit.html.builder_spec.rb +14 -0
  170. data/spec/views/nations/index.html.builder_spec.rb +14 -0
  171. data/spec/views/nations/new.html.builder_spec.rb +14 -0
  172. data/spec/views/nations/show.html.builder_spec.rb +11 -0
  173. data/spec/views/regions/edit.html.builder_spec.rb +14 -0
  174. data/spec/views/regions/index.html.builder_spec.rb +14 -0
  175. data/spec/views/regions/new.html.builder_spec.rb +14 -0
  176. data/spec/views/regions/show.html.builder_spec.rb +11 -0
  177. data/spec/we_bridge_rails_engine_nations_spec.rb +7 -0
  178. data/we_bridge_rails_engine_nations.gemspec +42 -0
  179. metadata +482 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 33f6772eeec93cd358c7917269783d5f5504b074
4
+ data.tar.gz: de666a06f3e72decec76ca3bf34dd4f614625923
5
+ SHA512:
6
+ metadata.gz: 90742f403e01aefc0f63592ba9676694cdfa4aac75a69b12933e4f25c448c954ddb96986c715ab54b4347fd1fab4e933fae32bddded088ed7c08df1421f963d5
7
+ data.tar.gz: 4b96bbfcb3460c109d1fe0337afcdffdc7fdbba5dcce4c54c0b937caa4d8e2c895aa909a871bdd757b3565b99ce533b456ad7496efed0c07a13e064751a76624
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle
2
+ /coverage/
3
+ /doc/
4
+ /pkg/
5
+ /spec/reports/
6
+ /tmp/
7
+ /vendor
8
+ /pkg
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.0
4
+ before_install: gem install bundler -v 1.10.3
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,34 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Declare your gem's dependencies in we_bridge_rails_engine_nations.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # Declare any dependencies that are still in development here instead of in
9
+ # your gemspec. These might include edge Rails or gems from your path or
10
+ # Git. Remember to move these dependencies to your gemspec before releasing
11
+ # your gem to rubygems.org.
12
+
13
+ # To use a debugger
14
+ # gem 'byebug', group: [:development, :test]
15
+
16
+ gem 'activerecord-mlang'
17
+ # gem 'we_bridge-html_builder', group: [:production]
18
+ # gem 'we_bridge-html_builder', '>= 0.2' # github: 'baseball-bridge/we_bridge-html_builder'
19
+ gem 'we_bridge-html_builder' # , path: '../we_bridge-html_builder'
20
+ gem 'actionview-helpers-auto_tag_helper'
21
+ # gem 'we_bridge-auto_view_helper'
22
+ gem 'we_bridge-auto_view_helper'
23
+
24
+ # error handling
25
+ gem 'we_bridge-exceptions', ">= 0.1.1"
26
+ gem 'we_bridge_rails_engine_langs'
27
+ gem 'we_bridge_rails_engine_users'
28
+
29
+ group :development, :test do
30
+ gem 'rspec-rails'
31
+ gem 'factory_girl_rails'
32
+ gem 'jquery-rails'
33
+ end
34
+
data/Gemfile.lock ADDED
@@ -0,0 +1,254 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ we_bridge_rails_engine_nations (0.1.0)
5
+ actionview-helpers-auto_tag_helper
6
+ activerecord-mlang
7
+ we_bridge-auto_view_helper
8
+ we_bridge-exceptions (>= 0.1.1)
9
+ we_bridge-html_builder
10
+ we_bridge_rails_engine_langs
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ actionmailer (4.2.5)
16
+ actionpack (= 4.2.5)
17
+ actionview (= 4.2.5)
18
+ activejob (= 4.2.5)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 1.0, >= 1.0.5)
21
+ actionpack (4.2.5)
22
+ actionview (= 4.2.5)
23
+ activesupport (= 4.2.5)
24
+ rack (~> 1.6)
25
+ rack-test (~> 0.6.2)
26
+ rails-dom-testing (~> 1.0, >= 1.0.5)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (4.2.5)
29
+ activesupport (= 4.2.5)
30
+ builder (~> 3.1)
31
+ erubis (~> 2.7.0)
32
+ rails-dom-testing (~> 1.0, >= 1.0.5)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
34
+ actionview-helpers-auto_tag_helper (0.1.3)
35
+ actionview
36
+ activesupport (>= 4.2.3)
37
+ activejob (4.2.5)
38
+ activesupport (= 4.2.5)
39
+ globalid (>= 0.3.0)
40
+ activemodel (4.2.5)
41
+ activesupport (= 4.2.5)
42
+ builder (~> 3.1)
43
+ activerecord (4.2.5)
44
+ activemodel (= 4.2.5)
45
+ activesupport (= 4.2.5)
46
+ arel (~> 6.0)
47
+ activerecord-mlang (0.0.8)
48
+ activerecord
49
+ i18n
50
+ activerecord-session_store (0.1.2)
51
+ actionpack (>= 4.0.0, < 5)
52
+ activerecord (>= 4.0.0, < 5)
53
+ railties (>= 4.0.0, < 5)
54
+ activesupport (4.2.5)
55
+ i18n (~> 0.7)
56
+ json (~> 1.7, >= 1.7.7)
57
+ minitest (~> 5.1)
58
+ thread_safe (~> 0.3, >= 0.3.4)
59
+ tzinfo (~> 1.1)
60
+ addressable (2.3.8)
61
+ arel (6.0.3)
62
+ builder (3.2.2)
63
+ diff-lcs (1.2.5)
64
+ erubis (2.7.0)
65
+ factory_girl (4.5.0)
66
+ activesupport (>= 3.0.0)
67
+ factory_girl_rails (4.5.0)
68
+ factory_girl (~> 4.5.0)
69
+ railties (>= 3.0.0)
70
+ faraday (0.9.2)
71
+ multipart-post (>= 1.2, < 3)
72
+ globalid (0.3.6)
73
+ activesupport (>= 4.1.0)
74
+ hashie (3.4.3)
75
+ i18n (0.7.0)
76
+ jquery-rails (4.0.5)
77
+ rails-dom-testing (~> 1.0)
78
+ railties (>= 4.2.0)
79
+ thor (>= 0.14, < 2.0)
80
+ json (1.8.3)
81
+ jwt (1.5.2)
82
+ loofah (2.0.3)
83
+ nokogiri (>= 1.5.9)
84
+ mail (2.6.3)
85
+ mime-types (>= 1.16, < 3)
86
+ mime-types (2.99)
87
+ mini_portile2 (2.0.0)
88
+ minitest (5.8.3)
89
+ multi_json (1.11.2)
90
+ multi_xml (0.5.5)
91
+ multipart-post (2.0.0)
92
+ nokogiri (1.6.7)
93
+ mini_portile2 (~> 2.0.0.rc2)
94
+ oauth (0.4.7)
95
+ oauth2 (1.0.0)
96
+ faraday (>= 0.8, < 0.10)
97
+ jwt (~> 1.0)
98
+ multi_json (~> 1.3)
99
+ multi_xml (~> 0.5)
100
+ rack (~> 1.2)
101
+ omniauth (1.2.2)
102
+ hashie (>= 1.2, < 4)
103
+ rack (~> 1.0)
104
+ omniauth-dropbox (0.2.0)
105
+ omniauth-oauth (~> 1.0)
106
+ omniauth-facebook (3.0.0)
107
+ omniauth-oauth2 (~> 1.2)
108
+ omniauth-github (1.1.2)
109
+ omniauth (~> 1.0)
110
+ omniauth-oauth2 (~> 1.1)
111
+ omniauth-google-oauth2 (0.2.10)
112
+ addressable (~> 2.3)
113
+ jwt (~> 1.0)
114
+ multi_json (~> 1.3)
115
+ omniauth (>= 1.1.1)
116
+ omniauth-oauth2 (~> 1.3.1)
117
+ omniauth-hatena (0.0.4)
118
+ multi_json (~> 1.3)
119
+ omniauth-oauth (~> 1.0)
120
+ omniauth-linkedin (0.2.0)
121
+ omniauth-oauth (~> 1.0)
122
+ omniauth-mixi (1.0.0)
123
+ omniauth (~> 1.0)
124
+ omniauth-oauth2 (~> 1.1)
125
+ omniauth-oauth (1.1.0)
126
+ oauth
127
+ omniauth (~> 1.0)
128
+ omniauth-oauth2 (1.3.1)
129
+ oauth2 (~> 1.0)
130
+ omniauth (~> 1.2)
131
+ omniauth-twitter (1.2.1)
132
+ json (~> 1.3)
133
+ omniauth-oauth (~> 1.1)
134
+ omniauth-yahoo (0.0.7)
135
+ omniauth-oauth (~> 1.0)
136
+ omniauth-youtube (2.1)
137
+ omniauth-oauth2 (~> 1.0)
138
+ rack (1.6.4)
139
+ rack-test (0.6.3)
140
+ rack (>= 1.0)
141
+ rails (4.2.5)
142
+ actionmailer (= 4.2.5)
143
+ actionpack (= 4.2.5)
144
+ actionview (= 4.2.5)
145
+ activejob (= 4.2.5)
146
+ activemodel (= 4.2.5)
147
+ activerecord (= 4.2.5)
148
+ activesupport (= 4.2.5)
149
+ bundler (>= 1.3.0, < 2.0)
150
+ railties (= 4.2.5)
151
+ sprockets-rails
152
+ rails-deprecated_sanitizer (1.0.3)
153
+ activesupport (>= 4.2.0.alpha)
154
+ rails-dom-testing (1.0.7)
155
+ activesupport (>= 4.2.0.beta, < 5.0)
156
+ nokogiri (~> 1.6.0)
157
+ rails-deprecated_sanitizer (>= 1.0.1)
158
+ rails-html-sanitizer (1.0.2)
159
+ loofah (~> 2.0)
160
+ railties (4.2.5)
161
+ actionpack (= 4.2.5)
162
+ activesupport (= 4.2.5)
163
+ rake (>= 0.8.7)
164
+ thor (>= 0.18.1, < 2.0)
165
+ rake (10.4.2)
166
+ rspec (3.4.0)
167
+ rspec-core (~> 3.4.0)
168
+ rspec-expectations (~> 3.4.0)
169
+ rspec-mocks (~> 3.4.0)
170
+ rspec-core (3.4.1)
171
+ rspec-support (~> 3.4.0)
172
+ rspec-expectations (3.4.0)
173
+ diff-lcs (>= 1.2.0, < 2.0)
174
+ rspec-support (~> 3.4.0)
175
+ rspec-mocks (3.4.0)
176
+ diff-lcs (>= 1.2.0, < 2.0)
177
+ rspec-support (~> 3.4.0)
178
+ rspec-rails (3.4.0)
179
+ actionpack (>= 3.0, < 4.3)
180
+ activesupport (>= 3.0, < 4.3)
181
+ railties (>= 3.0, < 4.3)
182
+ rspec-core (~> 3.4.0)
183
+ rspec-expectations (~> 3.4.0)
184
+ rspec-mocks (~> 3.4.0)
185
+ rspec-support (~> 3.4.0)
186
+ rspec-support (3.4.1)
187
+ sprockets (3.4.1)
188
+ rack (> 1, < 3)
189
+ sprockets-rails (2.3.3)
190
+ actionpack (>= 3.0)
191
+ activesupport (>= 3.0)
192
+ sprockets (>= 2.8, < 4.0)
193
+ sqlite3 (1.3.11)
194
+ thor (0.19.1)
195
+ thread_safe (0.3.5)
196
+ tzinfo (1.2.2)
197
+ thread_safe (~> 0.1)
198
+ we_bridge-auto_view_helper (0.0.10)
199
+ actionview
200
+ actionview-helpers-auto_tag_helper
201
+ activerecord-mlang
202
+ we_bridge-exceptions (0.1.1)
203
+ rails (>= 3)
204
+ we_bridge-html_builder (0.1.7)
205
+ nokogiri
206
+ we_bridge_rails_engine_langs (0.1.6)
207
+ actionview-helpers-auto_tag_helper
208
+ activerecord-mlang
209
+ rails (~> 4.2.3)
210
+ we_bridge-auto_view_helper
211
+ we_bridge-html_builder
212
+ we_bridge_rails_engine_users (0.1.10)
213
+ actionview-helpers-auto_tag_helper
214
+ activerecord-mlang
215
+ activerecord-session_store
216
+ omniauth
217
+ omniauth-dropbox
218
+ omniauth-facebook
219
+ omniauth-github
220
+ omniauth-google-oauth2
221
+ omniauth-hatena
222
+ omniauth-linkedin
223
+ omniauth-mixi
224
+ omniauth-twitter
225
+ omniauth-yahoo
226
+ omniauth-youtube
227
+ rails (~> 4.2.3)
228
+ we_bridge-auto_view_helper
229
+ we_bridge-exceptions (>= 0.1.1)
230
+ we_bridge-html_builder
231
+ we_bridge_rails_engine_langs
232
+
233
+ PLATFORMS
234
+ ruby
235
+
236
+ DEPENDENCIES
237
+ actionview-helpers-auto_tag_helper
238
+ activerecord-mlang
239
+ bundler (~> 1.10)
240
+ factory_girl_rails
241
+ jquery-rails
242
+ rake (~> 10.0)
243
+ rspec
244
+ rspec-rails
245
+ sqlite3
246
+ we_bridge-auto_view_helper
247
+ we_bridge-exceptions (>= 0.1.1)
248
+ we_bridge-html_builder
249
+ we_bridge_rails_engine_langs
250
+ we_bridge_rails_engine_nations!
251
+ we_bridge_rails_engine_users
252
+
253
+ BUNDLED WITH
254
+ 1.10.6
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Shinjiro Itagaki
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2015 Shinjiro Itagaki
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # WeBridgeRailsEngineNations
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/we_bridge_rails_engine_nations`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'we_bridge_rails_engine_nations'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install we_bridge_rails_engine_nations
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/we_bridge_rails_engine_nations. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,37 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'WeBridgeRailsEngineNations'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+
21
+ load 'rails/tasks/statistics.rake'
22
+
23
+
24
+
25
+ Bundler::GemHelper.install_tasks
26
+
27
+ require 'rake/testtask'
28
+
29
+ Rake::TestTask.new(:test) do |t|
30
+ t.libs << 'lib'
31
+ t.libs << 'test'
32
+ t.pattern = 'test/**/*_test.rb'
33
+ t.verbose = false
34
+ end
35
+
36
+
37
+ task default: :test