ulticoder 0.0.1alpha → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODM2Yjg3ZDkzM2Y4ODhiYjhkZjRkOTgyY2NlNDQzZWNhMzIyMDMzZQ==
4
+ ZTI5ZTRhMjM2Yzk3ZDdhZGY4Y2MxMGU0OWRhOTc5NjE3ZmJjMDRkNg==
5
5
  data.tar.gz: !binary |-
6
- MDlhNTViMjYzYTQ2NWFhYmRmMTk3N2UzYWY0YTcwYzhmZjE4NTY4Yw==
6
+ MzU4ODNkNWJhNjg3ZmI5ODFiMzFmM2UxODk1NTFmNzYzMDgxODQ2Yw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjMwYzIxZDY4ZDc1NzJmY2Y0ZTA4M2JlODdjMmMwODYyMjU0MGVhZWViMTY3
10
- YmI3NWU5ZTk1OTM4NjNmZTZlMTE2N2U2NWVlMGViNmVjNjA1NGI0ODQ4YTk4
11
- ZDFjOWRmNWEyN2E0YTFlNjRkMTI1MGM1Nzc3NjUyNWJmNjI1NTQ=
9
+ YTQ5OGVlYjE4Nzc1MzRhZGJmNDE2YzM0MDNjNTNhOTgxNTZmM2U1YTdlY2Fm
10
+ ODA5YmE5MWU1ODY2ZTEzNjc0ZmYxMjZjNDU2MWE1YTgwN2UzNTJmNGUxNGQx
11
+ YjljOThmMTJmMjc2NGNmMmZkOGRlOGJjMmY2YzIzYzkxZTIxMzE=
12
12
  data.tar.gz: !binary |-
13
- MTU0MWYyZTJlNTNkOTI1MGQxMTM3OGNiMTk5Nzc2ZTkyYTkyODBlNDE0YmU0
14
- NDdhNGU0ZDY5MDliNTkxZWQ2YTQ2MjAwYmI4ZTJkNjc4MDQ3MWE5OTM4YmFl
15
- MjMzZDQwY2UwYWMyYjRjNDkzNGFjYmVlOWY0ZmVkOTYxM2Y5OTM=
13
+ YTBjY2U5YTU2NDBlN2FhYTRjZWQ1OGRjYzRmMjcyYTljOGQ1YWU4MmJlMTQ5
14
+ MjNlNTdjMGNjZjU5NzkwYTFlNmU5NGQ3ZmY4NjRlMmM4Zjk1YzA2MDY3ZTAw
15
+ ZWM3NGEwMGM1ZTJhYzM1NWI1YzNkOWU3NjBjN2YxZWQ3YzI0ZmY=
data/.gitignore CHANGED
@@ -15,3 +15,5 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .idea/runConfigurations/Cucumber.xml
19
+ .idea/runConfigurations/RSpec.xml
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ ulticoder
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build ulticoder-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ulticoder-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push ulticoder-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="CssXFireSettings">
4
+ <general autoClear="false" autoExpand="false" />
5
+ <strategy useRoutes="false" mediaReduce="false" fileReduce="false" currentDocumentsReduce="false" resolveVariables="true" resolveMixins="true" />
6
+ <routes />
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-1.9.3-p392" project-jdk-type="RUBY_SDK" />
4
+ </project>
5
+
data/.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/ulticoder.iml" filepath="$PROJECT_DIR$/.idea/ulticoder.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
7
+
data/.travis.yml ADDED
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ # uncomment this line if your project needs to run something other than `rake`:
5
+ script: bundle exec rspec spec
6
+
7
+ before_install:
8
+ - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
9
+ - echo -e "Host heroku.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## 0.0.1
2
+
3
+ * initial release
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source 'https://rubygems.org'
2
-
3
- gem 'ruby-geonames', git: "git@github.com:mauidude/ruby-geonames.git", branch: "master"
4
-
5
2
  # Specify your gem's dependencies in ulticoder.gemspec
6
3
  gemspec
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Ulticoder
2
2
 
3
+ [![Build Status](https://travis-ci.org/klangfeld/ulticoder.png?branch=master)](https://travis-ci.org/klangfeld/ulticoder)
4
+ [![Dependency Status](https://gemnasium.com/klangfeld/ulticoder.png)](https://gemnasium.com/klangfeld/ulticoder)
5
+
3
6
  TODO: Write a gem description
4
7
 
5
8
  ## Installation
@@ -0,0 +1,13 @@
1
+ require 'bundler'
2
+ begin
3
+ Bundler.setup(:default, :development)
4
+ rescue Bundler::BundlerError => e
5
+ $stderr.puts e.message
6
+ $stderr.puts "Run `bundle install` to install missing gems"
7
+ exit e.status_code
8
+ end
9
+
10
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
11
+ require 'ulticoder'
12
+
13
+ require 'rspec/expectations'
data/lib/ulticoder.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  require "ulticoder/version"
2
-
3
- require 'ulticoder/geo_chain'
4
- require 'ulticoder/placer'
2
+ require 'ulticoder/railtie' if defined?(Rails::Railtie)
5
3
 
6
4
  module Ulticoder
7
- # Your code goes here...
5
+
8
6
  end
@@ -0,0 +1,8 @@
1
+ require 'ulticoder/view_helpers'
2
+ module Ulticoder
3
+ class Railtie < Rails::Railtie
4
+ initializer "ulticoder.view_helpers" do
5
+ ActionView::Base.send :include, ViewHelpers
6
+ end
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Ulticoder
2
- VERSION = "0.0.1alpha"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,4 @@
1
+ module Ulticoder
2
+ module ViewHelpers
3
+ end
4
+ end
@@ -16,10 +16,4 @@ describe 'GeoDecoder' do
16
16
  country = result.address_components[0]['long_name']
17
17
  country.should == "United States"
18
18
  end
19
-
20
- it 'should list all cities of given Region' do
21
- region = Geocoder.search("Österreich").first
22
- cities = Ulticoder::GeoChain.list_all_regions(region)
23
-
24
- end
25
19
  end
@@ -0,0 +1,20 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'ulticoder'
5
+
6
+ # load Helper files
7
+ Dir.glob(File.join(".", "spec", "support", "**", "*.rb")) {|f| require f }
8
+
9
+ RSpec.configure do |config|
10
+ config.treat_symbols_as_metadata_keys_with_true_values = true
11
+ config.run_all_when_everything_filtered = true
12
+ config.filter_run :focus
13
+ config.mock_with :rspec
14
+ #config.include Macros
15
+ # Run specs in random order to surface order dependencies. If you find an
16
+ # order dependency and want to debug it, you can fix the order by providing
17
+ # the seed, which is printed after each run.
18
+ # --seed 1234
19
+ config.order = 'random'
20
+ end
data/ulticoder.gemspec CHANGED
@@ -18,9 +18,13 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_dependency 'geocoder'
21
- spec.add_dependency 'ruby-geonames'
21
+ spec.add_dependency 'geonames'
22
22
 
23
23
  spec.add_development_dependency "rspec", ">= 2.0.0"
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
25
25
  spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "cucumber"
27
+ spec.add_development_dependency "guard"
28
+ spec.add_development_dependency "guard-rspec"
29
+ spec.add_development_dependency "guard-cucumber"
26
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ulticoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1alpha
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Jezek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-21 00:00:00.000000000 Z
11
+ date: 2013-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: geocoder
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: ruby-geonames
28
+ name: geonames
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ! '>='
@@ -80,6 +80,62 @@ dependencies:
80
80
  - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: cucumber
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-cucumber
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
83
139
  description: ''
84
140
  email:
85
141
  - mail@mediatainment-productions.com
@@ -89,8 +145,28 @@ extra_rdoc_files: []
89
145
  files:
90
146
  - !binary |-
91
147
  LmdpdGlnbm9yZQ==
148
+ - !binary |-
149
+ LmlkZWEvLm5hbWU=
150
+ - !binary |-
151
+ LmlkZWEvLnJha2VUYXNrcw==
152
+ - !binary |-
153
+ LmlkZWEvY3NzeGZpcmUueG1s
154
+ - !binary |-
155
+ LmlkZWEvZW5jb2RpbmdzLnhtbA==
156
+ - !binary |-
157
+ LmlkZWEvbWlzYy54bWw=
158
+ - !binary |-
159
+ LmlkZWEvbW9kdWxlcy54bWw=
160
+ - !binary |-
161
+ LmlkZWEvc2NvcGVzL3Njb3BlX3NldHRpbmdzLnhtbA==
162
+ - !binary |-
163
+ LmlkZWEvdmNzLnhtbA==
92
164
  - !binary |-
93
165
  LnJzcGVj
166
+ - !binary |-
167
+ LnRyYXZpcy55bWw=
168
+ - !binary |-
169
+ Q0hBTkdFTE9HLm1k
94
170
  - !binary |-
95
171
  R2VtZmlsZQ==
96
172
  - !binary |-
@@ -100,15 +176,19 @@ files:
100
176
  - !binary |-
101
177
  UmFrZWZpbGU=
102
178
  - !binary |-
103
- bGliL3VsdGljb2Rlci5yYg==
179
+ ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
104
180
  - !binary |-
105
- bGliL3VsdGljb2Rlci9nZW9fY2hhaW4ucmI=
181
+ bGliL3VsdGljb2Rlci5yYg==
106
182
  - !binary |-
107
- bGliL3VsdGljb2Rlci9wbGFjZXIucmI=
183
+ bGliL3VsdGljb2Rlci9yYWlsdGllLnJi
108
184
  - !binary |-
109
185
  bGliL3VsdGljb2Rlci92ZXJzaW9uLnJi
186
+ - !binary |-
187
+ bGliL3VsdGljb2Rlci92aWV3X2hlbHBlcnMucmI=
110
188
  - !binary |-
111
189
  c3BlYy9nZW9kZWNvZGVyX3NwZWMucmI=
190
+ - !binary |-
191
+ c3BlYy9zcGVjX2hlbHBlci5yYg==
112
192
  - !binary |-
113
193
  dWx0aWNvZGVyLmdlbXNwZWM=
114
194
  homepage: http://www.github.com/klangfeld/ulticoder
@@ -126,9 +206,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
206
  version: '0'
127
207
  required_rubygems_version: !ruby/object:Gem::Requirement
128
208
  requirements:
129
- - - ! '>'
209
+ - - ! '>='
130
210
  - !ruby/object:Gem::Version
131
- version: 1.3.1
211
+ version: '0'
132
212
  requirements: []
133
213
  rubyforge_project:
134
214
  rubygems_version: 2.0.3
@@ -136,5 +216,10 @@ signing_key:
136
216
  specification_version: 4
137
217
  summary: Aggregation and expansion of geocoder and geonames gem
138
218
  test_files:
219
+ - !binary |-
220
+ ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
139
221
  - !binary |-
140
222
  c3BlYy9nZW9kZWNvZGVyX3NwZWMucmI=
223
+ - !binary |-
224
+ c3BlYy9zcGVjX2hlbHBlci5yYg==
225
+ has_rdoc:
@@ -1,15 +0,0 @@
1
- module Ulticoder
2
-
3
- # This class is used to chain Political Areas (United States, EU,... ) to countries,
4
- # countries to regions, regions to cities,
5
- # Also to find cities on a given country (bypassing the region step for example)
6
- # Serves helper files for autocomplete
7
-
8
- class GeoChain
9
-
10
- def list_of_regions(country)
11
-
12
- end
13
-
14
- end
15
- end
@@ -1,5 +0,0 @@
1
- module Ulticoder
2
- class Placer
3
-
4
- end
5
- end