Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
+ license put to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
paiv committed Mar 26, 2012
1 parent 25e3c43 commit 63ce168
Show file tree
Hide file tree
Showing 12 changed files with 154 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
14 changes: 14 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'rake'

gemspec = eval(File.read(Dir['*.gemspec'].first))
Expand Down
14 changes: 14 additions & 0 deletions lib/smartling.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'smartling/version'
require 'smartling/fileapi'

14 changes: 14 additions & 0 deletions lib/smartling/api.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'rest-client'
require 'multi_json'
require 'smartling/uri'
Expand Down
14 changes: 14 additions & 0 deletions lib/smartling/fileapi.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'smartling/api'

module Smartling
Expand Down
13 changes: 13 additions & 0 deletions lib/smartling/uri.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module Smartling
class Uri
Expand Down
14 changes: 14 additions & 0 deletions lib/smartling/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module Smartling
# This follows Semantic Versioning http://semver.org/
VERSION = '0.3'
Expand Down
14 changes: 14 additions & 0 deletions samples/file_api.rb
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#!/usr/bin/ruby
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'rubygems'
require 'smartling'

Expand Down
14 changes: 14 additions & 0 deletions smartling.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'rubygems'
require File.expand_path('../lib/smartling/version', __FILE__)

Expand Down
14 changes: 14 additions & 0 deletions tests/api_test.rb
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#!/usr/bin/ruby
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'tests/test_helper'

module SmartlingTests
Expand Down
14 changes: 14 additions & 0 deletions tests/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

$:.unshift File.expand_path('../../lib', __FILE__)
require 'rubygems'
require 'test/unit'
Expand Down
14 changes: 14 additions & 0 deletions tests/uri_test.rb
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#!/usr/bin/ruby
# Copyright 2012 Smartling, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'tests/test_helper.rb'

module SmartlingTests
Expand Down

0 comments on commit 63ce168

Please sign in to comment.