applinks 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/{LICENSE.txt → MIT-LICENSE} +1 -4
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -1
  5. data/app/controllers/applinks/application_controller.rb +4 -0
  6. data/app/helpers/applinks/application_helper.rb +24 -0
  7. data/app/views/applinks/_head.html.erb +17 -0
  8. data/config/initializers/applinks.rb +3 -0
  9. data/lib/applinks/builder.rb +43 -0
  10. data/lib/applinks/config.rb +10 -0
  11. data/lib/applinks/engine.rb +5 -0
  12. data/lib/applinks/version.rb +2 -5
  13. data/lib/applinks.rb +3 -5
  14. data/lib/tasks/applinks_tasks.rake +4 -0
  15. data/test/applinks_test.rb +7 -0
  16. data/test/dummy/README.rdoc +28 -0
  17. data/test/dummy/Rakefile +6 -0
  18. data/test/dummy/app/assets/javascripts/application.js +13 -0
  19. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  20. data/test/dummy/app/controllers/application_controller.rb +5 -0
  21. data/test/dummy/app/helpers/application_helper.rb +2 -0
  22. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/test/dummy/bin/bundle +3 -0
  24. data/test/dummy/bin/rails +4 -0
  25. data/test/dummy/bin/rake +4 -0
  26. data/test/dummy/config/application.rb +23 -0
  27. data/test/dummy/config/boot.rb +5 -0
  28. data/test/dummy/config/database.yml +25 -0
  29. data/test/dummy/config/environment.rb +5 -0
  30. data/test/dummy/config/environments/development.rb +29 -0
  31. data/test/dummy/config/environments/production.rb +80 -0
  32. data/test/dummy/config/environments/test.rb +36 -0
  33. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  35. data/test/dummy/config/initializers/inflections.rb +16 -0
  36. data/test/dummy/config/initializers/mime_types.rb +5 -0
  37. data/test/dummy/config/initializers/secret_token.rb +12 -0
  38. data/test/dummy/config/initializers/session_store.rb +3 -0
  39. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/dummy/config/locales/en.yml +23 -0
  41. data/test/dummy/config/routes.rb +4 -0
  42. data/test/dummy/config.ru +4 -0
  43. data/test/dummy/public/404.html +58 -0
  44. data/test/dummy/public/422.html +58 -0
  45. data/test/dummy/public/500.html +57 -0
  46. data/test/integration/navigation_test.rb +10 -0
  47. data/test/test_helper.rb +15 -0
  48. metadata +86 -136
  49. data/.gitignore +0 -4
  50. data/.rspec +0 -4
  51. data/.travis.yml +0 -10
  52. data/Gemfile +0 -4
  53. data/README.md +0 -31
  54. data/applinks.gemspec +0 -36
  55. data/lib/applinks/helper.rb +0 -37
  56. data/npm-debug.log +0 -21
  57. data/rspec_output.txt +0 -95
  58. data/spec/applinks/applink_spec.rb +0 -5
  59. data/spec/spec_helper.rb +0 -15
  60. /data/{app/views/applinks/head.html.erb → test/dummy/public/favicon.ico} +0 -0
data/rspec_output.txt DELETED
@@ -1,95 +0,0 @@
1
- Run options: include {:focus=>true}
2
-
3
- All examples were filtered out; ignoring {:focus=>true}
4
-
5
- OMDBGateway::Gateway
6
- With invalid Endpoint URI
7
- should have the correct API endpoint
8
- with a movie that exists
9
- #success
10
- should note failure
11
- #error_message
12
- should note failure
13
- With invalid Endpoint URI
14
- should have the correct API endpoint
15
- with a movie that exists
16
- #success
17
- should note failure
18
- #error_message
19
- should note failure
20
- With Valid Endpoint
21
- should have the correct API endpoint
22
- #title_search
23
- with a movie that exists
24
- should return a hash of movie attributes
25
- should contain a title
26
- should have tomatoes
27
- should contain a not have tomatoes
28
- should have a longer plot
29
- with the year parameter
30
- should not be the same title
31
- with the plot parameter
32
- should have different plots
33
- with a movie that doesnt exist
34
- should return a hash
35
- should return a hash with a false response
36
- should return a hash with an error message
37
- #find_by_id
38
- with a title that exists
39
- should return a hash of movie attributes
40
- should contain a title
41
- with a movie that does not exist
42
- should return nil
43
- #free_search
44
- with search results
45
- should return an ResponseWrapper
46
- should return an array with hash contents
47
- with a single search result
48
- should return an array
49
- should return an array with 1 element
50
- should have a title
51
- with no search results
52
- should return an ResponseWrapper
53
- should show app failed
54
- Allows Faraday Connection Customization
55
- should call the config block with a connection
56
-
57
- OMDBGateway::ResponseWrapper
58
- #error_message
59
- should be nil
60
- should be 'X500 Error'
61
- should be 'X500 Error'
62
- #success?
63
- should be true
64
- should be true
65
- should be false
66
- #as_hash
67
- should be {}
68
- should be {}
69
- should be {}
70
- should be {'a' => 'A'}
71
- #as_hash
72
- should be []
73
- should be []
74
- should be []
75
- should be []
76
- should be [{'a' => 'A', 'b' => 'B'}]
77
- #prune_hash
78
- should be nil for empty array
79
- should be 5
80
- should not expose Error or Report
81
- should be return hash element
82
- should be nil for any array
83
- #prune_array
84
- should be nil for empty array
85
- should be default 700
86
- should not expose Error or Report
87
- should not return hash element but the default
88
- should be {'a' => 'A', 'b' => 'B'} for any array
89
- should be default (500) for out of bound index for any array
90
- #array_first
91
- should be nil for empty array
92
- should be {'a' => 'A', 'b' => 'B'} for any array
93
-
94
- Finished in 0.24853 seconds
95
- 56 examples, 0 failures
@@ -1,5 +0,0 @@
1
- require 'spec_helper'
2
-
3
- module Applinks
4
-
5
- end
data/spec/spec_helper.rb DELETED
@@ -1,15 +0,0 @@
1
- require 'applinks'
2
- require 'vcr'
3
-
4
- VCR.configure do |c|
5
- c.cassette_library_dir = 'fixtures/vcr_cassettes'
6
- c.hook_into :webmock # or :fakeweb
7
- c.default_cassette_options = { :record => :new_episodes }
8
- c.configure_rspec_metadata!
9
- end
10
-
11
- RSpec.configure do |config|
12
- config.treat_symbols_as_metadata_keys_with_true_values = true
13
- config.run_all_when_everything_filtered = true
14
- config.filter_run :focus
15
- end