ocean-rails 1.27.3 → 1.27.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbb2caf86b2e021aa91b7b3163d34305a165ec50
4
- data.tar.gz: 934c0e1917ee171dab2a9d5d472d5092557248d4
3
+ metadata.gz: 78d3b274c6718b57dae000ea3e3e574be2b3ddfc
4
+ data.tar.gz: b29fc877125a8cf97609ff3b04bb7bcffc2d95fa
5
5
  SHA512:
6
- metadata.gz: 5c9c4cc75ebb65e206386bf14bc45fe24d8bf46782d4aa7b9ab6847897bfb4d502ca1897686965c4bcf2a005ba516aa3f5e343437267f56bd5275f55f8c10cd2
7
- data.tar.gz: b859d48b4241d17b38ea4a5e5c60b49f81f9928bf0fa8fea729e6f82a3b2292405cfe613cac9d05f76fbb1ec5e8ae7e980ac9e087ac59822ad00dd483f247867
6
+ metadata.gz: 4afc100b07ee0e2f0e9d1be2073d868d788a6b0039e2d89672b734ae47cbe5a07f5dc31152484e71a163ead31e62790e205e80ddbc659c9418ca7aee59930169
7
+ data.tar.gz: 60e8201ee9a82cec8e3be112a823c68495fbaf3e26ccac955379147e7e7eec953cff580250391cfac8f869a9fbd5d810056ae1801c239760cf0af3c33cd8c93d
@@ -2,7 +2,16 @@
2
2
  # In order for the application to work, a file named config/config.yml must exist.
3
3
  # You can use this file as a template: simply copy it, rename it and tailor its
4
4
  # contents. All data in this file will be used to define constants in your application
5
- # namespace. NB: the Chef recipes used to deploy this to the production environment will
5
+ # namespace. Please note that both config.yml and config.yml.example must exist - don't
6
+ # delete this example file, as its values will be used by TeamCity for tests.
7
+ #
8
+ # Any constants declared here can be overridden by corresponding environment variables
9
+ # starting with OVERRIDE_. Thus, BASE_DOMAIN can be overridden by the environment
10
+ # variable OVERRIDE_BASE_DOMAIN, and so forth. The API_PASSWORD receives special
11
+ # treatment: you can pass both the master and the staging password separated by a comma,
12
+ # and Ocean will choose the appropriate one to use depending on the Chef environment.
13
+ #
14
+ # NB: the Chef recipes used to deploy this to the production environment will
6
15
  # replace the contents of config/config.yml with an auto-generated file.
7
16
  ##########################################################################################
8
17
 
@@ -46,3 +46,53 @@ RSpec.configure do |config|
46
46
  config.include FactoryGirl::Syntax::Methods
47
47
  end
48
48
 
49
+
50
+ # ------------------------------------------------------------------------------------
51
+ # Uncomment the entire following section if you're creating a client app.
52
+ # You can delete this section if you're creating a REST service.
53
+ # ------------------------------------------------------------------------------------
54
+
55
+ # # Figure out the external URI of the webapp against which to test the front end.
56
+ # dns_name = "webshop" # Set this to your client apps' DNS name
57
+ # # Don't modify any of these, set environment vars instead.
58
+ # ocean_env = ENV['GIT_BRANCH'] || ENV['OCEAN_FRONTEND'] || "master"
59
+ # ocean_env = "master" if ocean_env == "<default>"
60
+ # client_host = ENV['CLIENT_HOST'] || "http://#{ocean_env}-#{dns_name}.#{BASE_DOMAIN}"
61
+ # client_port = ENV['CLIENT_PORT'] || 80
62
+
63
+
64
+ # # Configure Watir
65
+ # WatirWebdriverRails.host = client_host
66
+ # WatirWebdriverRails.port = client_port
67
+ # WatirWebdriverRails.close_browser_after_finish = true
68
+
69
+ # URL = "#{client_host}:#{client_port}"
70
+
71
+ # def setup_browser(uri)
72
+ # if RUBY_PLATFORM =~ /linux/
73
+ # @headless = Headless.new
74
+ # @headless.start
75
+ # b = Watir::Browser.start uri
76
+ # else
77
+ # b = Watir::Browser.new ENV["browser"] || :ff
78
+ # b.goto uri
79
+ # end
80
+
81
+ # # Make sure that window is maximized to not get viewport errors
82
+ # screen_width = b.execute_script("return screen.width;")
83
+ # screen_height = b.execute_script("return screen.height;")
84
+ # b.driver.manage.window.resize_to(screen_width,screen_height)
85
+ # b.driver.manage.window.move_to(0,0)
86
+ # b
87
+ # end
88
+
89
+
90
+ # def teardown_browser(browser)
91
+ # if RUBY_PLATFORM =~ /linux/
92
+ # #@headless.take_screenshot "screenshot-#{rand(1000000000)}.jpg"
93
+ # browser.close
94
+ # @headless.destroy
95
+ # else
96
+ # browser.close
97
+ # end
98
+ # end
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "1.27.3"
2
+ VERSION = "1.27.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.3
4
+ version: 1.27.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-23 00:00:00.000000000 Z
11
+ date: 2013-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday