settings_js 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,4 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- script: bundle exec rspec
4
+ before_script:
5
+ - 'export DISPLAY=:99.0'
6
+ - 'sh -e /etc/init.d/xvfb start'
7
+ script: 'rake tests'
data/Rakefile CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  begin
3
2
  require 'jasmine'
4
3
  load 'jasmine/tasks/jasmine.rake'
@@ -7,3 +6,11 @@ rescue LoadError
7
6
  abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
8
7
  end
9
8
  end
9
+
10
+ task 'tests' do
11
+ ['rspec', 'rake jasmine:ci'].each do |task_name|
12
+ puts "Starting to run #{task_name}..."
13
+ system("bundle exec #{task_name}")
14
+ raise "#{task_name} failed!" unless $?.exitstatus == 0
15
+ end
16
+ end
data/settings_js.gemspec CHANGED
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'settings_js'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.date = '2012-11-30'
5
5
  s.summary = 'Sharing same application settings between ruby and javascript'
6
6
  s.authors = ['Kevin Disneur']
7
7
  s.email = 'kevin.disneur@gmail.com'
8
- s.files = `git ls-files`.split(/\n/)
8
+ s.files = `git ls-files | grep -v Gemfile.lock`.split(/\n/)
9
9
  s.test_files = `git ls-files -- spec/*`.split(/\n/)
10
10
  s.homepage = 'http://rubygems.org/gems/settings_js'
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settings_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -133,7 +133,6 @@ files:
133
133
  - .rvmrc
134
134
  - .travis.yml
135
135
  - Gemfile
136
- - Gemfile.lock
137
136
  - README.markdown
138
137
  - Rakefile
139
138
  - app/assets/javascripts/settings-js/settings.js.erb
data/Gemfile.lock DELETED
@@ -1,76 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- settings_js (0.0.1)
5
- active_support (> 1.0)
6
- json (> 0)
7
- sprockets
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- active_support (3.0.0)
13
- activesupport (= 3.0.0)
14
- activesupport (3.0.0)
15
- addressable (2.3.2)
16
- bourne (1.1.2)
17
- mocha (= 0.10.5)
18
- childprocess (0.3.6)
19
- ffi (~> 1.0, >= 1.0.6)
20
- diff-lcs (1.1.3)
21
- ffi (1.2.0)
22
- hike (1.2.1)
23
- jasmine (1.3.0)
24
- jasmine-core (>= 1.3.0)
25
- rack (~> 1.0)
26
- rspec (>= 1.3.1)
27
- selenium-webdriver (>= 0.1.3)
28
- jasmine-core (1.3.0)
29
- json (1.7.5)
30
- libwebsocket (0.1.7.1)
31
- addressable
32
- websocket
33
- metaclass (0.0.1)
34
- mocha (0.10.5)
35
- metaclass (~> 0.0.1)
36
- multi_json (1.4.0)
37
- rack (1.4.1)
38
- rspec (2.12.0)
39
- rspec-core (~> 2.12.0)
40
- rspec-expectations (~> 2.12.0)
41
- rspec-mocks (~> 2.12.0)
42
- rspec-core (2.12.0)
43
- rspec-expectations (2.12.0)
44
- diff-lcs (~> 1.1.3)
45
- rspec-mocks (2.12.0)
46
- rubyzip (0.9.9)
47
- selenium-webdriver (2.26.0)
48
- childprocess (>= 0.2.5)
49
- libwebsocket (~> 0.1.3)
50
- multi_json (~> 1.0)
51
- rubyzip
52
- settingslogic (2.0.8)
53
- shoulda (3.3.2)
54
- shoulda-context (~> 1.0.1)
55
- shoulda-matchers (~> 1.4.1)
56
- shoulda-context (1.0.1)
57
- shoulda-matchers (1.4.2)
58
- activesupport (>= 3.0.0)
59
- bourne (~> 1.1.2)
60
- sprockets (2.8.1)
61
- hike (~> 1.2)
62
- multi_json (~> 1.0)
63
- rack (~> 1.0)
64
- tilt (~> 1.1, != 1.3.0)
65
- tilt (1.3.3)
66
- websocket (1.0.4)
67
-
68
- PLATFORMS
69
- ruby
70
-
71
- DEPENDENCIES
72
- jasmine
73
- rspec
74
- settings_js!
75
- settingslogic
76
- shoulda