iqvoc_inflectionals 2.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2154ace40dd6827311426c396cbe697cbe3f8994
4
+ data.tar.gz: de717087840508a6fa94bc3372fe80bb7e7a9668
5
+ SHA512:
6
+ metadata.gz: 81de14380524623a0e89ce6dc63fa611735a09fa500239f78dd455863daef5b8b5fee009c0d628142f702c1e8d72b25280bcca486afceb702820011f89611ead
7
+ data.tar.gz: 8d8923b51563364f5c6fc11d26cfe2a7f2ac003c51572c5bc5a92b6b1458bc5c65cd732c97d47d5229da6b82828a4db77faa96811b275544a4e8335046576533
data/.travis.yml CHANGED
@@ -1,14 +1,13 @@
1
1
  rvm:
2
- - 1.8.7
3
- - 1.9.2
4
2
  - 1.9.3
3
+ - 2.0.0
5
4
 
6
5
  env:
7
6
  - DB=sqlite
8
7
  - DB=mysql
9
8
 
10
- before_script: ruby ./script/ci/travis_before_build.rb
11
- script: bundle exec rake iqvoc:setup:generate_secret_token db:drop db:create iqvoc:db:migrate_all test RAILS_ENV=test
9
+ script: "./script/ci/travis-build"
10
+ before_script: "./script/ci/travis-before-build"
12
11
 
13
12
  branches:
14
13
  only:
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '~> 3.2.1'
4
- gem 'iqvoc', '~> 4.0.0'#, :path => '../iqvoc'
5
- gem 'iqvoc_skosxl', '~> 2.0.0'#, :path => '../iqvoc_skosxl'
3
+ gem 'rails', '~> 3.2.13'
4
+ gem 'iqvoc', :git => 'git://github.com/innoq/iqvoc.git'
5
+ gem 'iqvoc_skosxl', :git => 'git://github.com/innoq/iqvoc_skosxl.git'
6
6
 
7
7
  group :development, :test do
8
8
  platforms :ruby do
@@ -14,9 +14,3 @@ group :development, :test do
14
14
  gem 'activerecord-jdbcmysql-adapter'
15
15
  end
16
16
  end
17
-
18
- group :test do
19
- gem 'test-unit'
20
- gem 'spork'
21
- gem 'spork-testunit'
22
- end
data/Gemfile.lock CHANGED
@@ -1,125 +1,132 @@
1
+ GIT
2
+ remote: git://github.com/innoq/iqvoc.git
3
+ revision: 77c24b3613951ce84e4a65db2f04b53c278aa0b6
4
+ specs:
5
+ iqvoc (4.1.0)
6
+ authlogic
7
+ bundler
8
+ cancan
9
+ iq_rdf (~> 0.1.2)
10
+ iq_triplestorage
11
+ json
12
+ kaminari
13
+ rails (~> 3.2.1)
14
+ rails_autolink
15
+ sass-rails (~> 3.2.5)
16
+ simple_form
17
+
18
+ GIT
19
+ remote: git://github.com/innoq/iqvoc_skosxl.git
20
+ revision: 14dc8d12514b367357bd8ee2bd64fa4780b0ce14
21
+ specs:
22
+ iqvoc_skosxl (2.0.2)
23
+ bundler
24
+ iqvoc (~> 4.1.0)
25
+
1
26
  GEM
2
27
  remote: http://rubygems.org/
3
28
  specs:
4
- actionmailer (3.2.2)
5
- actionpack (= 3.2.2)
6
- mail (~> 2.4.0)
7
- actionpack (3.2.2)
8
- activemodel (= 3.2.2)
9
- activesupport (= 3.2.2)
29
+ actionmailer (3.2.13)
30
+ actionpack (= 3.2.13)
31
+ mail (~> 2.5.3)
32
+ actionpack (3.2.13)
33
+ activemodel (= 3.2.13)
34
+ activesupport (= 3.2.13)
10
35
  builder (~> 3.0.0)
11
36
  erubis (~> 2.7.0)
12
- journey (~> 1.0.1)
13
- rack (~> 1.4.0)
14
- rack-cache (~> 1.1)
37
+ journey (~> 1.0.4)
38
+ rack (~> 1.4.5)
39
+ rack-cache (~> 1.2)
15
40
  rack-test (~> 0.6.1)
16
- sprockets (~> 2.1.2)
17
- activemodel (3.2.2)
18
- activesupport (= 3.2.2)
41
+ sprockets (~> 2.2.1)
42
+ activemodel (3.2.13)
43
+ activesupport (= 3.2.13)
19
44
  builder (~> 3.0.0)
20
- activerecord (3.2.2)
21
- activemodel (= 3.2.2)
22
- activesupport (= 3.2.2)
45
+ activerecord (3.2.13)
46
+ activemodel (= 3.2.13)
47
+ activesupport (= 3.2.13)
23
48
  arel (~> 3.0.2)
24
49
  tzinfo (~> 0.3.29)
25
- activeresource (3.2.2)
26
- activemodel (= 3.2.2)
27
- activesupport (= 3.2.2)
28
- activesupport (3.2.2)
29
- i18n (~> 0.6)
50
+ activeresource (3.2.13)
51
+ activemodel (= 3.2.13)
52
+ activesupport (= 3.2.13)
53
+ activesupport (3.2.13)
54
+ i18n (= 0.6.1)
30
55
  multi_json (~> 1.0)
31
56
  arel (3.0.2)
32
- authlogic (3.1.0)
33
- activerecord (>= 3.0.7)
34
- activerecord (>= 3.0.7)
35
- builder (3.0.0)
36
- cancan (1.6.7)
57
+ authlogic (3.3.0)
58
+ activerecord (>= 3.2)
59
+ activesupport (>= 3.2)
60
+ builder (3.0.4)
61
+ cancan (1.6.9)
37
62
  erubis (2.7.0)
38
- fastercsv (1.5.5)
39
- hike (1.2.1)
40
- i18n (0.6.0)
41
- iq_rdf (0.1.5)
63
+ hike (1.2.2)
64
+ i18n (0.6.1)
65
+ iq_rdf (0.1.10)
66
+ activesupport
42
67
  builder
43
68
  bundler
44
- iqvoc (4.0.0)
45
- authlogic
46
- bundler
47
- cancan
48
- fastercsv
49
- iq_rdf (~> 0.1.2)
50
- json
51
- kaminari
52
- rails (~> 3.2.1)
53
- rails_autolink
54
- sass-rails (~> 3.2.5)
55
- simple_form
56
- iqvoc_skosxl (2.0.0)
57
- bundler
58
- iqvoc (~> 4.0.0)
59
- journey (1.0.3)
60
- json (1.6.5)
61
- kaminari (0.13.0)
69
+ iq_triplestorage (0.2.2)
70
+ journey (1.0.4)
71
+ json (1.7.7)
72
+ kaminari (0.14.1)
62
73
  actionpack (>= 3.0.0)
63
74
  activesupport (>= 3.0.0)
64
- railties (>= 3.0.0)
65
- mail (2.4.4)
75
+ mail (2.5.3)
66
76
  i18n (>= 0.4.0)
67
77
  mime-types (~> 1.16)
68
78
  treetop (~> 1.4.8)
69
- mime-types (1.17.2)
70
- multi_json (1.1.0)
79
+ mime-types (1.22)
80
+ multi_json (1.7.2)
71
81
  mysql2 (0.3.11)
72
82
  polyglot (0.3.3)
73
- rack (1.4.1)
83
+ rack (1.4.5)
74
84
  rack-cache (1.2)
75
85
  rack (>= 0.4)
76
- rack-ssl (1.3.2)
86
+ rack-ssl (1.3.3)
77
87
  rack
78
- rack-test (0.6.1)
88
+ rack-test (0.6.2)
79
89
  rack (>= 1.0)
80
- rails (3.2.2)
81
- actionmailer (= 3.2.2)
82
- actionpack (= 3.2.2)
83
- activerecord (= 3.2.2)
84
- activeresource (= 3.2.2)
85
- activesupport (= 3.2.2)
90
+ rails (3.2.13)
91
+ actionmailer (= 3.2.13)
92
+ actionpack (= 3.2.13)
93
+ activerecord (= 3.2.13)
94
+ activeresource (= 3.2.13)
95
+ activesupport (= 3.2.13)
86
96
  bundler (~> 1.0)
87
- railties (= 3.2.2)
97
+ railties (= 3.2.13)
88
98
  rails_autolink (1.0.9)
89
99
  rails (~> 3.1)
90
- railties (3.2.2)
91
- actionpack (= 3.2.2)
92
- activesupport (= 3.2.2)
100
+ railties (3.2.13)
101
+ actionpack (= 3.2.13)
102
+ activesupport (= 3.2.13)
93
103
  rack-ssl (~> 1.3.2)
94
104
  rake (>= 0.8.7)
95
105
  rdoc (~> 3.4)
96
- thor (~> 0.14.6)
97
- rake (0.9.2.2)
98
- rdoc (3.12)
106
+ thor (>= 0.14.6, < 2.0)
107
+ rake (10.0.4)
108
+ rdoc (3.12.2)
99
109
  json (~> 1.4)
100
- sass (3.1.19)
101
- sass-rails (3.2.5)
110
+ sass (3.2.7)
111
+ sass-rails (3.2.6)
102
112
  railties (~> 3.2.0)
103
113
  sass (>= 3.1.10)
104
114
  tilt (~> 1.3)
105
- simple_form (2.0.2)
115
+ simple_form (2.1.0)
106
116
  actionpack (~> 3.0)
107
117
  activemodel (~> 3.0)
108
- spork (0.9.0)
109
- spork-testunit (0.0.8)
110
- spork (>= 0.6.0)
111
- sprockets (2.1.2)
118
+ sprockets (2.2.2)
112
119
  hike (~> 1.2)
120
+ multi_json (~> 1.0)
113
121
  rack (~> 1.0)
114
122
  tilt (~> 1.1, != 1.3.0)
115
- sqlite3 (1.3.5)
116
- test-unit (2.4.8)
117
- thor (0.14.6)
118
- tilt (1.3.3)
119
- treetop (1.4.10)
123
+ sqlite3 (1.3.7)
124
+ thor (0.18.1)
125
+ tilt (1.3.7)
126
+ treetop (1.4.12)
120
127
  polyglot
121
128
  polyglot (>= 0.3.1)
122
- tzinfo (0.3.32)
129
+ tzinfo (0.3.37)
123
130
 
124
131
  PLATFORMS
125
132
  ruby
@@ -127,11 +134,8 @@ PLATFORMS
127
134
  DEPENDENCIES
128
135
  activerecord-jdbcmysql-adapter
129
136
  activerecord-jdbcsqlite3-adapter
130
- iqvoc (~> 4.0.0)
131
- iqvoc_skosxl (~> 2.0.0)
137
+ iqvoc!
138
+ iqvoc_skosxl!
132
139
  mysql2
133
- rails (~> 3.2.1)
134
- spork
135
- spork-testunit
140
+ rails (~> 3.2.13)
136
141
  sqlite3
137
- test-unit
File without changes
File without changes
@@ -15,9 +15,8 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.rubyforge_project = "iqvoc_inflectionals"
17
17
 
18
- s.add_dependency "rails", "~> 3.2.1"
19
- s.add_dependency "iqvoc", "~> 4.0.0"
20
- s.add_dependency "iqvoc_skosxl", "~> 2.0.0"
18
+ s.add_dependency "iqvoc", "~> 4.1.0"
19
+ s.add_dependency "iqvoc_skosxl", "~> 2.1.0"
21
20
 
22
21
  s.files = `git ls-files`.split("\n")
23
22
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -1,5 +1,5 @@
1
1
  module Iqvoc
2
2
  module Inflectionals
3
- VERSION = "2.0.3"
3
+ VERSION = "2.1.0"
4
4
  end
5
5
  end
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # Start virtual X frame buffer
4
+ system "sh -e /etc/init.d/xvfb start"
5
+ sleep 3
6
+
7
+ # Create a database.yml for the current database env
8
+ puts "Setting up database.yml for #{ENV["DB"]}"
9
+ system "cp config/database.yml.#{ENV["DB"]} config/database.yml"
10
+
11
+ # Generate and copy secret token initializer
12
+ secret = `bundle exec rake secret`.strip
13
+ path = File.join(File.dirname(__FILE__), '../../config/initializers/')
14
+ template = File.read(File.join(path, 'secret_token.rb.template'))
15
+
16
+ template.gsub!('S-E-C-R-E-T', secret)
17
+ File.open(File.join(path, 'secret_token.rb'), 'w') do |file|
18
+ file.puts template
19
+ end
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env sh
2
+
3
+ set -e
4
+ set -x
5
+
6
+ env="RAILS_ENV=test"
7
+
8
+ export DISPLAY=:99.0
9
+ bundle exec rake db:drop db:create db:migrate $env
10
+ bundle exec rake test $env
data/test/test_helper.rb CHANGED
@@ -1,10 +1,3 @@
1
- require 'spork'
2
-
3
- Spork.prefork do
4
- ENV["RAILS_ENV"] = "test"
5
- require File.expand_path('../../config/environment', __FILE__)
6
- require 'rails/test_help'
7
- end
8
-
9
- Spork.each_run do
10
- end
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iqvoc_inflectionals
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
5
- prerelease:
4
+ version: 2.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Robert Glaser
@@ -11,56 +10,36 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-11-20 00:00:00.000000000 Z
13
+ date: 2013-04-17 00:00:00.000000000 Z
15
14
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: rails
18
- requirement: !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ~>
22
- - !ruby/object:Gem::Version
23
- version: 3.2.1
24
- type: :runtime
25
- prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
- requirements:
29
- - - ~>
30
- - !ruby/object:Gem::Version
31
- version: 3.2.1
32
15
  - !ruby/object:Gem::Dependency
33
16
  name: iqvoc
34
17
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
18
  requirements:
37
19
  - - ~>
38
20
  - !ruby/object:Gem::Version
39
- version: 4.0.0
21
+ version: 4.1.0
40
22
  type: :runtime
41
23
  prerelease: false
42
24
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
25
  requirements:
45
26
  - - ~>
46
27
  - !ruby/object:Gem::Version
47
- version: 4.0.0
28
+ version: 4.1.0
48
29
  - !ruby/object:Gem::Dependency
49
30
  name: iqvoc_skosxl
50
31
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
32
  requirements:
53
33
  - - ~>
54
34
  - !ruby/object:Gem::Version
55
- version: 2.0.0
35
+ version: 2.1.0
56
36
  type: :runtime
57
37
  prerelease: false
58
38
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
39
  requirements:
61
40
  - - ~>
62
41
  - !ruby/object:Gem::Version
63
- version: 2.0.0
42
+ version: 2.1.0
64
43
  description: ''
65
44
  email:
66
45
  - robert.glaser@innoq.com
@@ -81,9 +60,9 @@ files:
81
60
  - config.ru
82
61
  - config/application.rb
83
62
  - config/boot.rb
84
- - config/database.mysql.yml
85
- - config/database.sqlite.yml
86
63
  - config/database.template.yml
64
+ - config/database.yml.mysql
65
+ - config/database.yml.sqlite
87
66
  - config/engine.rb
88
67
  - config/environment.rb
89
68
  - config/environments/development.rb
@@ -109,33 +88,33 @@ files:
109
88
  - lib/iqvoc/inflectionals/version.rb
110
89
  - lib/iqvoc_inflectionals.rb
111
90
  - public/.gitkeep
112
- - script/ci/travis_before_build.rb
91
+ - script/ci/travis-before-build
92
+ - script/ci/travis-build
113
93
  - script/rails
114
94
  - test/test_helper.rb
115
95
  - test/unit/inflectional_test.rb
116
96
  homepage: ''
117
97
  licenses: []
98
+ metadata: {}
118
99
  post_install_message:
119
100
  rdoc_options: []
120
101
  require_paths:
121
102
  - lib
122
103
  required_ruby_version: !ruby/object:Gem::Requirement
123
- none: false
124
104
  requirements:
125
- - - ! '>='
105
+ - - '>='
126
106
  - !ruby/object:Gem::Version
127
107
  version: '0'
128
108
  required_rubygems_version: !ruby/object:Gem::Requirement
129
- none: false
130
109
  requirements:
131
- - - ! '>='
110
+ - - '>='
132
111
  - !ruby/object:Gem::Version
133
112
  version: '0'
134
113
  requirements: []
135
114
  rubyforge_project: iqvoc_inflectionals
136
- rubygems_version: 1.8.23
115
+ rubygems_version: 2.0.0
137
116
  signing_key:
138
- specification_version: 3
117
+ specification_version: 4
139
118
  summary: ''
140
119
  test_files:
141
120
  - test/test_helper.rb
@@ -1 +0,0 @@
1
- system "cp config/database.#{ENV['DB']}.yml config/database.yml"